1 #ifndef HLTReco_TriggerObject_h 2 #define HLTReco_TriggerObject_h 34 : id_(id), pt_(pt), eta_(eta), phi_(phi), mass_(mass) {}
52 float pt()
const {
return pt_; }
59 float pz()
const {
return pt_ * std::sinh(eta_); }
60 float p()
const {
return pt_ * std::cosh(eta_); }
68 bool integerCharge =
true)
const {
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