13 const std::vector<CandidateBaseRef>& fConstituents)
16 for (
unsigned i = 0;
i < fConstituents.size ();
i++)
addDaughter (fConstituents [
i]);
24 std::ostringstream
out;
25 out <<
"GenericJet p/px/py/pz/pt: " <<
p() <<
'/' <<
px () <<
'/' <<
py() <<
'/' <<
pz() <<
'/' <<
pt() << std::endl
26 <<
" eta/phi: " <<
eta () <<
'/' <<
phi () << std::endl
28 out <<
" No Constituents details available for this version" << std::endl;
virtual size_t numberOfDaughters() const
number of daughters
GenericJet()
Default constructor.
virtual double phi() const final
momentum azimuthal angle
virtual std::string print() const
Print object.
virtual double py() const final
y coordinate of momentum vector
virtual int nConstituents() const
of constituents
virtual double pz() const final
z coordinate of momentum vector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
virtual double p() const final
magnitude of momentum vector
virtual double px() const final
x coordinate of momentum vector
math::XYZPoint Point
point in the space
virtual double eta() const final
momentum pseudorapidity
void addDaughter(const CandidateBaseRef &)
add a daughter via a reference
virtual double pt() const final
transverse momentum