@@ -177,8 +177,8 @@ struct HfTaskCharmHadronsV0FemtoDream {
177177 using FilteredMcCollisions = soa::Filtered<soa::Join<aod::FDCollisions, FDColMasks, aod::FDMCCollLabels>>;
178178 using FilteredMcColision = FilteredMcCollisions::iterator;
179179
180- using FilteredFDMcParts = soa::Filtered<soa:: Join<aod::FDParticles, aod::FDParticlesIndex, aod::FDExtParticles, aod::FDMCLabels, aod::FDExtMCLabels, aod::FDTrkTimeStamp> >;
181- using FilteredFDMcPart = FilteredFDMcParts ::iterator;
180+ using FDMcV0Particles = soa::Join<aod::FDParticles, aod::FDParticlesIndex, aod::FDExtParticles, aod::FDMCLabels, aod::FDExtMCLabels, aod::FDTrkTimeStamp>;
181+ using FDMcV0Particle = FDMcV0Particles ::iterator;
182182
183183 using FDV0Particles = soa::Join<aod::FDParticles, aod::FDExtParticles, aod::FDParticlesIndex, aod::FDTrkTimeStamp>;
184184 using FDV0Particle = FDV0Particles::iterator;
@@ -189,7 +189,7 @@ struct HfTaskCharmHadronsV0FemtoDream {
189189 Filter hfMcSelFilter = (nabs(aod::fdhf::flagMc) == charmSel.charmHadMcSel);
190190
191191 Preslice<FDV0Particles> perCol = aod::femtodreamparticle::fdCollisionId;
192- Preslice<FilteredFDMcParts > perColMc = aod::femtodreamparticle::fdCollisionId;
192+ Preslice<FDMcV0Particles > perColMc = aod::femtodreamparticle::fdCollisionId;
193193 Preslice<FilteredCharmCand3Prongs> perHf3ProngByCol = aod::femtodreamparticle::fdCollisionId;
194194 Preslice<FilteredCharmCand2Prongs> perHf2ProngByCol = aod::femtodreamparticle::fdCollisionId;
195195 Preslice<FilteredCharmCandDstars> perHfDstarByCol = aod::femtodreamparticle::fdCollisionId;
@@ -206,16 +206,16 @@ struct HfTaskCharmHadronsV0FemtoDream {
206206 (aod::femtodreamparticle::mAntiLambda > v0Sel.invMassAntiV0Min) &&
207207 (aod::femtodreamparticle::mAntiLambda < v0Sel.invMassAntiV0Max);
208208
209- Partition<FilteredFDMcParts > partitionMcLambda = (aod::femtodreamparticle::partType == uint8_t (aod::femtodreamparticle::ParticleType::kV0 )) &&
210- ((aod::femtodreamparticle::cut & v0Sel.cutBit) == v0Sel.cutBit) &&
211- (aod::femtodreamparticle::pt > v0Sel.ptV0Min) &&
212- (aod::femtodreamparticle::pt < v0Sel.ptV0Max) &&
213- (aod::femtodreamparticle::eta > v0Sel.etaV0Min) &&
214- (aod::femtodreamparticle::eta < v0Sel.etaV0Max) &&
215- (aod::femtodreamparticle::mLambda > v0Sel.invMassV0Min) &&
216- (aod::femtodreamparticle::mLambda < v0Sel.invMassV0Max) &&
217- (aod::femtodreamparticle::mAntiLambda > v0Sel.invMassAntiV0Min) &&
218- (aod::femtodreamparticle::mAntiLambda < v0Sel.invMassAntiV0Max);
209+ Partition<FDMcV0Particles > partitionMcLambda = (aod::femtodreamparticle::partType == uint8_t (aod::femtodreamparticle::ParticleType::kV0 )) &&
210+ ((aod::femtodreamparticle::cut & v0Sel.cutBit) == v0Sel.cutBit) &&
211+ (aod::femtodreamparticle::pt > v0Sel.ptV0Min) &&
212+ (aod::femtodreamparticle::pt < v0Sel.ptV0Max) &&
213+ (aod::femtodreamparticle::eta > v0Sel.etaV0Min) &&
214+ (aod::femtodreamparticle::eta < v0Sel.etaV0Max) &&
215+ (aod::femtodreamparticle::mLambda > v0Sel.invMassV0Min) &&
216+ (aod::femtodreamparticle::mLambda < v0Sel.invMassV0Max) &&
217+ (aod::femtodreamparticle::mAntiLambda > v0Sel.invMassAntiV0Min) &&
218+ (aod::femtodreamparticle::mAntiLambda < v0Sel.invMassAntiV0Max);
219219
220220 // / Partitions for particle K0Short
221221 Partition<FDV0Particles> partitionK0Short = (aod::femtodreamparticle::partType == uint8_t (aod::femtodreamparticle::ParticleType::kV0K0Short )) &&
@@ -229,16 +229,16 @@ struct HfTaskCharmHadronsV0FemtoDream {
229229 (aod::femtodreamparticle::mAntiLambda > v0Sel.invMassAntiV0Min) &&
230230 (aod::femtodreamparticle::mAntiLambda < v0Sel.invMassAntiV0Max);
231231
232- Partition<FilteredFDMcParts > partitionMcK0Short = (aod::femtodreamparticle::partType == uint8_t (aod::femtodreamparticle::ParticleType::kV0K0Short )) &&
233- ((aod::femtodreamparticle::cut & v0Sel.cutBit) == v0Sel.cutBit) &&
234- (aod::femtodreamparticle::pt > v0Sel.ptV0Min) &&
235- (aod::femtodreamparticle::pt < v0Sel.ptV0Max) &&
236- (aod::femtodreamparticle::eta > v0Sel.etaV0Min) &&
237- (aod::femtodreamparticle::eta < v0Sel.etaV0Max) &&
238- (aod::femtodreamparticle::mLambda > v0Sel.invMassV0Min) &&
239- (aod::femtodreamparticle::mLambda < v0Sel.invMassV0Max) &&
240- (aod::femtodreamparticle::mAntiLambda > v0Sel.invMassAntiV0Min) &&
241- (aod::femtodreamparticle::mAntiLambda < v0Sel.invMassAntiV0Max);
232+ Partition<FDMcV0Particles > partitionMcK0Short = (aod::femtodreamparticle::partType == uint8_t (aod::femtodreamparticle::ParticleType::kV0K0Short )) &&
233+ ((aod::femtodreamparticle::cut & v0Sel.cutBit) == v0Sel.cutBit) &&
234+ (aod::femtodreamparticle::pt > v0Sel.ptV0Min) &&
235+ (aod::femtodreamparticle::pt < v0Sel.ptV0Max) &&
236+ (aod::femtodreamparticle::eta > v0Sel.etaV0Min) &&
237+ (aod::femtodreamparticle::eta < v0Sel.etaV0Max) &&
238+ (aod::femtodreamparticle::mLambda > v0Sel.invMassV0Min) &&
239+ (aod::femtodreamparticle::mLambda < v0Sel.invMassV0Max) &&
240+ (aod::femtodreamparticle::mAntiLambda > v0Sel.invMassAntiV0Min) &&
241+ (aod::femtodreamparticle::mAntiLambda < v0Sel.invMassAntiV0Max);
242242
243243 // / Partition for particle 2
244244 Partition<FilteredCharmCand3Prongs> partitionCharmHadron3Prong = aod::fdhf::bdtBkg < charmSel.charmHadBkgBDTmax && aod::fdhf::bdtFD < charmSel.charmHadFdBDTmax && aod::fdhf::bdtFD > charmSel.charmHadFdBDTmin&& aod::fdhf::bdtPrompt<charmSel.charmHadPromptBDTmax && aod::fdhf::bdtPrompt> charmSel.charmHadPromptBDTmin;
@@ -930,7 +930,7 @@ struct HfTaskCharmHadronsV0FemtoDream {
930930 PROCESS_SWITCH (HfTaskCharmHadronsV0FemtoDream, processDataDstarV0, " Enable processing DstarToD0Pi and V0 correlation" , false );
931931
932932 void processMcDplusV0 (FilteredMcCollisions const & cols,
933- FilteredFDMcParts const & parts,
933+ FDMcV0Particles const & parts,
934934 o2::aod::FDMCParticles const &,
935935 o2::aod::FDExtMCParticles const &,
936936 FilteredCharmMcCand3Prongs const &)
0 commit comments