Go to the documentation of this file.
172 s <<
"[" << _type <<
"] " << _p <<
"; pt: " << _p.perp() <<
", eta: " << _p.eta() <<
", phi: " << _p.phi();
209 return p().perp2() < x.p().perp2();
double eta_sigma() const
Return the uncertainty in pseudorapidity .
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
void smear(Fourvec &v, CLHEP::HepRandomEngine &engine, bool do_smear_dir=false) const
Smear a four-momentum according to the resolutions.
void smear(CLHEP::HepRandomEngine &engine, bool smear_dir=false)
Smear this object.
double phi_sigma() const
Return the uncertainty in azimuthal angle .
double phi_sigma(const Fourvec &v) const
Calculate the azimuthal angle resolution of a four-momentum.
bool operator<(const Lepjets_Event_Lep &x) const
Comparison operator for sorting purpose, based on $p_{T}$.
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream.
Lepjets_Event_Lep(const Fourvec &p, int type, const Vector_Resolution &res)
Constructor, create a new instance of Lepjets_Event_Lep.
double p_sigma(const Fourvec &v) const
Calculate the momentum resolution of a four-momentum.
Fourvec & p()
Return a reference to the four-momentum.
int & type()
Return a reference to the type code.
const Vector_Resolution & res() const
Return a constant reference to the resolution.
double eta_sigma(const Fourvec &v) const
Calculate the pseudorapidity resolution of a four-momentum.
double p_sigma() const
Return the uncertainty in momentum or ( or if the lepton is a tracking object).
std::ostream & dump(std::ostream &s, bool full=false) const
Print the content of this object.
Represent a lepton in an instance of Lepjets_Event class.
Represent a lepton in an instance of Lepjets_Event class. This class hold the following information: