Go to the source code of this file.
◆ operator<<() [1/2]
ostream& operator<< |
( |
ostream & |
out, |
|
|
Candidate const & |
cand |
|
) |
| |
Definition at line 58 of file FlavorHistory.cc.
References MillePedeFileConverter_cfg::out.
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()),
◆ operator<<() [2/2]
ostream& operator<< |
( |
ostream & |
out, |
|
|
FlavorHistory const & |
cand |
|
) |
| |
Definition at line 74 of file FlavorHistory.cc.
References reco::Candidate::mother(), reco::Candidate::numberOfMothers(), and MillePedeFileConverter_cfg::out.
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;
virtual const Candidate * mother(size_type i=0) const =0
return pointer to mother
virtual size_type numberOfMothers() const =0
number of mothers (zero or one in most of but not all the cases)