Go to the source code of this file.
Definition at line 76 of file FlavorHistory.cc.
References reco::FlavorHistory::flavorSource(), reco::FlavorHistory::hasMatchedJet(), reco::FlavorHistory::hasParton(), reco::FlavorHistory::hasProgenitor(), reco::FlavorHistory::hasSister(), reco::FlavorHistory::hasSisterJet(), edm::Ptr< T >::key(), reco::FlavorHistory::matchedJet(), reco::Candidate::mother(), reco::Candidate::numberOfMothers(), dbtoconf::out, reco::FlavorHistory::parton(), reco::FlavorHistory::progenitor(), reco::FlavorHistory::sister(), and reco::FlavorHistory::sisterJet().
78 out <<
"Source = " << cand.flavorSource() << endl;
79 if ( cand.hasParton() )
80 out <<
"Parton = " << cand.parton().key() <<
" : " << *(cand.parton()) << endl;
81 if ( cand.hasProgenitor() )
82 out <<
"Progenitor = " << cand.progenitor().key() <<
" : " << *(cand.progenitor()) << endl;
83 if ( cand.hasSister() )
84 out <<
"Sister = " << cand.sister().key() <<
" : " << *(cand.sister()) << endl;
85 if ( cand.hasMatchedJet() )
86 out <<
"jet = " << cand.matchedJet() << endl;
87 if ( cand.hasSisterJet() )
88 out <<
"sister jet = " << cand.sisterJet() << endl;
89 if ( cand.hasParton() ) {
90 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)