Skip to content

Commit

Permalink
NTimeBinsDCS was not cached in case of MC clusterization
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed May 12, 2015
1 parent 825d89e commit 25f6b99
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TRD/TRDbase/AliTRDclusterizer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,13 @@ Bool_t AliTRDclusterizer::MakeClusters(Int_t det)
AliFatal("No AliTRDcalibDB instance available\n");
return kFALSE;
}

if (fTimeBinsDCS==-999 || fRun!=(int)calibration->GetRun()) {
fRun = calibration->GetRun();
fTimeBinsDCS = calibration->GetNumberOfTimeBinsDCS();
AliInfoF("Set number of DCS time bins to %d for run %d",fTimeBinsDCS,fRun);
}


if (!fReconstructor){
AliError("Reconstructor not set\n");
Expand Down

0 comments on commit 25f6b99

Please sign in to comment.