Skip to content

Commit 2c84680

Browse files
committed
change TH2D to TProfile2D
1 parent 04bcbeb commit 2c84680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGCF/Flow/Tasks/flowSP.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ struct FlowSP {
190190
TProfile* hcorrQQy = nullptr;
191191
TProfile* hEvPlaneRes = nullptr;
192192
TH1D* hCentrality = nullptr;
193-
TH2D* hMeanPt = nullptr;
193+
TProfile2D* hMeanPt = nullptr;
194194

195195
bool clQQ = false;
196196
bool clEvPlaneRes = false;
@@ -1378,7 +1378,7 @@ struct FlowSP {
13781378
spm.meanPtWeight = 1.0;
13791379
if (cfgCCDBdir_meanPt.value.empty() == false) {
13801380
if (!cfg.clMeanPt) {
1381-
cfg.hMeanPt = ccdb->getForTimeStamp<TH2D>(cfgCCDBdir_meanPt.value, bc.timestamp());
1381+
cfg.hMeanPt = ccdb->getForTimeStamp<TProfile2D>(cfgCCDBdir_meanPt.value, bc.timestamp());
13821382
cfg.clMeanPt = true;
13831383
}
13841384
int etaBin = cfg.hMeanPt->GetXaxis()->FindBin(track.eta());

0 commit comments

Comments
 (0)