@@ -97,29 +97,29 @@ struct femtoUniversePairTaskTrackCascadeExtended {
9797
9898 // / configurations for cascades
9999 struct : o2::framework::ConfigurableGroup {
100- Configurable<int > confCascPDGCode{" confCascPDGCode" , 3312 , " Particle 2 (Cascade) - PDG code" };
101- Configurable<int > confCascType1{" confCascType1" , 0 , " select one of the Cascades (Omega = 0, Xi = 1, anti-Omega = 2, anti-Xi = 3) for track-cascade and cascade-cascade combination" };
102- Configurable<int > confCascType2{" confCascType2" , 0 , " select one of the Cascades (Omega = 0, Xi = 1, anti-Omega = 2, anti-Xi = 3) for cascade-cascade combination" };
103- Configurable<float > confHPtPart2{" confHPtPart2" , 4 .0f , " higher limit for pt of cascade" };
104- Configurable<float > confLPtPart2{" confLPtPart2" , 0 .3f , " lower limit for pt of cascade" };
105- Configurable<float > confmom{" confmom" , 0.75 , " momentum threshold for particle identification using TOF" };
106- Configurable<float > confNsigmaTPCParticle{" confNsigmaTPCParticle" , 3.0 , " TPC Sigma for particle (track) momentum < cascparticleconfigs.confmom" };
107- Configurable<float > confNsigmaTPCParticleChild{" confNsigmaTPCParticleChild" , 3.0 , " TPC Sigma for particle (daugh & bach) momentum < cascparticleconfigs.confmom" };
108- Configurable<float > confNsigmaTOFParticleChild{" confNsigmaTOFParticleChild" , 3.0 , " TOF Sigma for particle (daugh & bach) momentum > cascparticleconfigs.confmom" };
109- Configurable<bool > confUseStrangenessTOF{" confUseStrangenessTOF" , true , " Enable strangeness TOF for cascade PID" };
110- Configurable<bool > confQARejectByPDG{" confQARejectByPDG" , false , " Reject particle 2 by PDG code (only for QA)" };
100+ Configurable<int > confCascPDGCode{" confCascPDGCode" , 3312 , " Particle 2 (Cascade) - PDG code" };
101+ Configurable<int > confCascType1{" confCascType1" , 0 , " select one of the Cascades (Omega = 0, Xi = 1, anti-Omega = 2, anti-Xi = 3) for track-cascade and cascade-cascade combination" };
102+ Configurable<int > confCascType2{" confCascType2" , 0 , " select one of the Cascades (Omega = 0, Xi = 1, anti-Omega = 2, anti-Xi = 3) for cascade-cascade combination" };
103+ Configurable<float > confHPtPart2{" confHPtPart2" , 4 .0f , " higher limit for pt of cascade" };
104+ Configurable<float > confLPtPart2{" confLPtPart2" , 0 .3f , " lower limit for pt of cascade" };
105+ Configurable<float > confmom{" confmom" , 0.75 , " momentum threshold for particle identification using TOF" };
106+ Configurable<float > confNsigmaTPCParticle{" confNsigmaTPCParticle" , 3.0 , " TPC Sigma for particle (track) momentum < cascparticleconfigs.confmom" };
107+ Configurable<float > confNsigmaTPCParticleChild{" confNsigmaTPCParticleChild" , 3.0 , " TPC Sigma for particle (daugh & bach) momentum < cascparticleconfigs.confmom" };
108+ Configurable<float > confNsigmaTOFParticleChild{" confNsigmaTOFParticleChild" , 3.0 , " TOF Sigma for particle (daugh & bach) momentum > cascparticleconfigs.confmom" };
109+ Configurable<bool > confUseStrangenessTOF{" confUseStrangenessTOF" , true , " Enable strangeness TOF for cascade PID" };
110+ Configurable<bool > confQARejectByPDG{" confQARejectByPDG" , false , " Reject particle 2 by PDG code (only for QA)" };
111111 } cascparticleconfigs;
112112
113113 // / configurations for correlation part - CPR
114114 struct : o2::framework::ConfigurableGroup {
115- Configurable<bool > confIsCPR{" confIsCPR" , false , " Close Pair Rejection" };
116- Configurable<float > confCPRdeltaPhiCutMax{" confCPRdeltaPhiCutMax" , 0.0 , " Delta Phi max cut for Close Pair Rejection" };
117- Configurable<float > confCPRdeltaPhiCutMin{" confCPRdeltaPhiCutMin" , 0.0 , " Delta Phi min cut for Close Pair Rejection" };
118- Configurable<float > confCPRdeltaEtaCutMax{" confCPRdeltaEtaCutMax" , 0.0 , " Delta Eta max cut for Close Pair Rejection" };
119- Configurable<float > confCPRdeltaEtaCutMin{" confCPRdeltaEtaCutMin" , 0.0 , " Delta Eta min cut for Close Pair Rejection" };
120- Configurable<bool > confCPRPlotPerRadii{" confCPRPlotPerRadii" , false , " Plot CPR per radii" };
121- Configurable<float > confCPRChosenRadii{" confCPRChosenRadii" , 0.0 , " Delta Eta cut for Close Pair Rejection" };
122- Configurable<bool > confIsSameSignCPR{" confIsSameSignCPR" , false , " Close Pair Rejection for same sign children of cascades" };
115+ Configurable<bool > confIsCPR{" confIsCPR" , false , " Close Pair Rejection" };
116+ Configurable<float > confCPRdeltaPhiCutMax{" confCPRdeltaPhiCutMax" , 0.0 , " Delta Phi max cut for Close Pair Rejection" };
117+ Configurable<float > confCPRdeltaPhiCutMin{" confCPRdeltaPhiCutMin" , 0.0 , " Delta Phi min cut for Close Pair Rejection" };
118+ Configurable<float > confCPRdeltaEtaCutMax{" confCPRdeltaEtaCutMax" , 0.0 , " Delta Eta max cut for Close Pair Rejection" };
119+ Configurable<float > confCPRdeltaEtaCutMin{" confCPRdeltaEtaCutMin" , 0.0 , " Delta Eta min cut for Close Pair Rejection" };
120+ Configurable<bool > confCPRPlotPerRadii{" confCPRPlotPerRadii" , false , " Plot CPR per radii" };
121+ Configurable<float > confCPRChosenRadii{" confCPRChosenRadii" , 0.0 , " Delta Eta cut for Close Pair Rejection" };
122+ Configurable<bool > confIsSameSignCPR{" confIsSameSignCPR" , false , " Close Pair Rejection for same sign children of cascades" };
123123 } cprconfigs;
124124
125125 // / configurations for correlation part
@@ -172,7 +172,7 @@ struct femtoUniversePairTaskTrackCascadeExtended {
172172
173173 // / Partition for cascades using extended table
174174 Partition<FemtoFullParticles> partsTwoFull = (aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kCascade )) && (aod::femtouniverseparticle::pt < cascparticleconfigs.confHPtPart2) && (aod::femtouniverseparticle::pt > cascparticleconfigs.confLPtPart2);
175-
175+
176176 // / Partition for cascades using extended MC reco table
177177 Partition<FemtoRecoFullParticles> partsTwoMCrecoFull = (aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kCascade )) && (aod::femtouniverseparticle::pt < cascparticleconfigs.confHPtPart2) && (aod::femtouniverseparticle::pt > cascparticleconfigs.confLPtPart2);
178178
@@ -513,7 +513,7 @@ struct femtoUniversePairTaskTrackCascadeExtended {
513513 if (mcPartId == -1 )
514514 continue ; // no MC particle
515515 const auto & mcpart = mcparts.iteratorAt (mcPartId);
516-
516+
517517 if (cascparticleconfigs.confQARejectByPDG && ((cascparticleconfigs.confCascType1 == 0 && mcpart.pdgMCTruth () == kOmegaMinus ) || (cascparticleconfigs.confCascType1 == 1 && mcpart.pdgMCTruth () == kXiMinus ) || (cascparticleconfigs.confCascType1 == 2 && mcpart.pdgMCTruth () == kOmegaPlusBar ) || (cascparticleconfigs.confCascType1 == 3 && mcpart.pdgMCTruth () == kXiPlusBar )))
518518 continue ;
519519
@@ -538,7 +538,6 @@ struct femtoUniversePairTaskTrackCascadeExtended {
538538 CascQAExtra.fill (HIST (" hInvMpT" ), part.pt (), part.mLambda ());
539539 }
540540 }
541-
542541 }
543542
544543 // / track - cascade correlations
@@ -1413,21 +1412,19 @@ struct femtoUniversePairTaskTrackCascadeExtended {
14131412 PROCESS_SWITCH (femtoUniversePairTaskTrackCascadeExtended, processMixedEventCascMCgen, " Enable processing mixed event MC truth for cascade - cascade" , false );
14141413
14151414 // WIP: process same event mc truth and reco
1416- void processSameEventMCReco (FilteredFDCollision const & col, FemtoRecoFullParticles const & parts, aod::FdMCParticles const & mcparts)
1415+ void processSameEventMCReco (FilteredFDCollision const & col, FemtoRecoFullParticles const & parts, aod::FdMCParticles const & mcparts)
14171416 {
14181417 doSameEvent (col, parts, partsTrackOneFullMc, partsTwoMCrecoFull, mcparts);
14191418 }
14201419 PROCESS_SWITCH (femtoUniversePairTaskTrackCascadeExtended, processSameEventMCReco, " Enable processing same event for track - V0 MC Reco" , false );
14211420
1422-
14231421 // WIP: process mixed event mc truth and reco
1424- void processMixedEventMCReco (FilteredFDCollisions const & cols, FemtoRecoFullParticles const & parts, aod::FdMCParticles const & mcparts)
1422+ void processMixedEventMCReco (FilteredFDCollisions const & cols, FemtoRecoFullParticles const & parts, aod::FdMCParticles const & mcparts)
14251423 {
14261424 doMixedEvent (cols, parts, partsTrackOneFullMc, partsTwoMCrecoFull, mcparts);
14271425 }
14281426 PROCESS_SWITCH (femtoUniversePairTaskTrackCascadeExtended, processMixedEventMCReco, " Enable processing mixed event for track - V0 for MC Reco" , false );
14291427
1430-
14311428 // / This function fills MC truth particles from derived MC table
14321429 void processMCgen (aod::FDParticles const & parts)
14331430 {
0 commit comments