Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions PWGCF/FemtoUniverse/Core/FemtoUniverseCascadeSelection.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ bool FemtoUniverseCascadeSelection::isSelectedMinimal(Col const& col, Casc const
const float dcav0topv = cascade.dcav0topv(col.posX(), col.posY(), col.posZ());
const float invMassLambda = cascade.mLambda();
const float invMass = isCascOmega ? cascade.mOmega() : cascade.mXi();
const float nSigmaPIDMax = bachTrackSel.getSigmaPIDMax();

if (invMassLambda < fV0InvMassLowLimit || invMassLambda > fV0InvMassUpLimit) {
return false;
Expand Down Expand Up @@ -500,9 +499,6 @@ bool FemtoUniverseCascadeSelection::isSelectedMinimal(Col const& col, Casc const
if (!negDaughTrack.isSelectedMinimal(negTrack)) {
return false;
}
if (bachTrack.hasTOF() && ((isCascOmega && bachTrack.tofNSigmaKa() > nSigmaPIDMax) || (!isCascOmega && bachTrack.tofNSigmaPi() > nSigmaPIDMax))) {
return false;
}
if (!bachTrackSel.isSelectedMinimal(bachTrack)) {
return false;
}
Expand Down
15 changes: 6 additions & 9 deletions PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ struct FemtoUniverseProducerTask {
FemtoUniversePhiSelection phiCuts;
struct : o2::framework::ConfigurableGroup {
/// Phi meson
Configurable<float> confInvMassLowLimitPhi{"confInvMassLowLimitPhi", 1.011, "Lower limit of the Phi invariant mass"}; // change that to do invariant mass cut
Configurable<float> confInvMassUpLimitPhi{"confInvMassUpLimitPhi", 1.027, "Upper limit of the Phi invariant mass"};
Configurable<float> confPtLowLimitPhi{"confPtLowLimitPhi", 0.8, "Lower limit of the Phi pT."};
Configurable<float> confPtHighLimitPhi{"confPtHighLimitPhi", 4.0, "Higher limit of the Phi pT."};
// Phi meson daughters
Expand Down Expand Up @@ -1185,14 +1183,15 @@ struct FemtoUniverseProducerTask {
childIDs[0] = rowInPrimaryTrackTablePos; // pos
childIDs[1] = 0; // neg
childIDs[2] = 0; // bachelor
float hasTOF = posTrackCasc.hasTOF() ? 1 : 0;
outputCascParts(outputCollision.lastIndex(),
casc.positivept(),
casc.positiveeta(),
casc.positivephi(),
aod::femtouniverseparticle::ParticleType::kV0Child,
0, // cutContainerV0.at(femto_universe_v0_selection::V0ContainerPosition::kPosCuts),
0, // cutContainerV0.at(femto_universe_v0_selection::V0ContainerPosition::kPosPID),
0.,
hasTOF,
childIDs,
0,
0,
Expand All @@ -1216,14 +1215,15 @@ struct FemtoUniverseProducerTask {
childIDs[0] = 0; // pos
childIDs[1] = rowInPrimaryTrackTableNeg; // neg
childIDs[2] = 0; // bachelor
hasTOF = negTrackCasc.hasTOF() ? 1 : 0;
outputCascParts(outputCollision.lastIndex(),
casc.negativept(),
casc.negativeeta(),
casc.negativephi(),
aod::femtouniverseparticle::ParticleType::kV0Child,
0, // cutContainerV0.at(femto_universe_v0_selection::V0ContainerPosition::kNegCuts),
0, // cutContainerV0.at(femto_universe_v0_selection::V0ContainerPosition::kNegPID),
0.,
hasTOF,
childIDs,
0,
0,
Expand All @@ -1248,14 +1248,15 @@ struct FemtoUniverseProducerTask {
childIDs[0] = 0; // pos
childIDs[1] = 0; // neg
childIDs[2] = rowInPrimaryTrackTableBach; // bachelor
hasTOF = bachTrackCasc.hasTOF() ? 1 : 0;
outputCascParts(outputCollision.lastIndex(),
casc.bachelorpt(),
casc.bacheloreta(),
casc.bachelorphi(),
aod::femtouniverseparticle::ParticleType::kCascadeBachelor,
0, // cutContainerV0.at(femto_universe_v0_selection::V0ContainerPosition::kNegCuts),
0, // cutContainerV0.at(femto_universe_v0_selection::V0ContainerPosition::kNegPID),
0.,
hasTOF,
childIDs,
0,
0,
Expand Down Expand Up @@ -1633,10 +1634,6 @@ struct FemtoUniverseProducerTask {
float phiPhi = RecoDecay::constrainAngle(sumVec.Phi(), 0);
float phiM = sumVec.M();

if (((phiM < ConfPhiSelection.confInvMassLowLimitPhi.value) || (phiM > ConfPhiSelection.confInvMassUpLimitPhi.value))) {
continue;
}

phiCuts.fillQA<aod::femtouniverseparticle::ParticleType::kPhi, aod::femtouniverseparticle::ParticleType::kPhiChild>(col, p1, p1, p2, 321, -321); ///\todo fill QA also for daughters

int postrackID = p1.globalIndex();
Expand Down
Loading
Loading