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

A class derived from ic::Jet which adds Jet-plus-track specific information. More...

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

+ Inheritance diagram for ic::JPTJet:

Public Member Functions

 JPTJet ()
 
virtual ~JPTJet ()
 
virtual void Print () const
 
 ClassDef (JPTJet, 2)
 
Properties
int const & muon_multiplicity () const
 Number of muon constituents. More...
 
int const & charged_multiplicity () const
 Total number of charged constituents. More...
 
float const & charged_em_energy () const
 Charged EM energy. More...
 
float charged_em_energy_frac () const
 Charged EM fraction of the total energy. More...
 
float const & neutral_em_energy () const
 Neutral EM energy. More...
 
float neutral_em_energy_frac () const
 Neutral EM fraction of the total energy. More...
 
float const & charged_had_energy () const
 Charged hadron energy. More...
 
float charged_had_energy_frac () const
 Charged hadron fraction of the total energy. More...
 
float const & neutral_had_energy () const
 Neutral hadron energy. More...
 
float neutral_had_energy_frac () const
 Neutral hadron fraction of the total energy. More...
 
std::vector< std::size_t > const & pions_in_vtx_in_calo () const
 A vector of ic::Track::id() values for pions compatible with the jet both at the vertex and the calorimeter. More...
 
std::vector< std::size_t > const & pions_in_vtx_out_calo () const
 A vector of ic::Track::id() values for pions compatible with the jet at the vertex but not at the calorimeter. More...
 
std::vector< std::size_t > const & pions_out_vtx_in_calo () const
 A vector of ic::Track::id() values for pions compatible with the jet at the calorimeter but not at the vertex. More...
 
std::vector< std::size_t > const & muons_in_vtx_in_calo () const
 A vector of ic::Track::id() values for muons compatible with the jet both at the vertex and the calorimeter. More...
 
std::vector< std::size_t > const & muons_in_vtx_out_calo () const
 A vector of ic::Track::id() values for muons compatible with the jet at the vertex but not at the calorimeter. More...
 
std::vector< std::size_t > const & muons_out_vtx_in_calo () const
 A vector of ic::Track::id() values for muons compatible with the jet at the calorimeter but not at the vertex. More...
 
std::vector< std::size_t > const & elecs_in_vtx_in_calo () const
 A vector of ic::Track::id() values for electrons compatible with the jet both at the vertex and the calorimeter. More...
 
std::vector< std::size_t > const & elecs_in_vtx_out_calo () const
 A vector of ic::Track::id() values for electrons compatible with the jet at the vertex but not at the calorimeter. More...
 
std::vector< std::size_t > const & elecs_out_vtx_in_calo () const
 A vector of ic::Track::id() values for electrons compatible with the jet at the calorimeter but not at the vertex. More...
 
std::vector< std::size_t > constituent_tracks () const
 A vector of ic::Track::id() that refers to the complete set of associated tracks. More...
 
float const & beta () const
 The fraction of the constituent track momentum associated to the primary vertex. More...
 
float const & beta_max () const
 The largest value of beta() obtained when it is evaluated for every vertex in the event. More...
 
float const & track_pt_total () const
 The scalar sum of track \(p_{\mathrm{T}}\). More...
 
Setters
void set_muon_multiplicity (int const &muon_multiplicity)
 Number of muon constituents. More...
 
void set_charged_multiplicity (int const &charged_multiplicity)
 Total number of charged constituents. More...
 
void set_charged_em_energy (float const &charged_em_energy)
 Charged EM energy. More...
 
void set_neutral_em_energy (float const &neutral_em_energy)
 Neutral EM energy. More...
 
void set_charged_had_energy (float const &charged_had_energy)
 Charged hadron energy. More...
 
void set_neutral_had_energy (float const &neutral_had_energy)
 Neutral hadron energy. More...
 
void set_pions_in_vtx_in_calo (std::vector< std::size_t > const &pions_in_vtx_in_calo)
 A vector of ic::Track::id() values for pions compatible with the jet both at the vertex and the calorimeter. More...
 
