Skip to content

Commit

Permalink
Missing settings for altro clock fix (#1106) (#1107)
Browse files Browse the repository at this point in the history
Previous patch was working for clusters produced in the reconstruction, but was failing
when clusters were extracted beforehand

Co-authored-by: Ruben Shahoyan <[email protected]>
  • Loading branch information
chiarazampolli and shahor02 authored Feb 5, 2020
1 parent 520c815 commit 07ade5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions TPC/TPCrec/AliTPCclusterer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ void AliTPCclusterer::ProcessSectorData(){
Double_t x[]={static_cast<Double_t>(iRow),static_cast<Double_t>(iPad-3),static_cast<Double_t>(iTimeBin-3)};
Int_t i[]={fSector};
AliTPCTransform trafo;
trafo.AccountCurrentBC( fBunchCrossNumber );
trafo.Transform(x,i,0,1);
Double_t gx[3]={x[0],x[1],x[2]};
trafo.RotatedGlobal2Global(fSector,gx);
Expand Down
3 changes: 3 additions & 0 deletions TPC/TPCrec/AliTPCtracker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1549,6 +1549,7 @@ Int_t AliTPCtracker::LoadClusters(const TClonesArray *arr)
transform->SetCurrentRecoParam((AliTPCRecoParam*)AliTPCReconstructor::GetRecoParam());
transform->SetCurrentTimeStamp( GetTimeStamp());
transform->SetCurrentRun( GetRunNumber() );
transform->AccountCurrentBC( GetBunchCrossNumber() );
//
AliTPCclusterMI *clust=0;
Int_t count[72][96] = { {0} , {0} };
Expand Down Expand Up @@ -1613,6 +1614,7 @@ Int_t AliTPCtracker::LoadClusters()
transform->SetCurrentRecoParam((AliTPCRecoParam*)AliTPCReconstructor::GetRecoParam());
transform->SetCurrentTimeStamp( GetTimeStamp());
transform->SetCurrentRun( GetRunNumber() );
transform->AccountCurrentBC( GetBunchCrossNumber() );

// TTree * tree = fClustersArray.GetTree();
AliInfo("LoadClusters()\n");
Expand Down Expand Up @@ -8484,6 +8486,7 @@ Int_t AliTPCtracker::Clusters2TracksHLT (AliESDEvent *const esd, const AliESDEve
transform->SetCurrentRecoParam((AliTPCRecoParam*)AliTPCReconstructor::GetRecoParam());
transform->SetCurrentTimeStamp( GetTimeStamp());
transform->SetCurrentRun( GetRunNumber());
transform->AccountCurrentBC( GetBunchCrossNumber() );

//transform->SetCurrentTimeStamp( esd->GetTimeStamp());
//transform->SetCurrentRun(esd->GetRunNumber());
Expand Down

0 comments on commit 07ade5a

Please sign in to comment.