Skip to content

Commit 62dd538

Browse files
committed
Missing call to initCCDB
1 parent 383b2c9 commit 62dd538

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

PWGLF/TableProducer/zdcSP.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct zdcSP {
8383
return collision.sel8() && collision.centFT0C() < cfgCalibrationMaxCentFT0C && gRandom->Uniform() < cfgCalibrationDownscaling;
8484
}
8585

86-
void initCCDB(aod::BCsWithTimestamps::iterator const& bc)
86+
void initCCDB(BCsRun3::iterator const& bc)
8787
{
8888
if (mRunNumber == bc.runNumber()) {
8989
return;
@@ -125,6 +125,7 @@ struct zdcSP {
125125
if (!bc.has_zdc()) {
126126
return;
127127
}
128+
initCCDB(bc);
128129
double hadronicRate = mRateFetcher.fetch(ccdb.service, bc.timestamp(), mRunNumber, "ZNC hadronic") * 1.e-3; //
129130
auto zdc = bc.zdc();
130131
auto zncEnergy = zdc.energySectorZNC();

0 commit comments

Comments
 (0)