This class stores a subset of the reco::PFTau properties which are most commonly used in analysis. More...
#include "UserCode/ICHiggsTauTau/interface/Tau.hh"
Public Member Functions | |
Tau () | |
virtual | ~Tau () |
virtual void | Print () const |
ClassDef (Tau, 3) | |
Properties | |
std::map< std::size_t, float > const & | tau_ids () const |
Get the map containing the hashed discriminator labels and corresponding values. More... | |
int const & | decay_mode () const |
The tau decay mode identifier. More... | |
float const & | lead_ecal_energy () const |
ECAL energy of the leading charged PF constituent. More... | |
float const & | lead_hcal_energy () const |
HCAL energy of the leading charged PF constituent. More... | |
float const & | lead_p () const |
Momentum of the leading charged PF constituent. More... | |
float const & | lead_dxy_vertex () const |
Transverse impact parameter of the leading charged constituent track with the primary vertex. More... | |
float const & | lead_dz_vertex () const |
Longitudinal impact parameter of the leading charged constituent track with the primary vertex. More... | |
double | vx () const |
The x-coordinate of the leading track PCA. More... | |
double | vy () const |
The y-coordinate of the leading track PCA. More... | |
double | vz () const |
The z-coordinate of the leading track PCA. More... | |
std::vector< std::size_t > const & | constituent_tracks () const |
A vector referring to the constituent track ic::Track::id() More... | |
std::vector< std::size_t > const & | sig_charged_cands () const |
A vector referring to the signal PFCandidates. More... | |
std::vector< std::size_t > const & | iso_charged_cands () const |
A vector referring to the isolation PFCandidates. More... | |
std::vector< std::size_t > const & | sig_gamma_cands () const |
A vector referring to the signal PFCandidates. More... | |
std::vector< std::size_t > const & | iso_gamma_cands () const |
A vector referring to the isolation PFCandidates. More... | |
Setters | |
void | set_tau_ids (std::map< std::size_t, float > const &tau_ids) |
Get the map containing the hashed discriminator labels and corresponding values. More... | |
void | set_decay_mode (int const &decay_mode) |
The tau decay mode identifier. More... | |
void | set_lead_ecal_energy (float const &lead_ecal_energy) |
ECAL energy of the leading charged PF constituent. More... | |
void | set_lead_hcal_energy (float const &lead_hcal_energy) |
HCAL energy of the leading charged PF constituent. More... | |
void | set_lead_p (float const &lead_p) |
Momentum of the leading charged PF constituent. More... | |
void | set_lead_dxy_vertex (float const &lead_dxy_vertex) |
Transverse impact parameter of the leading charged constituent track with the primary vertex. More... | |
void | set_lead_dz_vertex (float const &lead_dz_vertex) |
Longitudinal impact parameter of the leading charged constituent track with the primary vertex. More... | |
void | set_vx (double const &x) |
The x-coordinate of the leading track PCA. More... | |
void | set_vy (double const &y) |
The y-coordinate of the leading track PCA. More... | |
void | set_vz (double const &z) |
The z-coordinate of the leading track PCA. More... | |
void | set_constituent_tracks (std::vector< std::size_t > const &constituent_tracks) |
A vector referring to the constituent track ic::Track::id() More... | |
void | set_sig_charged_cands (std::vector< std::size_t > const &sig_charged_cands) |
A vector referring to the isolation PFCandidates. More... | |
void | set_iso_charged_cands (std::vector< std::size_t > const &iso_charged_cands) |
A vector referring to the isolation PFCandidates. More... | |
void | set_sig_gamma_cands (std::vector< std::size_t > const &sig_gamma_cands) |
A vector referring to the isolation PFCandidates. More... | |
void | set_iso_gamma_cands (std::vector< std::size_t > const &iso_gamma_cands) |
A vector referring to the isolation PFCandidates. More... | |
Tau discriminators | |
The Tau class contains a map for storing arbitrary pairs of hashed strings and floats, most commonly used for storing the output of the main tau discriminators. | |
void | SetTauID (std::string const &name, float const &value) |
Add a new entry, overwriting any existing one with the same name. More... | |
bool | HasTauID (std::string const &name) const |
Check if a value with label name has already been defined. More... | |
float | GetTauID (std::string const &name) const |
Get the value associated to a label. More... | |
Public Member Functions inherited from ic::Candidate | |
Candidate () | |
virtual | ~Candidate () |
ClassDef (Candidate, 2) | |
Vector const & | vector () const |
Four-momentum. More... | |
std::size_t | id () const |
Unique identifier. More... | |
double | pt () const |
Direct access to the \( p_{\text{T}} \). More... | |
double | eta () const |
Direct access to \( \eta \). More... | |
double | phi () const |
Direct access to \( \phi \). More... | |
double | energy () const |
Direct access to the energy. More... | |
int | charge () const |
Electric charge. More... | |
double | M () const |
Calculates the candidate mass. More... | |
void | set_vector (Vector const &vector) |
Four-momentum. More... | |
void | set_id (std::size_t const &id) |
Unique identifier. More... | |
void | set_pt (double const &pt) |
Direct access to the \( p_{\text{T}} \). More... | |
void | set_eta (double const &eta) |
Direct access to \( \eta \). More... | |
void | set_phi (double const &phi) |
Direct access to \( \phi \). More... | |
void | set_energy (double const &energy) |
Direct access to the energy. More... | |
void | set_charge (int const &charge) |
Electric charge. More... | |
This class stores a subset of the reco::PFTau properties which are most commonly used in analysis.
|
virtual |
Reimplemented from ic::Candidate.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
A vector referring to the constituent track ic::Track::id()
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
The tau decay mode identifier.
|
inline |
ECAL energy of the leading charged PF constituent.
|
inline |
HCAL energy of the leading charged PF constituent.
|
inline |
Momentum of the leading charged PF constituent.
|
inline |
Transverse impact parameter of the leading charged constituent track with the primary vertex.
|
inline |
Longitudinal impact parameter of the leading charged constituent track with the primary vertex.
|
inline |
The x-coordinate of the leading track PCA.
|
inline |
The y-coordinate of the leading track PCA.
|
inline |
The z-coordinate of the leading track PCA.
|
inline |
A vector referring to the constituent track ic::Track::id()
|
inline |
A vector referring to the isolation PFCandidates.
|
inline |
A vector referring to the isolation PFCandidates.
|
inline |
A vector referring to the isolation PFCandidates.
|
inline |
A vector referring to the isolation PFCandidates.
void ic::Tau::SetTauID | ( | std::string const & | name, |
float const & | value | ||
) |
Add a new entry, overwriting any existing one with the same name.
name | A label to identify the value, will be stored as a hash |
value | The value to associate to the label name |
bool ic::Tau::HasTauID | ( | std::string const & | name | ) | const |
float ic::Tau::GetTauID | ( | std::string const & | name | ) | const |
ic::Tau::ClassDef | ( | Tau | , |
3 | |||
) |