1 #ifndef ICHiggsTauTau_Candidate_hh
2 #define ICHiggsTauTau_Candidate_hh
4 #include "Math/Vector4D.h"
5 #include "Math/Vector4Dfwd.h"
15 typedef ROOT::Math::PtEtaPhiEVector Vector;
20 virtual void Print()
const;
31 inline Vector
const&
vector()
const {
return vector_; }
39 inline std::size_t
id()
const {
return id_; }
42 inline double pt()
const {
return vector_.Pt(); }
45 inline double eta()
const {
return vector_.Eta(); }
48 inline double phi()
const {
return vector_.Phi(); }
51 inline double energy()
const {
return vector_.E(); }
54 inline int charge()
const {
return charge_; }
57 inline double M()
const {
return vector_.M(); }
66 inline void set_id(std::size_t
const&
id) { id_ =
id; }
69 inline void set_pt(
double const&
pt) { vector_.SetPt(pt); }
72 inline void set_eta(
double const&
eta) { vector_.SetEta(eta); }
75 inline void set_phi(
double const&
phi) { vector_.SetPhi(phi); }
89 #ifndef SKIP_CINT_DICT
double energy() const
Direct access to the energy.
int charge() const
Electric charge.
void set_vector(Vector const &vector)
Four-momentum.
std::size_t id() const
Unique identifier.
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
Vector const & vector() const
Four-momentum.
void set_phi(double const &phi)
Direct access to .
void set_id(std::size_t const &id)
Unique identifier.
void set_charge(int const &charge)
Electric charge.
double phi() const
Direct access to .
double eta() const
Direct access to .
void set_energy(double const &energy)
Direct access to the energy.
std::vector< ic::Candidate > CandidateCollection
double M() const
Calculates the candidate mass.
virtual void Print() const
void set_pt(double const &pt)
Direct access to the .
void set_eta(double const &eta)
Direct access to .
double pt() const
Direct access to the .