File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,7 +110,8 @@ struct DqJPsiMuonCorrelations {
110110 Filter eventFilter = aod::dqanalysisflags::isEventSelected == 1 ;
111111
112112 // Define the filter for the dileptons
113- Filter dileptonFilter = aod::reducedpair::sign == 0 ;
113+ Filter dileptonFilter = aod::reducedpair::pt > fConfigDileptonPtMin && aod::reducedpair::pt < fConfigDileptonPtMax &&
114+ aod::reducedpair::eta > fConfigDileptonEtaMin && aod::reducedpair::eta < fConfigDileptonEtaMax ;
114115
115116 constexpr static uint32_t FgDimuonsFillMap = VarManager::ObjTypes::ReducedMuon | VarManager::ObjTypes::Pair; // fill map
116117
@@ -174,11 +175,6 @@ struct DqJPsiMuonCorrelations {
174175 for (const auto & dilepton : dileptons) {
175176 VarManager::FillTrack<FgDimuonsFillMap>(dilepton, fValuesDilepton .data ());
176177
177- // Dilepton kinematic cuts
178- if ((dilepton.eta () < fConfigDileptonEtaMin || dilepton.eta () > fConfigDileptonEtaMax ) ||
179- (dilepton.pt () < fConfigDileptonPtMin || dilepton.pt () > fConfigDileptonPtMax )) {
180- continue ;
181- }
182178 // Dilepton leg kinematic cuts
183179 if ((dilepton.eta1 () < fConfigMuonEtaMin || dilepton.eta1 () > fConfigMuonEtaMax ) ||
184180 (dilepton.pt1 () < axisPt.value [1 ] || dilepton.pt1 () > axisPt.value .back ()) ||
You can’t perform that action at this time.
0 commit comments