Skip to content

Commit 6987cf5

Browse files
committed
improve binning for eff
1 parent 87a7b82 commit 6987cf5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

PWGCF/EbyEFluctuations/Tasks/radialFlowDecorr.cxx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -854,11 +854,17 @@ struct RadialFlowDecorr {
854854
void init(InitContext&)
855855
{
856856
if (cfgSys == 1) {
857-
nChAxis = {cfgNchPbMax / 5, KBinOffset, cfgNchPbMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};
858-
nChAxis2 = {cfgNchPbMax / 100, KBinOffset, cfgNchPbMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};
857+
std::vector<double> binsPbPb = {0, 50, 100, 200, 300, 500, 750, 1000, 1500, 2000, 2500, 3000, 3500, 4000};
858+
nChAxis = {cfgNchPbMax / 10, KBinOffset, cfgNchPbMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};
859+
nChAxis2 = {binsPbPb, "Nch", "PV-contributor track multiplicity"};
860+
} else if (cfgSys == 2 || cfgSys == 3) {
861+
std::vector<double> binsOO = {0, 50, 100, 150, 200, 250, 300, 350, 400, 600};
862+
nChAxis = {cfgNchOMax / 4, KBinOffset, cfgNchOMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};
863+
nChAxis2 = {binsOO, "Nch", "PV-contributor track multiplicity"};
859864
} else {
860-
nChAxis = {cfgNchOMax / 10, KBinOffset, cfgNchOMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};
861-
nChAxis2 = {cfgNchOMax / 30, KBinOffset, cfgNchOMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};
865+
std::vector<double> binsPP = {0, 20, 40, 80, 150, 300};
866+
nChAxis = {cfgNchOMax / 3, KBinOffset, cfgNchOMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};
867+
nChAxis2 = {binsPP, "Nch", "PV-contributor track multiplicity"};
862868
}
863869

864870
ccdb->setURL(cfgCCDBurl.value);

0 commit comments

Comments
 (0)