Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ic::CaloJet Class Reference

Derived from the ic::Jet class and adding information specific to calorimeter jets. More...

#include "UserCode/ICHiggsTauTau/interface/CaloJet.hh"

+ Inheritance diagram for ic::CaloJet:

Public Member Functions

 CaloJet ()
 
virtual ~CaloJet ()
 
virtual void Print () const
 
 ClassDef (CaloJet, 2)
 
Properties
float const & max_em_tower_energy () const
 Maximum energy deposited in the ECAL towers. More...
 
float const & max_had_tower_energy () const
 Maximum energy deposited in the HCAL towers. More...
 
float const & energy_frac_had () const
 Hadronic fraction of the jet energy. More...
 
float const & energy_frac_em () const
 Electromagnetic fraction of the jet energy. More...
 
float const & had_energy_HB () const
 Hadronic energy in the HB detector. More...
 
float const & had_energy_HO () const
 Hadronic energy in the HO detector. More...
 
float const & had_energy_HE () const
 Hadronic energy in the HE detector. More...
 
float const & had_energy_HF () const
 Hadronic energy in the HF detector. More...
 
float const & em_energy_EB () const
 Electromagnetic energy in the EB detector. More...
 
float const & em_energy_EE () const
 Electromagnetic energy in the EE detector. More...
 
float const & em_energy_HF () const
 Electromagnetic energy in the HF detector. More...
 
float const & towers_area () const
 Area of towers contributing to the jet. More...
 
int const & n90 () const
 Number of constituents carrying 90% of the jet energy. More...
 
int const & n60 () const
 Number of constituents carrying 60% of the jet energy. More...
 
float const & fHPD () const
 Fraction of energy carried by the "hottest" HPD (hybrid photodiode) More...
 
float const & fRBX () const
 Fraction of energy carried by the "hottest" RBX (readout box) More...
 
bool const & id_loose () const
 Flag indicates if the jet passes the loose ID. More...
 
bool const & id_tight () const
 Flag indicates if the jet passes the tight ID. More...
 
Setters
void set_max_em_tower_energy (float const &max_em_tower_energy)
 Maximum energy deposited in the ECAL towers. More...
 
void set_max_had_tower_energy (float const &max_had_tower_energy)
 Maximum energy deposited in the HCAL towers. More...
 
void set_energy_frac_had (float const &energy_frac_had)
 Hadronic fraction of the jet energy. More...
 
void set_energy_frac_em (float const &energy_frac_em)
 Electromagnetic fraction of the jet energy. More...
 
void set_had_energy_HB (float const &had_energy_HB)
 Hadronic energy in the HB detector. More...
 
void set_had_energy_HO (float const &had_energy_HO)
 Hadronic energy in the HO detector. More...
 
void set_had_energy_HE (float const &had_energy_HE)
 Hadronic energy in the HE detector. More...
 
void set_had_energy_HF (float const &had_energy_HF)
 Hadronic energy in the HF detector. More...
 
void set_em_energy_EB (float const &em_energy_EB)
 Electromagnetic energy in the EB detector. More...
 
void set_em_energy_EE (float const &em_energy_EE)
 Electromagnetic energy in the EE detector. More...
 
void set_em_energy_HF (float const &em_energy_HF)
 Electromagnetic energy in the HF detector. More...
 
void set_towers_area (float const &towers_area)
 Area of towers contributing to the jet. More...
 
void set_n90 (int const &n90)
 Number of constituents carrying 90% of the jet energy. More...
 
void set_n60 (int const &n60)
 Number of constituents carrying 60% of the jet energy. More...
 
void set_fHPD (float const &fHPD)
 Fraction of energy carried by the "hottest" HPD (hybrid photodiode) More...
 
void set_fRBX (float const &fRBX)
 Fraction of energy carried by the "hottest" RBX (readout box) More...
 
void set_id_loose (bool const &id_loose)
 Flag indicates if the jet passes the loose ID. More...
 
void set_id_tight (bool const &id_tight)
 Flag indicates if the jet passes the tight ID. More...
 
- Public Member Functions inherited from ic::Jet
 Jet ()
 
virtual ~Jet ()
 
 ClassDef (Jet, 3)
 
std::map< std::size_t, float >
const & 
jec_factors () const
 A map containing the jet energy corrections, where the key is stored as a hash of the identifying string. More...
 
std::map< std::size_t, float >
const & 
b_discriminators () const
 A map containing the b-tagging discriminators, where the key is stored as a hash of the identifying string. More...
 
std::vector< std::size_t > const & gen_particles () const
 A vector to refer to ic::GenParticle::id() values. More...
 
std::vector< std::size_t > const & secondary_vertices () const
 A map containing the b-tagging discriminators, where the key is stored as a hash of the identifying string. More...
 