void set_pions_in_vtx_out_calo (std::vector< std::size_t > const &pions_in_vtx_out_calo)
 A vector of ic::Track::id() values for pions compatible with the jet at the vertex but not at the calorimeter. More...
 
void set_pions_out_vtx_in_calo (std::vector< std::size_t > const &pions_out_vtx_in_calo)
 A vector of ic::Track::id() values for pions compatible with the jet at the calorimeter but not at the vertex. More...
 
void set_muons_in_vtx_in_calo (std::vector< std::size_t > const &muons_in_vtx_in_calo)
 A vector of ic::Track::id() values for muons compatible with the jet both at the vertex and the calorimeter. More...
 
void set_muons_in_vtx_out_calo (std::vector< std::size_t > const &muons_in_vtx_out_calo)
 A vector of ic::Track::id() values for muons compatible with the jet at the vertex but not at the calorimeter. More...
 
void set_muons_out_vtx_in_calo (std::vector< std::size_t > const &muons_out_vtx_in_calo)
 A vector of ic::Track::id() values for muons compatible with the jet at the calorimeter but not at the vertex. More...
 
void set_elecs_in_vtx_in_calo (std::vector< std::size_t > const &elecs_in_vtx_in_calo)
 A vector of ic::Track::id() values for electrons compatible with the jet both at the vertex and the calorimeter. More...
 
void set_elecs_in_vtx_out_calo (std::vector< std::size_t > const &elecs_in_vtx_out_calo)
 A vector of ic::Track::id() values for electrons compatible with the jet at the vertex but not at the calorimeter. More...
 
void set_elecs_out_vtx_in_calo (std::vector< std::size_t > const &elecs_out_vtx_in_calo)
 A vector of ic::Track::id() values for electrons compatible with the jet at the calorimeter but not at the vertex. More...
 
void set_beta (float const &beta)
 The fraction of the constituent track momentum associated to the primary vertex. More...
 
void set_beta_max (float const &beta_max)
 The largest value of beta() obtained when it is evaluated for every vertex in the event. More...
 
void set_track_pt_total (float const &track_pt_total)
 The scalar sum of track \(p_{\mathrm{T}}\). More...
 
- Public Member Functions inherited from ic::CaloJet
 CaloJet ()
 
virtual ~CaloJet ()
 
 ClassDef (CaloJet, 2)
 
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...
 
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

A class derived from ic::Jet which adds Jet-plus-track specific information.

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

Definition at line 15 of file JPTJet.hh.

Constructor & Destructor Documentation

ic::JPTJet::JPTJet ( )

Definition at line 5 of file JPTJet.cc.

ic::JPTJet::~JPTJet ( )
virtual

Definition at line 17 of file JPTJet.cc.

Member Function Documentation

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

Reimplemented from ic::CaloJet.

Definition at line 19 of file JPTJet.cc.

int const& ic::JPTJet::muon_multiplicity ( ) const
inline

Number of muon constituents.

Definition at line 24 of file JPTJet.hh.

int const& ic::JPTJet::charged_multiplicity ( ) const
inline

Total number of charged constituents.

Definition at line 27 of file JPTJet.hh.

float const& ic::JPTJet::charged_em_energy ( ) const
inline

Charged EM energy.

Definition at line 32 of file JPTJet.hh.

float ic::JPTJet::charged_em_energy_frac ( ) const
inline

Charged EM fraction of the total energy.

Definition at line 35 of file JPTJet.hh.

float const& ic::JPTJet::neutral_em_energy ( ) const
inline

Neutral EM energy.

Definition at line 40 of file JPTJet.hh.

float ic::JPTJet::neutral_em_energy_frac ( ) const
inline

Neutral EM fraction of the total energy.

Definition at line 43 of file JPTJet.hh.

float const& ic::JPTJet::charged_had_energy ( ) const
inline

Charged hadron energy.

Definition at line 48 of file JPTJet.hh.

float ic::JPTJet::charged_had_energy_frac ( ) const
inline

Charged hadron fraction of the total energy.

Definition at line 51 of file JPTJet.hh.

