1 #ifndef ICHiggsTauTau_Muon_hh
2 #define ICHiggsTauTau_Muon_hh
5 #include "Math/Vector4D.h"
6 #include "Math/Vector4Dfwd.h"
7 #include "Math/Point3D.h"
8 #include "Math/Point3Dfwd.h"
24 typedef ROOT::Math::XYZPoint Point;
25 typedef std::map<std::size_t, float> UFmap;
30 virtual void Print()
const;
43 return gen_particles_;
47 inline Point
const&
ref_point()
const {
return ref_point_; }
53 inline bool is_global()
const {
return is_global_; }
59 inline bool is_calo()
const {
return is_calo_; }
62 inline bool is_pf()
const {
return is_pf_; }
87 return it_layers_with_measurement_;
101 return dr03_ecal_rechit_sum_et_;
106 return dr03_hcal_tower_sum_et_;
112 return dr03_pfiso_charged_all_;
130 return dr04_pfiso_charged_all_;
146 inline double vx()
const {
return ref_point_.x(); }
149 inline double vy()
const {
return ref_point_.y(); }
152 inline double vz()
const {
return ref_point_.z(); }
311 inline void set_vx(
double const& x) { ref_point_.SetX(x); }
314 inline void set_vy(
double const& y) { ref_point_.SetY(y); }
317 inline void set_vz(
double const& z) { ref_point_.SetZ(z); }
345 void SetIdIso(std::string
const& name,
float const& value);
351 bool HasIdIso(std::string
const& name)
const;
357 float GetIdIso(std::string
const& name)
const;
361 float dr03_tk_sum_pt_;
362 float dr03_ecal_rechit_sum_et_;
363 float dr03_hcal_tower_sum_et_;
365 float dr03_pfiso_charged_all_;
366 float dr03_pfiso_charged_;
367 float dr03_pfiso_neutral_;
368 float dr03_pfiso_gamma_;
369 float dr03_pfiso_pu_;
370 float dr04_pfiso_charged_all_;
371 float dr04_pfiso_charged_;
372 float dr04_pfiso_neutral_;
373 float dr04_pfiso_gamma_;
374 float dr04_pfiso_pu_;
381 double gt_normalized_chi2_;
382 float cq_chi2_localposition_;
384 int gt_valid_muon_hits_;
385 int matched_stations_;
387 int it_tracker_hits_;
388 int it_layers_with_measurement_;
389 double it_valid_fraction_;
390 float segment_compatibility_;
396 double dxy_beamspot_;
398 std::vector<std::size_t> gen_particles_;
402 #ifndef SKIP_CINT_DICT
void set_vy(double const &y)
The y-coordinate of the ref_point()
float dr03_pfiso_pu() const
PF isolation, using charged pileup in a cone with .
virtual void Print() const
bool is_calo() const
Muon was reconstructed by the calo-muon algorithm.
float dr03_pfiso_neutral() const
PF isolation, using neutral hadrons in a cone with .
Point const & ref_point() const
Point-of-closest-approach (PCA) of the muon track to the beamspot.
void set_is_global(bool const &is_global)
Muon was reconstructed by the global algorithm.
double dxy_beamspot() const
Transverse impact parameter of the tracker track with the beamspot.
float dr04_pfiso_neutral() const
PF isolation, using neutral hadrons in a cone with .
float GetIdIso(std::string const &name) const
Get the value associated to a label.
float dr04_pfiso_charged() const
PF isolation, using charged hadrons in a cone with .
void set_dr04_pfiso_charged_all(float const &dr04_pfiso_charged_all)
PF isolation, using all charged particles in a cone with .
void set_ref_point(Point const &ref_point)
Point-of-closest-approach (PCA) of the muon track to the beamspot.
bool is_pf() const
Muon was reconstructed by the PF algorithm.
void set_cq_chi2_localposition(float const &cq_chi2_localposition)
for the sta-tk matching of local position
void set_is_calo(bool const &is_calo)
Muon was reconstructed by the calo-muon algorithm.
void set_dr03_ecal_rechit_sum_et(float const &dr03_ecal_rechit_sum_et)
ECAL isolation in a cone with .
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
std::vector< std::size_t > const & gen_particles() const
A vector to refer to ic::GenParticle::id() values.
void set_dxy_beamspot(double const &dxy_beamspot)
Transverse impact parameter of the tracker track with the beamspot.
float dr04_pfiso_charged_all() const
PF isolation, using all charged particles in a cone with .
void set_vz(double const &z)
The z-coordinate of the ref_point()
int it_tracker_hits() const
Number of hits in the tracker.
float dr03_pfiso_gamma() const
PF isolation, using photons in a cone with .
bool is_tracker() const
Muon was reconstructed by the tracker-only algorithm.
void set_is_pf(bool const &is_pf)
Muon was reconstructed by the PF algorithm.
void set_dr03_pfiso_gamma(float const &dr03_pfiso_gamma)
PF isolation, using photons in a cone with .
void set_segment_compatibility(float const &segment_compatibility)
Compatibility of segment with global fit.
bool is_global() const
Muon was reconstructed by the global algorithm.
void set_is_tracker(bool const &is_tracker)
Muon was reconstructed by the tracker-only algorithm.
void set_dr03_hcal_tower_sum_et(float const &dr03_hcal_tower_sum_et)
HCAL isolation in a cone with .
int matched_stations() const
Number of matched muon station track segments.
void set_vx(double const &x)
The x-coordinate of the ref_point()
void set_is_standalone(bool const &is_standalone)
Muon was reconstructed by the stand-alone algorithm.
float dr04_pfiso_pu() const
PF isolation, using charged pileup in a cone with .
void set_it_pixel_hits(int const &it_pixel_hits)
Number of pixel layer hits in the tracker.
void set_dr03_pfiso_neutral(float const &dr03_pfiso_neutral)
PF isolation, using neutral hadrons in a cone with .
void set_gt_valid_muon_hits(int const >_valid_muon_hits)
Number of muon station hits used in the global track fit.
int it_layers_with_measurement() const
Number of tracker layers with measurement.
void set_dr04_pfiso_charged(float const &dr04_pfiso_charged)
PF isolation, using charged hadrons in a cone with .
bool HasIdIso(std::string const &name) const
Check if a value with label name has already been defined.
void set_dr03_pfiso_charged(float const &dr03_pfiso_charged)
PF isolation, using charged hadrons in a cone with .
void set_gen_particles(std::vector< std::size_t > const &gen_particles)
A vector to refer to ic::GenParticle::id() values.
float dr04_pfiso_gamma() const
PF isolation, using photons in a cone with .
double vz() const
The z-coordinate of the ref_point()
void set_it_tracker_hits(int const &it_tracker_hits)
Number of hits in the tracker.
float dr03_tk_sum_pt() const
Tracker isolation in a cone with .
void set_cq_trk_kink(float const &cq_trk_kink)
Kink position for the tracker stub and global track.
This class stores a subset of the reco::Muon properties which are most commonly used in analysis...
float segment_compatibility() const
Compatibility of segment with global fit.
float dr03_pfiso_charged_all() const
PF isolation, using all charged particles in a cone with .
double dz_vertex() const
Longitudinal impact parameter of the tracker track with primary vertex.
float cq_trk_kink() const
Kink position for the tracker stub and global track.
std::vector< ic::Muon > MuonCollection
double vy() const
The y-coordinate of the ref_point()
void set_dr04_pfiso_pu(float const &dr04_pfiso_pu)
PF isolation, using charged pileup in a cone with .
void set_dr04_pfiso_gamma(float const &dr04_pfiso_gamma)
PF isolation, using photons in a cone with .
int gt_valid_muon_hits() const
Number of muon station hits used in the global track fit.
void set_dxy_vertex(double const &dxy_vertex)
Transverse impact parameter of the tracker track with the primary vertex.
float dr03_ecal_rechit_sum_et() const
ECAL isolation in a cone with .
void set_dr03_tk_sum_pt(float const &dr03_tk_sum_pt)
Tracker isolation in a cone with .
void SetIdIso(std::string const &name, float const &value)
Add a new entry, overwriting any existing one with the same name.
void set_dr03_pfiso_pu(float const &dr03_pfiso_pu)
PF isolation, using charged pileup in a cone with .
double vx() const
The x-coordinate of the ref_point()
double dxy_vertex() const
Transverse impact parameter of the tracker track with the primary vertex.
float dr03_pfiso_charged() const
PF isolation, using charged hadrons in a cone with .
float cq_chi2_localposition() const
for the sta-tk matching of local position
int it_pixel_hits() const
Number of pixel layer hits in the tracker.
double it_valid_fraction() const
Fraction of valid inner tracker hits.
float dr03_hcal_tower_sum_et() const
HCAL isolation in a cone with .
void set_dr04_pfiso_neutral(float const &dr04_pfiso_neutral)
PF isolation, using neutral hadrons in a cone with .
void set_gt_normalized_chi2(double const >_normalized_chi2)
Normalised of the global track fit.
void set_matched_stations(int const &matched_stations)
Number of matched muon station track segments.
void set_dz_vertex(double const &dz_vertex)
Longitudinal impact parameter of the tracker track with primary vertex.
void set_dr03_pfiso_charged_all(float const &dr03_pfiso_charged_all)
PF isolation, using all charged particles in a cone with .
bool is_standalone() const
Muon was reconstructed by the stand-alone algorithm.
void set_it_valid_fraction(double const &it_valid_fraction)
Fraction of valid inner tracker hits.
double gt_normalized_chi2() const
Normalised of the global track fit.
void set_it_layers_with_measurement(int const &it_layers_with_measurement)
Number of tracker layers with measurement.