9 if (
z.numberOfDaughters() < 2)
10 throw cms::Exception(
"RuntimeError") <<
"calling helper function reco::zMCLeptonDaughters passing a Z candidate" 11 "with less than 2 daughters (" 12 <<
z.numberOfDaughters() <<
").\n";
31 return make_pair(dau0, dau1);
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual int status() const =0
status word
virtual size_type numberOfDaughters() const =0
number of daughters
Abs< T >::type abs(const T &t)
virtual int pdgId() const =0
PDG identifier.
pair< const Candidate *, const Candidate * > zMCLeptonDaughters(const Candidate &z, int leptonPdgId)