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