@@ -152,15 +152,7 @@ struct DqJPsiMuonCorrelations {
152152 registry.add (" h2dDimuonMuonDeltaPhiVsMuonPtBackground" , " h2dDimuonMuonDeltaPhiVsMuonPtBackground" , kTH2D , {axisDeltaPhi, axisPt});
153153
154154 // QA histograms
155- registry.add (" hEventPosZ" , " hEventPosZ" , kTH1D , {{50 , -25 , 25 }});
156- registry.add (" hEventPosZDilepton" , " hEventPosZDilepton" , kTH1D , {{50 , -25 , 25 }});
157155 registry.add (" hEventPosZMuon" , " hEventPosZMuon" , kTH1D , {{50 , -25 , 25 }});
158- registry.add (" hEventPosZMuonSel" , " hEventPosZMuonSel" , kTH1D , {{50 , -25 , 25 }});
159- registry.add (" hEventPosZThreeMuon" , " hEventPosZThreeMuon" , kTH1D , {{50 , -25 , 25 }});
160- registry.add (" hEventPosZThreeMuonSel" , " hEventPosZThreeMuonSel" , kTH1D , {{50 , -25 , 25 }});
161-
162- registry.add (" hReducedIdMuon" , " hReducedIdMuon" , kTH1D , {{100 , -4.0 , 0.0 }});
163- registry.add (" hReducedIdMuonSel" , " hReducedIdMuonSel" , kTH1D , {{100 , -4.0 , 0.0 }});
164156 }
165157
166158 // Template function to run pair - muon combinations
@@ -177,37 +169,11 @@ struct DqJPsiMuonCorrelations {
177169 return ;
178170 }
179171
180- registry.fill (HIST (" hEventPosZ" ), event.posZ ());
181172 if (assocs.size () > 0 ) {
182173 registry.fill (HIST (" hEventPosZMuon" ), event.posZ ());
183-
184- int nSelected = 0 ;
185- for (auto & assoc : assocs) {
186- registry.fill (HIST (" hReducedIdMuon" ), assoc.reducedmuonId ());
187- if (assoc.isMuonSelected_bit (0 )) {
188- registry.fill (HIST (" hReducedIdMuonSel" ), assoc.reducedmuonId ());
189- nSelected++;
190- }
191- }
192- if (nSelected > 0 ) {
193- registry.fill (HIST (" hEventPosZMuonSel" ), event.posZ ());
194- }
195174 }
196- if (assocs.size () > 2 ) {
197- registry.fill (HIST (" hEventPosZThreeMuon" ), event.posZ ());
198175
199- int nSelected = 0 ;
200- for (auto & assoc : assocs) {
201- if (assoc.isMuonSelected_bit (0 )) {
202- nSelected++;
203- }
204- }
205- if (nSelected > 2 ) {
206- registry.fill (HIST (" hEventPosZThreeMuonSel" ), event.posZ ());
207- }
208- }
209176 if (dileptons.size () > 0 ) {
210- registry.fill (HIST (" hEventPosZDilepton" ), event.posZ ());
211177
212178 for (auto & dilepton : dileptons) {
213179 VarManager::FillTrack<fgDimuonsFillMap>(dilepton, fValuesDilepton );
0 commit comments