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