Skip to content

Commit 183bfb0

Browse files
zchochulZuzanna
andauthored
[PWGCF] FemtoUniverse -- Move minv cut to the task (#10342)
Co-authored-by: Zuzanna <01150674@pw.edu.pl>
1 parent f55e53e commit 183bfb0

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ struct FemtoUniverseProducerTask {
287287
FemtoUniversePhiSelection phiCuts;
288288
struct : o2::framework::ConfigurableGroup {
289289
/// Phi meson
290-
Configurable<float> confInvMassLowLimitPhi{"confInvMassLowLimitPhi", 1.011, "Lower limit of the Phi invariant mass"}; // change that to do invariant mass cut
291-
Configurable<float> confInvMassUpLimitPhi{"confInvMassUpLimitPhi", 1.027, "Upper limit of the Phi invariant mass"};
292290
Configurable<float> confPtLowLimitPhi{"confPtLowLimitPhi", 0.8, "Lower limit of the Phi pT."};
293291
Configurable<float> confPtHighLimitPhi{"confPtHighLimitPhi", 4.0, "Higher limit of the Phi pT."};
294292
// Phi meson daughters
@@ -1633,10 +1631,6 @@ struct FemtoUniverseProducerTask {
16331631
float phiPhi = RecoDecay::constrainAngle(sumVec.Phi(), 0);
16341632
float phiM = sumVec.M();
16351633

1636-
if (((phiM < ConfPhiSelection.confInvMassLowLimitPhi.value) || (phiM > ConfPhiSelection.confInvMassUpLimitPhi.value))) {
1637-
continue;
1638-
}
1639-
16401634
phiCuts.fillQA<aod::femtouniverseparticle::ParticleType::kPhi, aod::femtouniverseparticle::ParticleType::kPhiChild>(col, p1, p1, p2, 321, -321); ///\todo fill QA also for daughters
16411635

16421636
int postrackID = p1.globalIndex();

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackPhi.cxx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,21 @@ struct FemtoUniversePairTaskTrackPhi {
118118
/// Particle 2 --- PHI MESON
119119
Configurable<float> ConfPhiPtLow{"ConfPhiPtLow", 0.8, "Lower limit of the Phi pT."};
120120
Configurable<float> ConfPhiPtHigh{"ConfPhiPtHigh", 4.0, "Higher limit of the Phi pT."};
121+
Configurable<float> confInvMassLowLimitPhi{"confInvMassLowLimitPhi", 1.011, "Lower limit of the Phi invariant mass"}; // change that to do invariant mass cut
122+
Configurable<float> confInvMassUpLimitPhi{"confInvMassUpLimitPhi", 1.027, "Upper limit of the Phi invariant mass"};
121123

122124
/// Partitions for the Phi meson (particle 2)
123125
Partition<FilteredFemtoFullParticles> partsPhi = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhi)) &&
124126
(aod::femtouniverseparticle::pt > ConfPhiPtLow) &&
125-
(aod::femtouniverseparticle::pt < ConfPhiPtHigh);
127+
(aod::femtouniverseparticle::pt < ConfPhiPtHigh) &&
128+
(aod::femtouniverseparticle::tempFitVar > confInvMassLowLimitPhi) &&
129+
(aod::femtouniverseparticle::tempFitVar < confInvMassUpLimitPhi);
126130

127131
Partition<FemtoRecoParticles> partsPhiMCReco = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhi)) &&
128132
(aod::femtouniverseparticle::pt > ConfPhiPtLow) &&
129-
(aod::femtouniverseparticle::pt < ConfPhiPtHigh);
133+
(aod::femtouniverseparticle::pt < ConfPhiPtHigh) &&
134+
(aod::femtouniverseparticle::tempFitVar > confInvMassLowLimitPhi) &&
135+
(aod::femtouniverseparticle::tempFitVar < confInvMassUpLimitPhi);
130136

131137
/// Partitions for Phi daughters kPhiChild
132138
Partition<FilteredFemtoFullParticles> partsPhiDaugh = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhiChild));
@@ -374,11 +380,9 @@ struct FemtoUniversePairTaskTrackPhi {
374380
hTrackDCA.init(&registryDCA, ConfBinsTempFitVarpT, ConfBinsTempFitVarDCA, true, ConfTrackPDGCode, true);
375381

376382
registryMCpT.add("MCReco/C_phi_pT", "; #it{p_T} (GeV/#it{c}); Counts", kTH1F, {{100, 0, 10}});
377-
registryMCpT.add("MCReco/Correction_phi", "; #it{p_T} (GeV/#it{c}); Counts", kTH1F, {{100, 0, 10}});
378383
registryMCpT.add("MCReco/NC_phi_pT", "; #it{p_T} (GeV/#it{c}); Counts", kTH1F, {{100, 0, 10}});
379384

380385
registryMCpT.add("MCReco/C_p_pT", "; #it{p_T} (GeV/#it{c}); Counts", kTH1F, {{100, 0, 10}});
381-
registryMCpT.add("MCReco/Correction_p", "; #it{p_T} (GeV/#it{c}); Counts", kTH1F, {{100, 0, 10}});
382386
registryMCpT.add("MCReco/NC_p_pT", "; #it{p_T} (GeV/#it{c}); Counts", kTH1F, {{100, 0, 10}});
383387
}
384388
efficiencyCalculator.init();

0 commit comments

Comments
 (0)