double const & uncorrected_energy () const
 The raw value of the jet energy. More...
 
float const & jet_area () const
 The jet area as used in the L1FastJet correction. More...
 
int const & parton_flavour () const
 An algorithmic determination of the true flavour of the jet, e.g. gluon, light, c or b quark. This is defined only in simulation and returns a PDG code. More...
 
int const & hadron_flavour () const
 Returns true flavour of jet as PDG code. The hadronic definition can only return 0, 4 or 5. More...
 
float GetJecFactor (std::string const &name) const
 Returns a specific correction factor if name is defined, otherwise returns zero. More...
 
float GetBDiscriminator (std::string const &name) const
 Returns a specific discriminator value if name is defined, otherwise returns zero. More...
 
void set_jec_factors (std::map< std::size_t, float > const &jec_factors)
 A map containing the jet energy corrections, where the key is stored as a hash of the identifying string. More...
 
void set_b_discriminators (std::map< std::size_t, float > const &b_discriminators)
 A map containing the b-tagging discriminators, where the key is stored as a hash of the identifying string. More...
 
void set_gen_particles (std::vector< std::size_t > const &gen_particles)
 A vector to refer to ic::GenParticle::id() values. More...
 
void set_secondary_vertices (std::vector< std::size_t > const &secondary_vertices)
 A map containing the b-tagging discriminators, where the key is stored as a hash of the identifying string. More...
 
void set_uncorrected_energy (double const &uncorrected_energy)
 The raw value of the jet energy. More...
 
void set_jet_area (float const &jet_area)
 The jet area as used in the L1FastJet correction. More...
 
void set_parton_flavour (int const &parton_flavour)
 An algorithmic determination of the true flavour of the jet, e.g. gluon, light, c or b quark. This is defined only in simulation and returns a PDG code. More...
 
void set_hadron_flavour (int const &hadron_flavour)
 Returns true flavour of jet as PDG code. The hadronic definition can only return 0, 4 or 5. More...
 
void SetJecFactor (std::string const &name, float const &value)
 Store a jet energy correction factor, overwriting any existing value with label name More...
 
void SetBDiscriminator (std::string const &name, float const &value)
 Store a b-tagging discriminator, overwriting any existing value with label name 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...
 

Detailed Description

Derived from the ic::Jet class and adding information specific to calorimeter jets.

Examples:
plugins/ICJetDestHelper.hh, and plugins/ICJetProducer.hh.

Definition at line 15 of file CaloJet.hh.

Constructor & Destructor Documentation

ic::CaloJet::CaloJet ( )

Definition at line 4 of file CaloJet.cc.

ic::CaloJet::~CaloJet ( )
virtual

Definition at line 25 of file CaloJet.cc.

Member Function Documentation

void ic::CaloJet::Print ( ) const
virtual

Reimplemented from ic::Jet.

Reimplemented in ic::JPTJet.

Definition at line 27 of file CaloJet.cc.

float const& ic::CaloJet::max_em_tower_energy ( ) const
inline

Maximum energy deposited in the ECAL towers.

Definition at line 24 of file CaloJet.hh.

float const& ic::CaloJet::max_had_tower_energy ( ) const
inline

Maximum energy deposited in the HCAL towers.

Definition at line 29 of file CaloJet.hh.

float const& ic::CaloJet::energy_frac_had ( ) const
inline

Hadronic fraction of the jet energy.

Definition at line 34 of file CaloJet.hh.

float const& ic::CaloJet::energy_frac_em ( ) const
inline

Electromagnetic fraction of the jet energy.

Definition at line 37 of file CaloJet.hh.

float const& ic::CaloJet::had_energy_HB ( ) const
inline

Hadronic energy in the HB detector.

Definition at line 40 of file CaloJet.hh.

float const& ic::CaloJet::had_energy_HO ( ) const
inline

Hadronic energy in the HO detector.

Definition at line 43 of file CaloJet.hh.

float const& ic::CaloJet::had_energy_HE ( ) const
inline

Hadronic energy in the HE detector.

Definition at line 46 of file CaloJet.hh.

float const& ic::CaloJet::had_energy_HF ( ) const
inline

Hadronic energy in the HF detector.

Definition at line 49 of file CaloJet.hh.

float const& ic::CaloJet::em_energy_EB ( ) const
inline

Electromagnetic energy in the EB detector.

Definition at line 52 of file CaloJet.hh.

float const& ic::CaloJet::em_energy_EE ( ) const
inline

Electromagnetic energy in the EE detector.

Definition at line 55 of file CaloJet.hh.

float const& ic::CaloJet::em_energy_HF ( ) const
inline

Electromagnetic energy in the HF detector.

Definition at line 58 of file CaloJet.hh.

