1 #ifndef ICHiggsTauTau_Tau_hh
2 #define ICHiggsTauTau_Tau_hh
6 #include "Math/Point3D.h"
7 #include "Math/Point3Dfwd.h"
19 typedef std::map<std::size_t, float> UFmap;
20 typedef ROOT::Math::XYZPoint Point;
25 virtual void Print()
const;
30 inline std::map<std::size_t, float>
const&
tau_ids()
const {
37 inline int const&
decay_mode()
const {
return decay_mode_; }
46 inline float const&
lead_p()
const {
return lead_p_; }
57 inline double vx()
const {
return ref_point_.x(); }
60 inline double vy()
const {
return ref_point_.y(); }
63 inline double vz()
const {
return ref_point_.z(); }
67 return constituent_tracks_;
72 return sig_charged_cands_;
77 return iso_charged_cands_;
82 return sig_gamma_cands_;
87 return iso_gamma_cands_;
127 inline void set_vx(
double const& x) { ref_point_.SetX(x); }
130 inline void set_vy(
double const& y) { ref_point_.SetY(y); }
133 inline void set_vz(
double const& z) { ref_point_.SetZ(z); }
177 void SetTauID(std::string
const& name,
float const& value);
183 bool HasTauID(std::string
const& name)
const;
189 float GetTauID(std::string
const& name)
const;
197 float lead_ecal_energy_;
198 float lead_hcal_energy_;
200 float lead_dxy_vertex_;
201 float lead_dz_vertex_;
205 std::vector<std::size_t> constituent_tracks_;
206 std::vector<std::size_t> sig_charged_cands_;
207 std::vector<std::size_t> iso_charged_cands_;
208 std::vector<std::size_t> sig_gamma_cands_;
209 std::vector<std::size_t> iso_gamma_cands_;
211 #ifndef SKIP_CINT_DICT
void set_iso_gamma_cands(std::vector< std::size_t > const &iso_gamma_cands)
A vector referring to the isolation PFCandidates.
float const & lead_dz_vertex() const
Longitudinal impact parameter of the leading charged constituent track with the primary vertex...
void set_lead_ecal_energy(float const &lead_ecal_energy)
ECAL energy of the leading charged PF constituent.
void set_tau_ids(std::map< std::size_t, float > const &tau_ids)
Get the map containing the hashed discriminator labels and corresponding values.
void SetTauID(std::string const &name, float const &value)
Add a new entry, overwriting any existing one with the same name.
std::vector< std::size_t > const & iso_charged_cands() const
A vector referring to the isolation PFCandidates.
float const & lead_dxy_vertex() const
Transverse impact parameter of the leading charged constituent track with the primary vertex...
std::vector< std::size_t > const & constituent_tracks() const
A vector referring to the constituent track ic::Track::id()
void set_sig_gamma_cands(std::vector< std::size_t > const &sig_gamma_cands)
A vector referring to the isolation PFCandidates.
std::vector< std::size_t > const & sig_gamma_cands() const
A vector referring to the signal PFCandidates.
double vz() const
The z-coordinate of the leading track PCA.
std::map< std::size_t, float > const & tau_ids() const
Get the map containing the hashed discriminator labels and corresponding values.
void set_lead_hcal_energy(float const &lead_hcal_energy)
HCAL energy of the leading charged PF constituent.
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
void set_lead_dz_vertex(float const &lead_dz_vertex)
Longitudinal impact parameter of the leading charged constituent track with the primary vertex...
float const & lead_ecal_energy() const
ECAL energy of the leading charged PF constituent.
void set_constituent_tracks(std::vector< std::size_t > const &constituent_tracks)
A vector referring to the constituent track ic::Track::id()
void set_sig_charged_cands(std::vector< std::size_t > const &sig_charged_cands)
A vector referring to the isolation PFCandidates.
float const & lead_p() const
Momentum of the leading charged PF constituent.
std::vector< ic::Tau > TauCollection
int const & decay_mode() const
The tau decay mode identifier.
void set_lead_p(float const &lead_p)
Momentum of the leading charged PF constituent.
void set_vz(double const &z)
The z-coordinate of the leading track PCA.
void set_vy(double const &y)
The y-coordinate of the leading track PCA.
virtual void Print() const
double vx() const
The x-coordinate of the leading track PCA.
std::vector< std::size_t > const & iso_gamma_cands() const
A vector referring to the isolation PFCandidates.
bool HasTauID(std::string const &name) const
Check if a value with label name has already been defined.
void set_vx(double const &x)
The x-coordinate of the leading track PCA.
void set_lead_dxy_vertex(float const &lead_dxy_vertex)
Transverse impact parameter of the leading charged constituent track with the primary vertex...
float GetTauID(std::string const &name) const
Get the value associated to a label.
double vy() const
The y-coordinate of the leading track PCA.
void set_decay_mode(int const &decay_mode)
The tau decay mode identifier.
float const & lead_hcal_energy() const
HCAL energy of the leading charged PF constituent.
void set_iso_charged_cands(std::vector< std::size_t > const &iso_charged_cands)
A vector referring to the isolation PFCandidates.
std::vector< std::size_t > const & sig_charged_cands() const
A vector referring to the signal PFCandidates.
This class stores a subset of the reco::PFTau properties which are most commonly used in analysis...