1 #ifndef ICHiggsTauTau_PFJet_hh
2 #define ICHiggsTauTau_PFJet_hh
18 virtual void Print()
const;
27 return charged_multiplicity_;
32 return charged_had_multiplicity_;
37 return neutral_had_multiplicity_;
45 return electron_multiplicity_;
56 return neutral_multiplicity_;
155 inline float const&
beta()
const {
return beta_; }
159 inline float const&
beta_max()
const {
return beta_max_; }
174 double abs_eta = fabs(this->
eta());
175 double pt = this->
pt();
176 if (pt > 20. && pt <= 30) {
178 return (pu_id_mva_value_ > -0.80);
179 }
else if (abs_eta < 2.75) {
180 return (pu_id_mva_value_ > -0.85);
181 }
else if (abs_eta < 3.0) {
182 return (pu_id_mva_value_ > -0.84);
183 }
else if (abs_eta < 5.0) {
184 return (pu_id_mva_value_ > -0.85);
188 }
else if (pt > 30.) {
190 return (pu_id_mva_value_ > -0.80);
191 }
else if (abs_eta < 2.75) {
192 return (pu_id_mva_value_ > -0.74);
193 }
else if (abs_eta < 3.0) {
194 return (pu_id_mva_value_ > -0.68);
195 }
else if (abs_eta < 5.0) {
196 return (pu_id_mva_value_ > -0.77);
207 return constituent_tracks_;
212 return charged_multiplicity_nopu_;
225 return linear_radial_moment_;
361 int muon_multiplicity_;
362 int charged_multiplicity_;
363 int charged_had_multiplicity_;
364 int neutral_had_multiplicity_;
365 int photon_multiplicity_;
366 int electron_multiplicity_;
367 int HF_had_multiplicity_;
368 int HF_em_multiplicity_;
369 int neutral_multiplicity_;
371 float charged_em_energy_;
372 float neutral_em_energy_;
373 float charged_had_energy_;
374 float neutral_had_energy_;
375 float photon_energy_;
376 float electron_energy_;
378 float HF_had_energy_;
380 float charged_mu_energy_;
385 float pu_id_mva_value_;
387 std::vector<std::size_t> constituent_tracks_;
389 float linear_radial_moment_;
390 int charged_multiplicity_nopu_;
392 #ifndef SKIP_CINT_DICT
float neutral_had_energy_frac() const
Calculates the neutral hadron fraction of the raw jet energy.
void set_neutral_had_multiplicity(int const &neutral_had_multiplicity)
Number of neutral hadron constituents.
float electron_energy_frac() const
Calculates the electron fraction of the raw jet energy.
float HF_em_energy_frac() const
Calculates the HF electromagnetic fraction of the raw jet energy.
int const & HF_em_multiplicity() const
Number of PF HF electromagnetic constituents.
int const & neutral_multiplicity() const
Number of neutral constituents.
float charged_em_energy_frac() const
Calculates the charged electromagnetic fraction of the raw jet energy.
float const & linear_radial_moment() const
Used for quark-gluon discrimination.
void set_neutral_em_energy(float const &neutral_em_energy)
Neutral electromagnetic energy.
float const & charged_had_energy() const
Charged hadron energy.
void set_muon_multiplicity(int const &muon_multiplicity)
Number of PF muon constituents.
float const & beta_max() const
The largest value of beta() obtained when it is evaluated for every vertex in the event...
std::vector< ic::PFJet > PFJetCollection
void set_HF_had_energy(float const &HF_had_energy)
HF hadronic energy.
void set_charged_multiplicity_nopu(int const &charged_multiplicity_nopu)
The number of charged constituents associated to the PV.
float const & charged_em_energy() const
Charged electromagnetic energy.
float const & photon_energy() const
Photon energy.
std::vector< std::size_t > const & constituent_tracks() const
A vector to refer to the constituent track ic::Track::id() values.
void set_photon_multiplicity(int const &photon_multiplicity)
Number of PF photon constituents.
int const & electron_multiplicity() const
Number of PF electron constituents.
int const & muon_multiplicity() const
Number of PF muon constituents.
int const & photon_multiplicity() const
Number of PF photon constituents.
void set_linear_radial_moment(float const &linear_radial_moment)
Used for quark-gluon discrimination.
int const & charged_had_multiplicity() const
Number of charged hadron constituents.
float const & pu_id_mva_value() const
The output of the pileup ID MVA.
void set_electron_multiplicity(int const &electron_multiplicity)
Number of PF electron constituents.
void set_beta(float const &beta)
The fraction of the constituent track momentum associated to the primary vertex.
void set_charged_multiplicity(int const &charged_multiplicity)
Number of charged constituents.
float const & electron_energy() const
Electron energy.
float const & beta() const
The fraction of the constituent track momentum associated to the primary vertex.
int const & neutral_had_multiplicity() const
Number of neutral hadron constituents.
float HF_had_energy_frac() const
Calculates the HF hadronic fraction of the raw jet energy.
int const & charged_multiplicity() const
Number of charged constituents.
float charged_had_energy_frac() const
Calculates the charged hadron fraction of the raw jet energy.
void set_charged_had_energy(float const &charged_had_energy)
Charged hadron energy.
double eta() const
Direct access to .
void set_HF_em_multiplicity(int const &HF_em_multiplicity)
Number of PF HF electromagnetic constituents.
void set_charged_had_multiplicity(int const &charged_had_multiplicity)
Number of charged hadron constituents.
void set_HF_had_multiplicity(int const &HF_had_multiplicity)
Number PF HF hadronic constituents.
void set_pu_id_mva_value(float const &pu_id_mva_value)
The output of the pileup ID MVA.
double const & uncorrected_energy() const
The raw value of the jet energy.
float charged_mu_energy_frac() const
Calculates the muon fraction of the raw jet energy.
void set_charged_mu_energy(float const &charged_mu_energy)
Muon energy.
void set_muon_energy(float const &muon_energy)
Muon energy.
bool pu_id_mva_loose() const
Whether the loose working point of the MVA ID is passed.
void set_electron_energy(float const &electron_energy)
Electron energy.
float muon_energy_frac() const
Calculates the muon fraction of the raw jet energy.
void set_charged_em_energy(float const &charged_em_energy)
Charged electromagnetic energy.
float photon_energy_frac() const
Calculates the photon fraction of the raw jet energy.
float const & neutral_em_energy() const
Neutral electromagnetic energy.
void set_HF_em_energy(float const &HF_em_energy)
HF electromagnetic energy.
float const & HF_em_energy() const
HF electromagnetic energy.
A class deriving from ic::Jet that provides specific information for particle-flow jets...
float const & muon_energy() const
Muon energy.
float const & HF_had_energy() const
HF hadronic energy.
void set_beta_max(float const &beta_max)
The largest value of beta() obtained when it is evaluated for every vertex in the event...
float const & charged_mu_energy() const
Muon energy.
void set_constituent_tracks(std::vector< std::size_t > const &constituent_tracks)
A vector to refer to the constituent track ic::Track::id() values.
void set_neutral_multiplicity(int const &neutral_multiplicity)
Number of neutral constituents.
int const & HF_had_multiplicity() const
Number PF HF hadronic constituents.
void set_neutral_had_energy(float const &neutral_had_energy)
Neutral hadron energy.
float neutral_em_energy_frac() const
Calculates the neutral electromagnetic fraction of the raw jet energy.
int const & charged_multiplicity_nopu() const
The number of charged constituents associated to the PV.
void set_photon_energy(float const &photon_energy)
Photon energy.
double pt() const
Direct access to the .
virtual void Print() const
float const & neutral_had_energy() const
Neutral hadron energy.
A basic jet class to store properties common to all jet types.