@@ -65,7 +65,8 @@ DECLARE_SOA_TABLE(MuonTrackCuts, "AOD", "DQANAMUONCUTSA", dqanalysisflags::IsMuo
6565using MyEvents = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended>;
6666using MyEventsSelected = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::EventCuts>;
6767
68- using MyPairCandidatesSelected = soa::Join<aod::Dimuons, aod::DimuonsExtra>;
68+ // using MyPairCandidatesSelected = soa::Join<aod::Dimuons, aod::DimuonsExtra>;
69+ using MyPairCandidatesSelected = soa::Join<aod::Dimuons, aod::DimuonsExtra, aod::DimuonsAll>;
6970using MyMuonTracks = soa::Join<aod::ReducedMuons, aod::ReducedMuonsExtra>;
7071using MyMuonAssocsSelected = soa::Join<aod::ReducedMuonsAssoc, aod::MuonTrackCuts>;
7172
@@ -86,8 +87,8 @@ struct DqJPsiMuonCorrelations {
8687 Configurable<float > fConfigBackgroundHighMass {" cfgBackgroundHighMass" , 3.7 , " High mass cut for the background used in analysis" };
8788
8889 // Configurables for the dilepton and associated muon cuts
89- Configurable<float > fConfigDileptonPtMin {" cfgDileptonPtMin" , 1.0 , " Minimum pT cut for the associated muons " };
90- Configurable<float > fConfigDileptonPtMax {" cfgDileptonPtMax" , 20.0 , " Maximum pT cut for the associated muons " };
90+ Configurable<float > fConfigDileptonPtMin {" cfgDileptonPtMin" , 1.0 , " Minimum pT cut for the dilepton " };
91+ Configurable<float > fConfigDileptonPtMax {" cfgDileptonPtMax" , 20.0 , " Maximum pT cut for the dilepton " };
9192 Configurable<float > fConfigDileptonEtaMin {" cfgDileptonEtaMin" , -4.0 , " Minimum eta cut for the dileptons" };
9293 Configurable<float > fConfigDileptonEtaMax {" cfgDileptonEtaMax" , -2.5 , " Maximum eta cut for the dileptons" };
9394 Configurable<float > fConfigMuonEtaMin {" cfgMuonEtaMin" , -4.0 , " Minimum eta cut for the associated muons" };
@@ -172,6 +173,13 @@ struct DqJPsiMuonCorrelations {
172173 // Dilepton kinematic cuts
173174 if ((dilepton.eta () < fConfigDileptonEtaMin || dilepton.eta () > fConfigDileptonEtaMax ) ||
174175 (dilepton.pt () < fConfigDileptonPtMin || dilepton.pt () > fConfigDileptonPtMax )) {
176+ continue ;
177+ }
178+ // Dilepton leg kinematic cuts
179+ if ((dilepton.eta1 () < fConfigMuonEtaMin || dilepton.eta1 () > fConfigMuonEtaMax ) ||
180+ (dilepton.pt1 () < axisPt.value [1 ] || dilepton.pt1 () > axisPt.value .back ()) ||
181+ (dilepton.eta2 () < fConfigMuonEtaMin || dilepton.eta2 () > fConfigMuonEtaMax ) ||
182+ (dilepton.pt2 () < axisPt.value [1 ] || dilepton.pt2 () > axisPt.value .back ())) {
175183 continue ;
176184 }
177185
0 commit comments