Skip to content

Commit d8558f8

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

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

PWGLF/Tasks/Resonances/kstarInOO.cxx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,10 @@ struct kstarInOO {
17641764

17651765
//==================
17661766
// daughters
1767-
double dR_kaon, dR_pion, dR_k_kstar, dR_pi_kstar;
1767+
double dR_kaon = 0;
1768+
double dR_pion = 0;
1769+
double dR_k_kstar = 0;
1770+
double dR_pi_kstar = 0;
17681771
bool isKaonInJet = false;
17691772
bool isPionInJet = false;
17701773
ROOT::Math::PxPyPzEVector Daughter, missing_daughter;
@@ -1830,7 +1833,7 @@ struct kstarInOO {
18301833
if (bestJet.Pt() > 10.0 && bestJet.Pt() < 12.0)
18311834
histos.fill(HIST("Kstar_pT_INJet_10_12"), lResonance.Pt());
18321835

1833-
// Daughters out of jets
1836+
// Daughters out of jets
18341837
if (!isKaonInJet || !isPionInJet) {
18351838
ROOT::Math::PxPyPzEVector recoveredJet = bestJet + missing_daughter;
18361839
if (bestJet.Pt() > 6.0 && bestJet.Pt() < 8.0) {

0 commit comments

Comments
 (0)