1 #ifndef HLTReco_TriggerObject_h 2 #define HLTReco_TriggerObject_h 36 id_(id), pt_(pt), eta_(eta), phi_(phi), mass_(mass) { }
41 id_(id), pt_(o.
pt()), eta_(o.
eta()), phi_(o.
phi()), mass_(o.
mass()) { }
63 float pz()
const {
return pt_*std::sinh(eta_);}
64 float p ()
const {
return pt_*std::cosh(eta_);}
71 int status=0,
bool integerCharge=
true)
const {
74 vertex,
id(),
status,integerCharge);
Sin< T >::type sin(const T &t)
reco::Particle particle(reco::Particle::Charge q=0, const reco::Particle::Point &vertex=reco::Particle::Point(0, 0, 0), int status=0, bool integerCharge=true) const
int Charge
electric charge type
void setId(int id)
setters
Cos< T >::type cos(const T &t)
math::XYZPoint Point
point in the space
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
TriggerObject(int id, float pt, float eta, float phi, float mass)
TriggerObject(const T &o)
... and pdgId()
int id_
data members - similar to DataFormats/Candidate/interface/Particle.h
math::XYZTLorentzVector LorentzVector
Lorentz vector.
TriggerObject(int id, const T &o)
any type T object implementing the methods pt(), eta(), phi(), mass()
Power< A, B >::type pow(const A &a, const B &b)
float pt_
4-momentum of physics object