Skip to content

Commit 0634f13

Browse files
authored
Add files via upload
1 parent 3410e9c commit 0634f13

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

PWGCF/Flow/Tasks/flowGfwOmegaXi.cxx

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ struct FlowGfwOmegaXi {
187187
O2_DEFINE_CONFIGURABLE(cfgDoIsGoodITSLayersAll, bool, true, "check kIsGoodITSLayersAll")
188188
O2_DEFINE_CONFIGURABLE(cfgCutOccupancyHigh, int, 500, "High cut on TPC occupancy")
189189
O2_DEFINE_CONFIGURABLE(cfgDoZResAndNumContribCut, bool, true, "check kNoTimeFrameBorder")
190-
O2_DEFINE_CONFIGURABLE(cfgDoMultPVCut, bool, true, "do multNTracksPV vs cent cut")
190+
O2_DEFINE_CONFIGURABLE(cfgDoMultPVCut, bool, false, "do multNTracksPV vs cent cut")
191+
O2_DEFINE_CONFIGURABLE(cfgDoMultTPCCut, bool, false, "do multNTracksTPC vs cent cut")
191192
O2_DEFINE_CONFIGURABLE(cfgMultPVCut, std::vector<float>, (std::vector<float>{3074.43, -106.192, 1.46176, -0.00968364, 2.61923e-05, 182.128, -7.43492, 0.193901, -0.00256715, 1.22594e-05}), "Used MultPVCut function parameter")
192193
O2_DEFINE_CONFIGURABLE(cfgDoV0AT0Acut, bool, true, "do V0A-T0A cut")
193194
O2_DEFINE_CONFIGURABLE(cfgCutminIR, float, -1, "cut min IR")
@@ -396,7 +397,7 @@ struct FlowGfwOmegaXi {
396397
registry.add("hEta", "", {HistType::kTH1D, {cfgaxisEta}});
397398
registry.add("hVtxZ", "", {HistType::kTH1D, {cfgaxisVertex}});
398399
registry.add("hMult", "", {HistType::kTH1D, {cfgaxisNch}});
399-
registry.add("hMultTPC", "", {HistType::kTH1D, {cfgaxisNch}});
400+
registry.add("hCentvsMultTPC", "", {HistType::kTH2D, {{100, 0, 100}, cfgaxisNch}});
400401
registry.add("hCent", "", {HistType::kTH1D, {{90, 0, 90}}});
401402
registry.add("hNTracksPVvsCentrality", "", {HistType::kTH2D, {{5000, 0, 5000}, {100, 0, 100}}});
402403
registry.add("hmultFV0AvsmultFT0A", "", {HistType::kTH2D, {{5000, 0, 5000}, {5000, 0, 5000}}});
@@ -449,7 +450,7 @@ struct FlowGfwOmegaXi {
449450
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(7, "after kIsGoodZvtxFT0vsPV");
450451
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(8, "after kNoCollInTimeRangeStandard");
451452
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(9, "after kIsGoodITSLayersAll");
452-
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(10, "after MultPVCut");
453+
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(10, "after MultvsCentCut");
453454
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(11, "after TPC occupancy cut");
454455
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(12, "after V0AT0Acut");
455456
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(13, "after IRmincut");
@@ -1062,6 +1063,15 @@ struct FlowGfwOmegaXi {
10621063
return false;
10631064
}
10641065

1066+
int nMultTPC = collision.multTPC();
1067+
registry.fill(HIST("hCentvsMultTPC"), centrality, nMultTPC);
1068+
if (evtSeleOpts.cfgDoMultTPCCut.value) {
1069+
if (nMultTPC < fMultPVCutLow->Eval(centrality))
1070+
return false;
1071+
if (nMultTPC > fMultPVCutLow->Eval(centrality))
1072+
return false;
1073+
}
1074+
10651075
registry.fill(HIST("hEventCount"), 9.5);
10661076

10671077
if (occupancy > evtSeleOpts.cfgCutOccupancyHigh.value)
@@ -1092,7 +1102,7 @@ struct FlowGfwOmegaXi {
10921102
{
10931103
o2::aod::ITSResponse itsResponse;
10941104
int nTot = tracks.size();
1095-
float nMultTPC = collision.multTPC();
1105+
int nMultTPC = collision.multTPC();
10961106
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
10971107
int runNumber = bc.runNumber();
10981108
double interactionRate = rateFetcher.fetch(ccdb.service, bc.timestamp(), runNumber, "ZNC hadronic") * 1.e-3;
@@ -1128,7 +1138,6 @@ struct FlowGfwOmegaXi {
11281138
float vtxz = collision.posZ();
11291139
registry.fill(HIST("hVtxZ"), vtxz);
11301140
registry.fill(HIST("hMult"), nTot);
1131-
registry.fill(HIST("hMultTPC"), nMultTPC);
11321141
registry.fill(HIST("hCent"), cent);
11331142

11341143
float weff = 1;

0 commit comments

Comments
 (0)