@@ -88,9 +88,9 @@ struct kstarInOO {
8888 Configurable<bool > cfgTrackGlobalWoDCATrack{" cfgTrackGlobalWoDCATrack" , true , " Global track selection without DCA" };
8989 // kQualityTracks (kTrackType | kTPCNCls | kTPCCrossedRows | kTPCCrossedRowsOverNCls | kTPCChi2NDF | kTPCRefit | kITSNCls | kITSChi2NDF | kITSRefit | kITSHits) | kInAcceptanceTracks (kPtRange | kEtaRange)
9090 // TPC
91- Configurable<double > cfgTrackFindableTPCClusters{" cfgTrackFindableTPCClusters" , 50 , " nFindable TPC Clusters" };
91+ Configurable<double > cfgTrackFindableTPCClusters{" cfgTrackFindableTPCClusters" , 0 , " nFindable TPC Clusters" }; // origin = 50
9292 Configurable<double > cfgTrackTPCCrossedRows{" cfgTrackTPCCrossedRows" , 70 , " nCrossed TPC Rows" };
93- Configurable<double > cfgTrackRowsOverFindable{" cfgTrackRowsOverFindable" , 1.2 , " nRowsOverFindable TPC CLusters" };
93+ Configurable<double > cfgTrackRowsOverFindable{" cfgTrackRowsOverFindable" , 0 , " nRowsOverFindable TPC CLusters" }; // origin = 1.2
9494 Configurable<double > cfgTrackTPCChi2{" cfgTrackTPCChi2" , 4.0 , " nTPC Chi2 per Cluster" };
9595
9696 // ITS
@@ -120,7 +120,6 @@ struct kstarInOO {
120120 // MCGen
121121 Configurable<bool > cfgForceGenReco{" cfgForceGenReco" , false , " Only consider events which are reconstructed (neglect event-loss)" };
122122 Configurable<bool > cfgReqMcEffPID{" cfgReqMcEffPID" , false , " Request McEfficiency PID" };
123- Configurable<bool > cfgReqMcEffTrackQA{" cfgRecMcEffTrackQA" , false , " Enable Jet Cut on Trig" };
124123
125124 // Pair
126125 Configurable<int > cfgMinvNBins{" cfgMinvNBins" , 300 , " Number of bins for Minv axis" };
@@ -258,8 +257,6 @@ struct kstarInOO {
258257 histos.add (" mcpjet_eta" , " MC particle-level Jet Eta" , kTH1F , {{100 , -1.0 , 1.0 }});
259258 histos.add (" mcpjet_phi" , " MC particle-level Jet Phi" , kTH1F , {{80 , -1.0 , 7.0 }});
260259
261- histos.add (" nJet_6_8" , " MC particle-level nJet pT 6 < jet pT < 8 (GeV/c)" , kTH1F , {{2000 , 0 ., 100 .}});
262-
263260 histos.add (" Gen_KstarPt_All_BR" , " Generated K*0 All pT (GeV/c)" , kTH1F , {{2000 , 0 ., 100 .}});
264261 histos.add (" Gen_Kstar_BR" , " Generated K*0 BR" , kTH1F , {minvAxis});
265262 histos.add (" Gen_KstarPt_BR" , " Generated K*0 pT (GeV/c)" , kTH1F , {{2000 , 0 ., 100 .}});
@@ -268,13 +265,15 @@ struct kstarInOO {
268265 histos.add (" dR_taggedjet_pion" , " dR between tagged jet and pion wo pT cut" , {HistType::kTH2F , {{100 , 0 ., 3.0 }, {150 , 0 ., 30 .}}});
269266 histos.add (" dR_taggedjet_all" , " dR between tagged jet and kpi" , {HistType::kTH2F , {{100 , 0 ., 3.0 }, {150 , 0 ., 30 .}}});
270267 histos.add (" dR_taggedjet_all_6_8" , " dR between tagged jet and kpi 6 < jet pT < 8" , {HistType::kTH2F , {{100 , 0 ., 3.0 }, {150 , 0 ., 30 .}}});
268+ histos.add (" dR_taggedjet_all_8_12" , " dR between tagged jet and kpi 8 < jet pT < 12" , {HistType::kTH2F , {{100 , 0 ., 3.0 }, {150 , 0 ., 30 .}}});
271269
272270 histos.add (" dR_kstar_pion" , " dR between kstar and pion" , {HistType::kTH2F , {{100 , 0 ., 3.0 }, {150 , 0 ., 30 .}}});
273271 histos.add (" dR_kstar_kaon" , " dR between kstar and kaon" , {HistType::kTH2F , {{100 , 0 ., 3.0 }, {150 , 0 ., 30 .}}});
274272
275273 histos.add (" Kstar_pT_INJet_6_8" , " K*0 pT Inside 6-8 Jet" , kTH1F , {{1000 , 0 ., 50 .}});
276274 histos.add (" Kstar_pT_INJet_8_10" , " K*0 pT Inside 8-10 Jet" , kTH1F , {{1000 , 0 ., 50 .}});
277275 histos.add (" Kstar_pT_INJet_10_12" , " K*0 pT Inside 10-12 Jet" , kTH1F , {{1000 , 0 ., 50 .}});
276+ histos.add (" Kstar_pT_INJet_8_12" , " K*0 pT Inside 8-12 Jet" , kTH1F , {{1000 , 0 ., 50 .}});
278277
279278 histos.add (" JetpT_8to" , " Jet pT 8 to" , kTH1F , {{2000 , 0 ., 100 .}});
280279 histos.add (" recoveredJetpT_6_8to8" , " Recovered Jet pT 6-8 --> 8" , kTH1F , {{2000 , 0 ., 100 .}});
@@ -336,7 +335,6 @@ struct kstarInOO {
336335
337336 histos.add (" hEffRecLowPtKstarDaughter" , " EffRecLow Kstar daughter_pT (GeV/c)" , kTH1F , {{800 , 0 ., 40 .}});
338337
339- histos.add (" hEffGen_pT" , " EffGen_pT (GeV/c)" , kTH1F , {{800 , 0 ., 40 .}});
340338 histos.add (" hMotherPdg1" , " hMotherPdg1" , kTH1F , {{5000 , 0 ., 5000 .}});
341339 histos.add (" hMotherPdg2" , " hMotherPdg2" , kTH1F , {{5000 , 0 ., 5000 .}});
342340 }
@@ -806,10 +804,10 @@ struct kstarInOO {
806804 return {};
807805 }
808806
809- if (isMIDCut && isMIDPion (trk1, QA )) {
807+ if (isMIDCut && isMIDPion (trk1, true )) {
810808 return {};
811809 }
812- if (isMIDCut && isMIDKaon (trk2, QA )) {
810+ if (isMIDCut && isMIDKaon (trk2, true )) {
813811 return {};
814812 }
815813
@@ -1316,11 +1314,11 @@ struct kstarInOO {
13161314 }
13171315 // ////////////////////////////
13181316 // ////////////////////////////
1319- if (cfgReqMcEffTrackQA) { // false, true
1320- if (!trackSelection (trk1, true ) || !trackSelection (trk2, false )) {
1321- continue ;
1322- }
1317+
1318+ if (!trackSelection (trk1, true ) || !trackSelection (trk2, false )) {
1319+ continue ;
13231320 }
1321+
13241322 // ////////////////////////////
13251323 // ////////////////////////////
13261324
@@ -1335,6 +1333,14 @@ struct kstarInOO {
13351333 if (cfgJetMCHistos) {
13361334 histos.fill (HIST (" hEffRecTest3_pT" ), lResonanceTest1.Pt ());
13371335 }
1336+
1337+ if (isMIDCut && isMIDPion (trk1, true )) {
1338+ continue ;
1339+ }
1340+ if (isMIDCut && isMIDKaon (trk2, true )) {
1341+ continue ;
1342+ }
1343+
13381344 auto particle1 = trk1.mcParticle ();
13391345 auto particle2 = trk2.mcParticle ();
13401346 // //////////////////////////////////////////////////////////////////////
@@ -1894,12 +1900,6 @@ struct kstarInOO {
18941900 continue ;
18951901 }
18961902
1897- if (bestJet.Pt () > 6.0 && bestJet.Pt () < 8.0 ) {
1898- if (cfgJetdRHistos) {
1899- histos.fill (HIST (" nJet_6_8" ), bestJet.Pt ());
1900- }
1901- }
1902-
19031903 // ==================
19041904 // daughters
19051905 double dR_kaon = 0 ;
@@ -1974,6 +1974,11 @@ struct kstarInOO {
19741974 if (bestJet.Pt () > 10.0 && bestJet.Pt () < 12.0 ) {
19751975 histos.fill (HIST (" Kstar_pT_INJet_10_12" ), lResonance.Pt ());
19761976 }
1977+ if (bestJet.Pt () > 8.0 && bestJet.Pt () < 12.0 ) {
1978+ histos.fill (HIST (" dR_taggedjet_all_8_12" ), dR_kaon, lResonance.Pt ());
1979+ histos.fill (HIST (" dR_taggedjet_all_8_12" ), dR_pion, lResonance.Pt ());
1980+ histos.fill (HIST (" Kstar_pT_INJet_8_12" ), lResonance.Pt ());
1981+ }
19771982
19781983 // Daughters out of jets
19791984 if (!isKaonInJet || !isPionInJet) {
0 commit comments