Skip to content

Commit 535544a

Browse files
committed
[PWGCF] Add more graph with different weight
1 parent 46d4536 commit 535544a

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

PWGCF/Flow/Tasks/pidFlowPtCorr.cxx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,8 @@ struct PidFlowPtCorr {
557557
oba4Ch->Add(new TNamed("hMeanPtWeightOne", "hMeanPtWeightOne"));
558558
oba4Ch->Add(new TNamed("ptAveWeightOne", "ptAveWeightOne"));
559559
oba4Ch->Add(new TNamed("ptSquareAveWeightOne", "ptSquareAveWeightOne"));
560+
561+
oba4Ch->Add(new TNamed("hMeanPtWeightFull", "hMeanPtWeightFull"));
560562
// end fill TObjArray for charged
561563

562564
// init fFCCh
@@ -572,6 +574,8 @@ struct PidFlowPtCorr {
572574
oba4PID->Add(new TNamed("covV2PtPID", "covV2PtPID"));
573575
oba4PID->Add(new TNamed("c22TrackWeightPID", "c22TrackWeightPID"));
574576

577+
oba4PID->Add(new TNamed("hMeanPtWeightCharged", "hMeanPtWeightCharged"));
578+
575579
fFCPi->SetName("FlowContainerPi");
576580
fFCPi->Initialize(oba4PID, axisMultiplicity, cfgFlowNbootstrap);
577581

@@ -1082,6 +1086,8 @@ struct PidFlowPtCorr {
10821086

10831087
registry.fill(HIST("meanptCentNbs/hCharged"), ptSum / nch, cent, rndm * cfgFlowNbootstrap, val, nch * dnx);
10841088
registry.fill(HIST("meanptCentNbs/hChargedMeanpt"), ptSum / nch, cent, rndm * cfgFlowNbootstrap, ptSum / nch, 1.);
1089+
1090+
fFCCh->FillProfile("hMeanPtWeightFull", cent, (ptSum / nch), nch * dnx, rndm);
10851091
}
10861092

10871093
/**
@@ -1124,6 +1130,9 @@ struct PidFlowPtCorr {
11241130
registry.fill(HIST("meanptCentNbs/hChargedPionWithNpair"), pidPtSum / nPid, cent, rndm * cfgFlowNbootstrap, val, dnx);
11251131
registry.fill(HIST("meanptCentNbs/hPionMeanpt"), pidPtSum / nPid, cent, rndm * cfgFlowNbootstrap, pidPtSum / nPid, 1.);
11261132

1133+
fFCPi->FillProfile("hMeanPtWeightFull", cent, (pidPtSum / nPid), nPid * npairPid, rndm);
1134+
fFCPi->FillProfile("hMeanPtWeightCharged", cent, (pidPtSum / nPid), dnx * nPid, rndm);
1135+
11271136
if (switchsOpts.cfgClosureTest.value != 0) {
11281137
double npair4c22pure = fGFW->Calculate(corrconfigs.at(29), 0, true).real();
11291138
if (npair4c22pure > minVal4Float)
@@ -1159,6 +1168,9 @@ struct PidFlowPtCorr {
11591168
registry.fill(HIST("meanptCentNbs/hChargedKaonWithNpair"), pidPtSum / nPid, cent, rndm * cfgFlowNbootstrap, val, dnx);
11601169
registry.fill(HIST("meanptCentNbs/hKaonMeanpt"), pidPtSum / nPid, cent, rndm * cfgFlowNbootstrap, pidPtSum / nPid, 1.);
11611170

1171+
fFCKa->FillProfile("hMeanPtWeightFull", cent, (pidPtSum / nPid), nPid * npairPid, rndm);
1172+
fFCKa->FillProfile("hMeanPtWeightCharged", cent, (pidPtSum / nPid), dnx * nPid, rndm);
1173+
11621174
break;
11631175
// end kaon
11641176

@@ -1176,6 +1188,9 @@ struct PidFlowPtCorr {
11761188
registry.fill(HIST("meanptCentNbs/hChargedProtonWithNpair"), pidPtSum / nPid, cent, rndm * cfgFlowNbootstrap, val, dnx);
11771189
registry.fill(HIST("meanptCentNbs/hProtonMeanpt"), pidPtSum / nPid, cent, rndm * cfgFlowNbootstrap, pidPtSum / nPid, 1.);
11781190

1191+
fFCPr->FillProfile("hMeanPtWeightFull", cent, (pidPtSum / nPid), nPid * npairPid, rndm);
1192+
fFCPr->FillProfile("hMeanPtWeightCharged", cent, (pidPtSum / nPid), dnx * nPid, rndm);
1193+
11791194
break;
11801195
// end proton
11811196

0 commit comments

Comments
 (0)