Skip to content

Commit b594b97

Browse files
authored
[PWGLF] add ITS Ncluster configurable (#10517)
1 parent 3d68edb commit b594b97

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ struct he3HadCandidate {
138138
uint32_t itsClSizeHe3 = 0u;
139139
uint32_t itsClSizeHad = 0u;
140140

141+
uint8_t NClsITSHe3 = 0u;
142+
uint8_t NClsITSHad = 0u;
143+
141144
bool isBkgUS = false; // unlike sign
142145
bool isBkgEM = false; // event mixing
143146

@@ -174,6 +177,7 @@ struct he3hadronfemto {
174177
Configurable<float> setting_cutInvMass{"setting_cutInvMass", 0.0f, "Invariant mass upper limit"};
175178
Configurable<float> setting_cutPtMinhe3Had{"setting_cutPtMinhe3Had", 0.0f, "Minimum PT cut on he3Had4"};
176179
Configurable<float> setting_cutClSizeItsHe3{"setting_cutClSizeItsHe3", 4.0f, "Minimum ITS cluster size for He3"};
180+
Configurable<float> setting_cutNCls{"setting_cutNCls", 5.0f, "Minimum ITS Ncluster for tracks"};
177181
Configurable<float> setting_cutNsigmaTPC{"setting_cutNsigmaTPC", 3.0f, "Value of the TPC Nsigma cut"};
178182
Configurable<float> setting_cutNsigmaITS{"setting_cutNsigmaITS", -1.5f, "Value of the TPC Nsigma cut"};
179183
Configurable<float> setting_cutPtMinTOFHad{"setting_cutPtMinTOFHad", 0.4f, "Minimum pT to apply the TOF cut on hadrons"};
@@ -239,6 +243,8 @@ struct he3hadronfemto {
239243
{"hEmptyPool", "svPoolCreator did not find track pairs false/true", {HistType::kTH1F, {{2, -0.5, 1.5}}}},
240244
{"hDCAxyHe3", ";DCA_{xy} (cm)", {HistType::kTH1F, {{200, -1.0f, 1.0f}}}},
241245
{"hDCAzHe3", ";DCA_{z} (cm)", {HistType::kTH1F, {{200, -1.0f, 1.0f}}}},
246+
{"hNClsHe3ITS", ";N_{ITS} Cluster", {HistType::kTH1F, {{20, -10.0f, 10.0f}}}},
247+
{"hNClsHadITS", ";N_{ITS} Cluster", {HistType::kTH1F, {{20, -10.0f, 10.0f}}}},
242248
{"hhe3HadtInvMass", "; M(^{3}He + p) (GeV/#it{c}^{2})", {HistType::kTH1F, {{300, 3.74f, 4.34f}}}},
243249
{"hHe3Pt", "#it{p}_{T} distribution; #it{p}_{T} (GeV/#it{c})", {HistType::kTH1F, {{240, -6.0f, 6.0f}}}},
244250
{"hHadronPt", "Pt distribution; #it{p}_{T} (GeV/#it{c})", {HistType::kTH1F, {{120, -3.0f, 3.0f}}}},
@@ -377,7 +383,7 @@ struct he3hadronfemto {
377383
if (std::abs(candidate.eta()) > setting_cutEta) {
378384
return false;
379385
}
380-
if (candidate.itsNCls() < 5 ||
386+
if (candidate.itsNCls() < setting_cutNCls ||
381387
candidate.tpcNClsFound() < 90 ||
382388
candidate.tpcNClsCrossedRows() < 70 ||
383389
candidate.tpcNClsCrossedRows() < 0.8 * candidate.tpcNClsFindable() ||
@@ -578,6 +584,9 @@ struct he3hadronfemto {
578584
he3Hadcand.itsClSizeHe3 = trackHe3.itsClusterSizes();
579585
he3Hadcand.itsClSizeHad = trackHad.itsClusterSizes();
580586

587+
he3Hadcand.NClsITSHe3 = trackHe3.itsNCls();
588+
he3Hadcand.NClsITSHad = trackHad.itsNCls();
589+
581590
he3Hadcand.sharedClustersHe3 = trackHe3.tpcNClsShared();
582591
he3Hadcand.sharedClustersHad = trackHad.tpcNClsShared();
583592

@@ -750,6 +759,8 @@ struct he3hadronfemto {
750759
m_qaRegistry.fill(HIST("hhe3HadtInvMass"), he3Hadcand.invMass);
751760
m_qaRegistry.fill(HIST("hDCAxyHe3"), he3Hadcand.DCAxyHe3);
752761
m_qaRegistry.fill(HIST("hDCAzHe3"), he3Hadcand.DCAzHe3);
762+
m_qaRegistry.fill(HIST("hNClsHe3ITS"), he3Hadcand.NClsITSHe3);
763+
m_qaRegistry.fill(HIST("hNClsHadITS"), he3Hadcand.NClsITSHad);
753764
}
754765

755766
// ==================================================================================================================

0 commit comments

Comments
 (0)