float const& ic::CaloJet::towers_area ( ) const
inline

Area of towers contributing to the jet.

Definition at line 61 of file CaloJet.hh.

int const& ic::CaloJet::n90 ( ) const
inline

Number of constituents carrying 90% of the jet energy.

Definition at line 64 of file CaloJet.hh.

int const& ic::CaloJet::n60 ( ) const
inline

Number of constituents carrying 60% of the jet energy.

Definition at line 67 of file CaloJet.hh.

float const& ic::CaloJet::fHPD ( ) const
inline

Fraction of energy carried by the "hottest" HPD (hybrid photodiode)

Definition at line 70 of file CaloJet.hh.

float const& ic::CaloJet::fRBX ( ) const
inline

Fraction of energy carried by the "hottest" RBX (readout box)

Definition at line 73 of file CaloJet.hh.

bool const& ic::CaloJet::id_loose ( ) const
inline

Flag indicates if the jet passes the loose ID.

Definition at line 76 of file CaloJet.hh.

bool const& ic::CaloJet::id_tight ( ) const
inline

Flag indicates if the jet passes the tight ID.

Definition at line 79 of file CaloJet.hh.

void ic::CaloJet::set_max_em_tower_energy ( float const &  max_em_tower_energy)
inline

Maximum energy deposited in the ECAL towers.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 85 of file CaloJet.hh.

void ic::CaloJet::set_max_had_tower_energy ( float const &  max_had_tower_energy)
inline

Maximum energy deposited in the HCAL towers.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 90 of file CaloJet.hh.

void ic::CaloJet::set_energy_frac_had ( float const &  energy_frac_had)
inline

Hadronic fraction of the jet energy.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 95 of file CaloJet.hh.

void ic::CaloJet::set_energy_frac_em ( float const &  energy_frac_em)
inline

Electromagnetic fraction of the jet energy.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 100 of file CaloJet.hh.

void ic::CaloJet::set_had_energy_HB ( float const &  had_energy_HB)
inline

Hadronic energy in the HB detector.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 105 of file CaloJet.hh.

void ic::CaloJet::set_had_energy_HO ( float const &  had_energy_HO)
inline

Hadronic energy in the HO detector.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 110 of file CaloJet.hh.

void ic::CaloJet::set_had_energy_HE ( float const &  had_energy_HE)
inline

Hadronic energy in the HE detector.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 115 of file CaloJet.hh.

void ic::CaloJet::set_had_energy_HF ( float const &  had_energy_HF)
inline

Hadronic energy in the HF detector.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 120 of file CaloJet.hh.

void ic::CaloJet::set_em_energy_EB ( float const &  em_energy_EB)
inline

Electromagnetic energy in the EB detector.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 125 of file CaloJet.hh.

void ic::CaloJet::set_em_energy_EE ( float const &  em_energy_EE)
inline

Electromagnetic energy in the EE detector.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 130 of file CaloJet.hh.

void ic::CaloJet::set_em_energy_HF ( float const &  em_energy_HF)
inline

Electromagnetic energy in the HF detector.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 135 of file CaloJet.hh.

void ic::CaloJet::set_towers_area ( float const &  towers_area)
inline

Area of towers contributing to the jet.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 140 of file CaloJet.hh.

void ic::CaloJet::set_n90 ( int const &  n90)
inline

Number of constituents carrying 90% of the jet energy.

Examples:
plugins/ICJetProducer.hh.

Definition at line 145 of file CaloJet.hh.

void ic::CaloJet::set_n60 ( int const &  n60)
inline

Number of constituents carrying 60% of the jet energy.

Examples:
plugins/ICJetProducer.hh.

Definition at line 148 of file CaloJet.hh.

void ic::CaloJet::set_fHPD ( float const &  fHPD)
inline

Fraction of energy carried by the "hottest" HPD (hybrid photodiode)

Examples:
plugins/ICJetProducer.hh.

Definition at line 151 of file CaloJet.hh.

void ic::CaloJet::set_fRBX ( float const &  fRBX)
inline

Fraction of energy carried by the "hottest" RBX (readout box)

Examples:
plugins/ICJetProducer.hh.

Definition at line 154 of file CaloJet.hh.

void ic::CaloJet::set_id_loose ( bool const &  id_loose)
inline

Flag indicates if the jet passes the loose ID.

Examples:
plugins/ICJetProducer.hh.

Definition at line 157 of file CaloJet.hh.

void ic::CaloJet::set_id_tight ( bool const &  id_tight)
inline

Flag indicates if the jet passes the tight ID.

Examples:
plugins/ICJetProducer.hh.

Definition at line 160 of file CaloJet.hh.

ic::CaloJet::ClassDef ( CaloJet  ,
 
)

The documentation for this class was generated from the following files: