15 : flavorSource_(flavorSource),
17 progenitor_(progenitor),
19 matchedJet_(matchedJet),
20 sisterJet_(sisterJet) {}
29 : flavorSource_(flavorSource),
30 parton_(parton >= 0 && static_cast<unsigned
int>(parton) < h_partons->
size() ?
CandidatePtr(h_partons, parton)
32 progenitor_(progenitor >= 0 && static_cast<unsigned
int>(progenitor) < h_partons->
size()
35 sister_(sister >= 0 && static_cast<unsigned
int>(sister) < h_partons->
size() ?
CandidatePtr(h_partons, sister)
37 matchedJet_(matchedJet),
38 sisterJet_(sisterJet) {}
47 : flavorSource_(flavorSource),
48 parton_(parton >= 0 && static_cast<unsigned
int>(parton) < h_partons->
size() ?
CandidatePtr(h_partons, parton)
50 progenitor_(progenitor >= 0 && static_cast<unsigned
int>(progenitor) < h_partons->
size()
53 sister_(sister >= 0 && static_cast<unsigned
int>(sister) < h_partons->
size() ?
CandidatePtr(h_partons, sister)
55 matchedJet_(matchedJet),
56 sisterJet_(sisterJet) {}
61 "%5d, status = %5d, nmo = %5d, nda = %5d, pt = %6.2f, eta = %6.2f, phi = %6.2f, m = %6.2f",
64 static_cast<int>(
cand.numberOfMothers()),
65 static_cast<int>(
cand.numberOfDaughters()),
75 out <<
"Source = " <<
cand.flavorSource() << endl;
77 out <<
"Parton = " <<
cand.parton().key() <<
" : " << *(
cand.parton()) << endl;
78 if (
cand.hasProgenitor())
79 out <<
"Progenitor = " <<
cand.progenitor().key() <<
" : " << *(
cand.progenitor()) << endl;
81 out <<
"Sister = " <<
cand.sister().key() <<
" : " << *(
cand.sister()) << endl;
82 if (
cand.hasMatchedJet())
83 out <<
"jet = " <<
cand.matchedJet() << endl;
84 if (
cand.hasSisterJet())
85 out <<
"sister jet = " <<
cand.sisterJet() << endl;
86 if (
cand.hasParton()) {
87 out <<
"Ancestry: " << endl;