@@ -231,6 +231,7 @@ struct StrangenessInJets {
231231
232232 // Event counter
233233 registryMC.add (" number_of_events_mc_gen" , " number of gen events in mc" , HistType::kTH1D , {{10 , 0 , 10 , " Event Cuts" }});
234+ registryMC.add (" number_of_events_vsmultiplicity" , " number of events vs multiplicity" , HistType::kTH1D , {{101 , 0 , 101 , " Multiplicity percentile" }});
234235
235236 // Histograms for analysis
236237 switch (particleOfInterest) {
@@ -268,6 +269,7 @@ struct StrangenessInJets {
268269
269270 // Event counter
270271 registryMC.add (" number_of_events_mc_rec" , " number of rec events in mc" , HistType::kTH1D , {{10 , 0 , 10 , " Event Cuts" }});
272+ registryMC.add (" number_of_events_vsmultiplicity" , " number of events vs multiplicity" , HistType::kTH1D , {{101 , 0 , 101 , " Multiplicity percentile" }});
271273
272274 // Histograms for analysis
273275 switch (particleOfInterest) {
@@ -1249,6 +1251,7 @@ struct StrangenessInJets {
12491251 if (jetMinusBkg.pt () < minJetPt)
12501252 continue ;
12511253 registryMC.fill (HIST (" number_of_events_mc_gen" ), 4.5 );
1254+ registryMC.fill (HIST (" number_of_events_vsmultiplicity" ), genMultiplicity);
12521255
12531256 // Set up two perpendicular cone axes for underlying event estimation
12541257 TVector3 jetAxis (jet.px (), jet.py (), jet.pz ());
@@ -1534,6 +1537,7 @@ struct StrangenessInJets {
15341537
15351538 // Fill event counter for events with at least one selected jet
15361539 registryMC.fill (HIST (" number_of_events_mc_rec" ), 4.5 );
1540+ registryMC.fill (HIST (" number_of_events_vsmultiplicity" ), multiplicity);
15371541
15381542 // Loop over selected jets
15391543 for (int i = 0 ; i < static_cast <int >(selectedJet.size ()); i++) {
0 commit comments