Skip to content

Commit

Permalink
ALIROOT-5664 Always call fDigitsManager->BuildIndexes in AliTRDcluste…
Browse files Browse the repository at this point in the history
…rizer::MakeClusters, reset recpoints in AliTRDReconstructor::Reconstruct for MC
  • Loading branch information
shahor02 authored and hristov committed Oct 17, 2014
1 parent c5cbe2e commit 0d6ce86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions TRD/AliTRDReconstructor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ void AliTRDReconstructor::Reconstruct(TTree *digitsTree
fClusterizer->SetUseLabels(kTRUE);
fClusterizer->SetStoreRawSignals(kTRUE);
fClusterizer->OpenOutput(clusterTree);
fClusterizer->ResetRecPoints();
fClusterizer->ReadDigits(digitsTree);
fClusterizer->ReadTracklets();
fClusterizer->ReadTracks();
Expand Down
6 changes: 3 additions & 3 deletions TRD/AliTRDclusterizer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,9 @@ Bool_t AliTRDclusterizer::MakeClusters()
digitsIn->Expand();
digitsIn->DeleteNegatives(); // Restore digits array to >=0 values
AliTRDSignalIndex* indexes = fDigitsManager->GetIndexes(i);
if (indexes->IsAllocated() == kFALSE){
fDigitsManager->BuildIndexes(i);
}
// if (indexes->IsAllocated() == kFALSE){ // A.B.
fDigitsManager->BuildIndexes(i);
// }

Bool_t fR(kFALSE);
if (indexes->HasEntry()){
Expand Down

0 comments on commit 0d6ce86

Please sign in to comment.