Skip to content

Commit 2f73e5e

Browse files
committed
fixing bug for efficiency correction
1 parent 6652328 commit 2f73e5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PWGCF/JCorran/Tasks/jEPFlowAnalysis.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ struct jEPFlowAnalysis {
170170
effVars[1] = eff->GetAxis(1)->FindBin(pt);
171171
effVars[2] = eff->GetAxis(2)->FindBin(multiplicity);
172172
effVars[3] = eff->GetAxis(3)->FindBin(posZ);
173-
LOGF(info, "etabin: %d, ptbin: %d, centbin: %d, poszbin: %d", effVars[0], effVars[1], effVars[2], effVars[3]);
174173

175174
return eff->GetBinContent(effVars);
176175
}
@@ -256,7 +255,7 @@ struct jEPFlowAnalysis {
256255
auto bc = coll.bc_as<aod::BCsWithTimestamps>();
257256
currentRunNumber = bc.runNumber();
258257
if (currentRunNumber != lastRunNumber) {
259-
effMap.clear();
258+
effMap->clear();
260259
effMap = ccdb->getForTimeStamp<THnT<float>>(cfgEffCorDir, bc.timestamp());
261260
lastRunNumber = currentRunNumber;
262261
}

0 commit comments

Comments
 (0)