float const& ic::JPTJet::neutral_had_energy ( ) const
inline

Neutral hadron energy.

Definition at line 56 of file JPTJet.hh.

float ic::JPTJet::neutral_had_energy_frac ( ) const
inline

Neutral hadron fraction of the total energy.

Definition at line 59 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::pions_in_vtx_in_calo ( ) const
inline

A vector of ic::Track::id() values for pions compatible with the jet both at the vertex and the calorimeter.

Definition at line 65 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::pions_in_vtx_out_calo ( ) const
inline

A vector of ic::Track::id() values for pions compatible with the jet at the vertex but not at the calorimeter.

Definition at line 71 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::pions_out_vtx_in_calo ( ) const
inline

A vector of ic::Track::id() values for pions compatible with the jet at the calorimeter but not at the vertex.

Definition at line 77 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::muons_in_vtx_in_calo ( ) const
inline

A vector of ic::Track::id() values for muons compatible with the jet both at the vertex and the calorimeter.

Definition at line 83 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::muons_in_vtx_out_calo ( ) const
inline

A vector of ic::Track::id() values for muons compatible with the jet at the vertex but not at the calorimeter.

Definition at line 89 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::muons_out_vtx_in_calo ( ) const
inline

A vector of ic::Track::id() values for muons compatible with the jet at the calorimeter but not at the vertex.

Definition at line 95 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::elecs_in_vtx_in_calo ( ) const
inline

A vector of ic::Track::id() values for electrons compatible with the jet both at the vertex and the calorimeter.

Definition at line 101 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::elecs_in_vtx_out_calo ( ) const
inline

A vector of ic::Track::id() values for electrons compatible with the jet at the vertex but not at the calorimeter.

Definition at line 107 of file JPTJet.hh.

std::vector<std::size_t> const& ic::JPTJet::elecs_out_vtx_in_calo ( ) const
inline

A vector of ic::Track::id() values for electrons compatible with the jet at the calorimeter but not at the vertex.

Definition at line 113 of file JPTJet.hh.

std::vector< std::size_t > ic::JPTJet::constituent_tracks ( ) const

A vector of ic::Track::id() that refers to the complete set of associated tracks.

Definition at line 21 of file JPTJet.cc.

float const& ic::JPTJet::beta ( ) const
inline

The fraction of the constituent track momentum associated to the primary vertex.

Defined as:

\[ \beta = \frac{\sum^{\mathrm{tracks}}_{\mathrm{PV}}p_{\mathrm{T}}^{\mathrm{trk}}} {\sum^{\mathrm{tracks}}p_{\mathrm{T}}^{\mathrm{trk}}}, \]

where the sums are over the tracks associated to the jet, and PV implies the subset of these tracks that were used in the leading primary vertex fit. In the case that a track was not used in any vertex fit in the event, it is considered associated to the primary vertex if the longitudinal distance between the track and vertex \(\Delta Z < 0.2\,\mathrm{cm}\).

Definition at line 137 of file JPTJet.hh.

float const& ic::JPTJet::beta_max ( ) const
inline

The largest value of beta() obtained when it is evaluated for every vertex in the event.

Definition at line 141 of file JPTJet.hh.

float const& ic::JPTJet::track_pt_total ( ) const
inline

The scalar sum of track \(p_{\mathrm{T}}\).

Definition at line 144 of file JPTJet.hh.

void ic::JPTJet::set_muon_multiplicity ( int const &  muon_multiplicity)
inline

Number of muon constituents.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 150 of file JPTJet.hh.

void ic::JPTJet::set_charged_multiplicity ( int const &  charged_multiplicity)
inline

Total number of charged constituents.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 155 of file JPTJet.hh.

void ic::JPTJet::set_charged_em_energy ( float const &  charged_em_energy)
inline

Charged EM energy.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 160 of file JPTJet.hh.

void ic::JPTJet::set_neutral_em_energy ( float const &  neutral_em_energy)
inline

Neutral EM energy.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 165 of file JPTJet.hh.

void ic::JPTJet::set_charged_had_energy ( float const &  charged_had_energy)
inline

