@@ -222,7 +222,11 @@ struct kstarInOO {
222222 histos.add (" QA_track_pT_AC" , " QA_track_pT_AC" , kTH1F , {{13 , 0.0 , 13.0 }});
223223 }
224224 if (cfgJetQAHistos) {
225- histos.add (" nTriggerQA" , " nTriggerQA" , kTH1F , {{7 , 0.0 , 7.0 }});
225+ histos.add (" nTriggerQA" , " nTriggerQA" , kTH1F , {{8 , 0.0 , 8.0 }});
226+ histos.add (" nTriggerQA_GoodEv" , " nTriggerQA_GoodEv" , kTH1F , {{8 , 0.0 , 8.0 }});
227+ histos.add (" nTriggerQA_GoodTrig" , " nTriggerQA_GoodTrig" , kTH1F , {{8 , 0.0 , 8.0 }});
228+ histos.add (" nTriggerQA_GoodEvTrig" , " nTriggerQA_GoodEvTrig" , kTH1F , {{8 , 0.0 , 8.0 }});
229+
226230 histos.add (" JetpT" , " Jet pT (GeV/c)" , kTH1F , {{4000 , 0 ., 200 .}});
227231 histos.add (" JetEta" , " Jet Eta" , kTH1F , {{100 , -1.0 , 1.0 }});
228232 histos.add (" JetPhi" , " Jet Phi" , kTH1F , {{80 , -1.0 , 7.0 }});
@@ -1149,12 +1153,10 @@ struct kstarInOO {
11491153
11501154 if (!jetderiveddatautilities::selectTrigger (collision, RealTriggerMaskBits))
11511155 return ;
1152-
1153- histos.fill (HIST (" nEvents" ), 1.5 ); // Before passing the condition
1154-
11551156 if (!jetderiveddatautilities::selectCollision (collision, eventSelectionBits)) {
11561157 return ;
11571158 }
1159+ histos.fill (HIST (" nEvents" ), 1.5 ); // Before passing the condition
11581160
11591161 bool INELgt0 = false ;
11601162 for (auto & jetTrack : jetTracks) {
@@ -1571,22 +1573,31 @@ struct kstarInOO {
15711573 // check K* PID
15721574 if (goodEv) {
15731575 histos.fill (HIST (" hGen_pT_GoodEv" ), particle.pt ());
1574- }
1576+
1577+ } // goodEv
1578+
15751579 if (goodTrig) {
15761580 histos.fill (HIST (" hGen_pT_GoodTrig" ), particle.pt ());
1577- }
1581+
1582+ } // goodTrig
1583+
15781584 if (goodEv && goodTrig) {
15791585 histos.fill (HIST (" hGen_pT_GoodEvTrig" ), particle.pt ());
1580- }
1586+
1587+ if (cfgJetQAHistos) {
1588+ histos.fill (HIST (" nTriggerQA" ), 7.5 );
1589+ }
1590+
1591+ } // goodEvTrig
15811592 } // cfgJetMCHistos
15821593 } // mcParticles
15831594 } // recocolls (=reconstructed collisions)
15841595
15851596 // =================
15861597 // || Efficiency
15871598 // =================
1588- if (fabs (collision.posZ ()) > cfgEventVtxCut)
1589- return ;
1599+ // if (fabs(collision.posZ()) > cfgEventVtxCut)
1600+ // return;
15901601
15911602 for (auto & recocoll : recocolls) { // poorly reconstructed
15921603 auto goodEv = jetderiveddatautilities::selectCollision (recocoll, eventSelectionBits);
0 commit comments