@@ -218,15 +218,15 @@ struct FemtoDreamProducerTaskReso {
218218 Configurable<float > confCascV0InvMassLowLimit{" confCascV0InvMassLowLimit" , 1.011461 , " Lower limit of the Cascade invariant mass" };
219219 Configurable<float > confCascV0InvMassUpLimit{" confCascV0InvMassUpLimit" , 1.027461 , " Upper limit of the Cascade invariant mass" };
220220 // Cascade Daughter Tracks
221- Configurable<std::vector<float >> confCascV0ChildCharge {" confCascV0ChildSign" , std::vector<float >{-1 , 1 }, " CascV0 Child sel: Charge" };
221+ Configurable<std::vector<float >> confCascV0ChildSign {" confCascV0ChildSign" , std::vector<float >{-1 , 1 }, " CascV0 Child sel: Charge" };
222222 Configurable<std::vector<float >> confCascV0ChildPtMin{" confCascV0ChildPtMin" , std::vector<float >{0 .8f }, " CascV0 Child sel: min pt" };
223223 Configurable<std::vector<float >> confCascV0ChildEtaMax{" confCascV0ChildEtaMax" , std::vector<float >{0 .8f }, " CascV0 Child sel: max eta" };
224224 Configurable<std::vector<float >> confCascV0ChildTPCnClsMin{" confCascV0ChildTPCnClsMin" , std::vector<float >{80 .f , 70 .f , 60 .f }, " CascV0 Child sel: Min. nCls TPC" };
225225 Configurable<std::vector<float >> confCascV0ChildDCAMin{" confCascV0ChildDCAMin" , std::vector<float >{0 .05f , 0 .06f }, " CascV0 Child sel: Max. DCA Daugh to PV (cm)" };
226226 Configurable<std::vector<float >> confCascV0ChildPIDnSigmaMax{" confCascV0ChildPIDnSigmaMax" , std::vector<float >{5 .f , 4 .f }, " CascV0 Child sel: Max. PID nSigma TPC" };
227227 Configurable<std::vector<int >> confCascV0ChildPIDspecies{" confCascV0ChildPIDspecies" , std::vector<int >{o2::track::PID::Pion, o2::track::PID::Proton}, " CascV0 Child sel: Particles species for PID" };
228228 // Cascade Bachelor Track
229- Configurable<std::vector<float >> confCascBachelorCharge {" confCascBachelorSign" , std::vector<float >{-1 , 1 }, " Cascade Bachelor sel: Charge" };
229+ Configurable<std::vector<float >> confCascBachelorSign {" confCascBachelorSign" , std::vector<float >{-1 , 1 }, " Cascade Bachelor sel: Charge" };
230230 Configurable<std::vector<float >> confCascBachelorPtMin{" confCascBachelorPtMin" , std::vector<float >{0 .8f }, " Cascade Bachelor sel: min pt" };
231231 Configurable<std::vector<float >> confCascBachelorEtaMax{" confCascBachelorEtaMax" , std::vector<float >{0 .8f }, " Cascade Bachelor sel: max eta" };
232232 Configurable<std::vector<float >> confCascBachelorTPCnClsMin{" confCascBachelorTPCnClsMin" , std::vector<float >{80 .f , 70 .f , 60 .f }, " Cascade Bachelor sel: Min. nCls TPC" };
@@ -488,15 +488,15 @@ struct FemtoDreamProducerTaskReso {
488488 cascadeCuts.setSelection (confCascSel.confCascadeV0DCAtoPVMax , femtoDreamCascadeSelection::kCascadeV0DCAtoPVMax , FemtoDreamCascadeSelection::getSelectionType (femtoDreamCascadeSelection::kCascadeV0DCAtoPVMax ));
489489
490490 // Cascade Daughter Tracks
491- cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildCharge , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
491+ cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildSign , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
492492 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildPtMin , femtoDreamTrackSelection::kpTMin, femtoDreamSelection::kLowerLimit );
493493 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildEtaMax , femtoDreamTrackSelection::kEtaMax , femtoDreamSelection::kAbsUpperLimit );
494494 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildTPCnClsMin , femtoDreamTrackSelection::kTPCnClsMin , femtoDreamSelection::kLowerLimit );
495495 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildDCAMin , femtoDreamTrackSelection::kDCAMin , femtoDreamSelection::kAbsLowerLimit );
496496 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildPIDnSigmaMax , femtoDreamTrackSelection::kPIDnSigmaMax , femtoDreamSelection::kAbsUpperLimit );
497497 cascadeCuts.setChildPIDSpecies (femtoDreamCascadeSelection::kPosTrack , confCascSel.confCascV0ChildPIDspecies );
498498
499- cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kNegTrack , confCascSel.confCascV0ChildCharge , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
499+ cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kNegTrack , confCascSel.confCascV0ChildSign , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
500500 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kNegTrack , confCascSel.confCascV0ChildPtMin , femtoDreamTrackSelection::kpTMin, femtoDreamSelection::kLowerLimit );
501501 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kNegTrack , confCascSel.confCascV0ChildEtaMax , femtoDreamTrackSelection::kEtaMax , femtoDreamSelection::kAbsUpperLimit );
502502 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kNegTrack , confCascSel.confCascV0ChildTPCnClsMin , femtoDreamTrackSelection::kTPCnClsMin , femtoDreamSelection::kLowerLimit );
@@ -505,7 +505,7 @@ struct FemtoDreamProducerTaskReso {
505505 cascadeCuts.setChildPIDSpecies (femtoDreamCascadeSelection::kNegTrack , confCascSel.confCascV0ChildPIDspecies );
506506
507507 // Cascade Bachelor Track
508- cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kBachTrack , confCascSel.confCascBachelorCharge , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
508+ cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kBachTrack , confCascSel.confCascBachelorSign , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
509509 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kBachTrack , confCascSel.confCascBachelorPtMin , femtoDreamTrackSelection::kpTMin, femtoDreamSelection::kLowerLimit );
510510 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kBachTrack , confCascSel.confCascBachelorEtaMax , femtoDreamTrackSelection::kEtaMax , femtoDreamSelection::kAbsUpperLimit );
511511 cascadeCuts.setChildCuts (femtoDreamCascadeSelection::kBachTrack , confCascSel.confCascBachelorTPCnClsMin , femtoDreamTrackSelection::kTPCnClsMin , femtoDreamSelection::kLowerLimit );
@@ -732,9 +732,9 @@ struct FemtoDreamProducerTaskReso {
732732 {
733733 if (particle.has_mcParticle ()) {
734734
735- constexpr int kProcessDirectMother = 4 ;
736- constexpr int kProcessInelasticHadronic = 23 ;
737- constexpr int kGenStatusTransport = -1 ;
735+ constexpr int ProcessDirectMother = 4 ;
736+ constexpr int ProcessInelasticHadronic = 23 ;
737+ constexpr int GenStatusTransport = -1 ;
738738
739739 // get corresponding MC particle and its info
740740 auto particleMC = particle.mcParticle ();
@@ -760,7 +760,7 @@ struct FemtoDreamProducerTaskReso {
760760 // particle is from a decay -> getProcess() == 4
761761 // particle is generated during transport -> getGenStatusCode() == -1
762762 // list of mothers is not empty
763- } else if (particleMC.getProcess () == kProcessDirectMother && particleMC.getGenStatusCode () == kGenStatusTransport && !motherparticlesMC.empty ()) {
763+ } else if (particleMC.getProcess () == ProcessDirectMother && particleMC.getGenStatusCode () == GenStatusTransport && !motherparticlesMC.empty ()) {
764764 // get direct mother
765765 auto motherparticleMC = motherparticlesMC.front ();
766766 pdgCodeMother = motherparticleMC.pdgCode ();
@@ -769,7 +769,7 @@ struct FemtoDreamProducerTaskReso {
769769 // check if particle is material
770770 // particle is from inelastic hadronic interaction -> getProcess() == 23
771771 // particle is generated during transport -> getGenStatusCode() == -1
772- } else if (particleMC.getProcess () == kProcessInelasticHadronic && particleMC.getGenStatusCode () == kGenStatusTransport ) {
772+ } else if (particleMC.getProcess () == ProcessInelasticHadronic && particleMC.getGenStatusCode () == GenStatusTransport ) {
773773 particleOrigin = aod::femtodreamMCparticle::ParticleOriginMCTruth::kMaterial ;
774774 // cross check to see if we missed a case
775775 } else {
0 commit comments