Charged hadron energy.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 170 of file JPTJet.hh.

void ic::JPTJet::set_neutral_had_energy ( float const &  neutral_had_energy)
inline

Neutral hadron energy.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 175 of file JPTJet.hh.

void ic::JPTJet::set_pions_in_vtx_in_calo ( std::vector< std::size_t > const &  pions_in_vtx_in_calo)
inline

A vector of ic::Track::id() values for pions compatible with the jet both at the vertex and the calorimeter.

Examples:
plugins/ICJetProducer.hh.

Definition at line 180 of file JPTJet.hh.

void ic::JPTJet::set_pions_in_vtx_out_calo ( std::vector< std::size_t > const &  pions_in_vtx_out_calo)
inline

A vector of ic::Track::id() values for pions compatible with the jet at the vertex but not at the calorimeter.

Examples:
plugins/ICJetProducer.hh.

Definition at line 186 of file JPTJet.hh.

void ic::JPTJet::set_pions_out_vtx_in_calo ( std::vector< std::size_t > const &  pions_out_vtx_in_calo)
inline

A vector of ic::Track::id() values for pions compatible with the jet at the calorimeter but not at the vertex.

Examples:
plugins/ICJetProducer.hh.

Definition at line 192 of file JPTJet.hh.

void ic::JPTJet::set_muons_in_vtx_in_calo ( std::vector< std::size_t > const &  muons_in_vtx_in_calo)
inline

A vector of ic::Track::id() values for muons compatible with the jet both at the vertex and the calorimeter.

Examples:
plugins/ICJetProducer.hh.

Definition at line 198 of file JPTJet.hh.

void ic::JPTJet::set_muons_in_vtx_out_calo ( std::vector< std::size_t > const &  muons_in_vtx_out_calo)
inline

A vector of ic::Track::id() values for muons compatible with the jet at the vertex but not at the calorimeter.

Examples:
plugins/ICJetProducer.hh.

Definition at line 204 of file JPTJet.hh.

void ic::JPTJet::set_muons_out_vtx_in_calo ( std::vector< std::size_t > const &  muons_out_vtx_in_calo)
inline

A vector of ic::Track::id() values for muons compatible with the jet at the calorimeter but not at the vertex.

Examples:
plugins/ICJetProducer.hh.

Definition at line 210 of file JPTJet.hh.

void ic::JPTJet::set_elecs_in_vtx_in_calo ( std::vector< std::size_t > const &  elecs_in_vtx_in_calo)
inline

A vector of ic::Track::id() values for electrons compatible with the jet both at the vertex and the calorimeter.

Examples:
plugins/ICJetProducer.hh.

Definition at line 216 of file JPTJet.hh.

void ic::JPTJet::set_elecs_in_vtx_out_calo ( std::vector< std::size_t > const &  elecs_in_vtx_out_calo)
inline

A vector of ic::Track::id() values for electrons compatible with the jet at the vertex but not at the calorimeter.

Examples:
plugins/ICJetProducer.hh.

Definition at line 222 of file JPTJet.hh.

void ic::JPTJet::set_elecs_out_vtx_in_calo ( std::vector< std::size_t > const &  elecs_out_vtx_in_calo)
inline

A vector of ic::Track::id() values for electrons compatible with the jet at the calorimeter but not at the vertex.

Examples:
plugins/ICJetProducer.hh.

Definition at line 228 of file JPTJet.hh.

void ic::JPTJet::set_beta ( float const &  beta)
inline

The fraction of the constituent track momentum associated to the primary vertex.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 234 of file JPTJet.hh.

void ic::JPTJet::set_beta_max ( float const &  beta_max)
inline

The largest value of beta() obtained when it is evaluated for every vertex in the event.

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 237 of file JPTJet.hh.

void ic::JPTJet::set_track_pt_total ( float const &  track_pt_total)
inline

The scalar sum of track \(p_{\mathrm{T}}\).

Examples:
plugins/ICJetDestHelper.hh.

Definition at line 240 of file JPTJet.hh.

ic::JPTJet::ClassDef ( JPTJet  ,
 
)

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