Skip to content

Commit 1a29237

Browse files
author
jimun_lee
committed
added isMIDDaughters function
1 parent 53a2209 commit 1a29237

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

PWGLF/Tasks/Resonances/kstarInOO.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,6 @@ struct kstarInOO {
18151815
if (bestR < cfgJetdR) {
18161816
histos.fill(HIST("dR_taggedjet_all"), dR_kaon, lResonance.Pt());
18171817
histos.fill(HIST("dR_taggedjet_all"), dR_pion, lResonance.Pt());
1818-
18191818
histos.fill(HIST("dR_taggedjet_kaon"), dR_kaon, lResonance.Pt());
18201819
histos.fill(HIST("dR_taggedjet_pion"), dR_pion, lResonance.Pt());
18211820

@@ -1831,6 +1830,7 @@ struct kstarInOO {
18311830
if (bestJet.Pt() > 10.0 && bestJet.Pt() < 12.0)
18321831
histos.fill(HIST("Kstar_pT_INJet_10_12"), lResonance.Pt());
18331832

1833+
// Daughters out of jets
18341834
if (!isKaonInJet || !isPionInJet) {
18351835
ROOT::Math::PxPyPzEVector recoveredJet = bestJet + missing_daughter;
18361836
if (bestJet.Pt() > 6.0 && bestJet.Pt() < 8.0) {
@@ -1843,7 +1843,6 @@ struct kstarInOO {
18431843
if (recoveredJet.Pt() > 8.0 && recoveredJet.Pt() < 10.0)
18441844
histos.fill(HIST("Kstar_pT_6_8to8_10_IN_recoveredJet"), lResonance.Pt());
18451845
} // 6 < bestJetpT < 8 GeV/c
1846-
18471846
if (bestJet.Pt() > 8.0 && bestJet.Pt() < 10.0)
18481847
histos.fill(HIST("missed_kpi_INJets_8_10"), (bestJet.Pt() - missing_daughter.Pt()) / bestJet.Pt(), lResonance.Pt());
18491848
if (bestJet.Pt() > 10.0 && bestJet.Pt() < 12.0)
@@ -1859,7 +1858,6 @@ struct kstarInOO {
18591858
histos.fill(HIST("missed_kpi_INJets_8_infinite"), (bestJet.Pt() - missing_daughter.Pt()) / bestJet.Pt(), lResonance.Pt());
18601859

18611860
histos.fill(HIST("JetMigration"), bestJet.Pt(), recoveredJet.Pt());
1862-
18631861
} // Daughters out of jet
18641862
} // K*0 InJet
18651863
} // cfgJetdRHistos

0 commit comments

Comments
 (0)