CMS 3D CMS Logo

Run3ScoutingPFJet.h
Go to the documentation of this file.
1 #ifndef DataFormats_Run3ScoutingPFJet_h
2 #define DataFormats_Run3ScoutingPFJet_h
3 
4 #include <vector>
5 
6 //class for holding PF jet information, for use in data scouting
7 //IMPORTANT: the content of this class should be changed only in backwards compatible ways!
9 public:
10  //constructor with values for all data fields
12  float eta,
13  float phi,
14  float m,
15  float jetArea,
16  float chargedHadronEnergy,
17  float neutralHadronEnergy,
18  float photonEnergy,
19  float electronEnergy,
20  float muonEnergy,
21  float HFHadronEnergy,
22  float HFEMEnergy,
27  int muonMultiplicity,
29  int HFEMMultiplicity,
30  float HOEnergy,
31  float csv,
32  float mvaDiscriminator,
33  std::vector<int> constituents)
34  : pt_(pt),
35  eta_(eta),
36  phi_(phi),
37  m_(m),
54  csv_(csv),
57  //default constructor
59  : pt_(0),
60  eta_(0),
61  phi_(0),
62  m_(0),
63  jetArea_(0),
66  photonEnergy_(0),
67  electronEnergy_(0),
68  muonEnergy_(0),
69  HFHadronEnergy_(0),
70  HFEMEnergy_(0),
78  HOEnergy_(0),
79  csv_(0),
80  mvaDiscriminator_(0) {}
81 
82  //accessor functions
83  float pt() const { return pt_; }
84  float eta() const { return eta_; }
85  float phi() const { return phi_; }
86  float m() const { return m_; }
87  float jetArea() const { return jetArea_; }
88  float chargedHadronEnergy() const { return chargedHadronEnergy_; }
89  float neutralHadronEnergy() const { return neutralHadronEnergy_; }
90  float photonEnergy() const { return photonEnergy_; }
91  float electronEnergy() const { return electronEnergy_; }
92  float muonEnergy() const { return muonEnergy_; }
93  float HFHadronEnergy() const { return HFHadronEnergy_; }
94  float HFEMEnergy() const { return HFEMEnergy_; }
97  int photonMultiplicity() const { return photonMultiplicity_; }
99  int muonMultiplicity() const { return muonMultiplicity_; }
101  int HFEMMultiplicity() const { return HFEMMultiplicity_; }
102  float HOEnergy() const { return HOEnergy_; }
103  float csv() const { return csv_; }
104  float mvaDiscriminator() const { return mvaDiscriminator_; }
105  std::vector<int> const& constituents() const { return constituents_; }
106 
107 private:
108  float pt_;
109  float eta_;
110  float phi_;
111  float m_;
112  float jetArea_;
117  float muonEnergy_;
119  float HFEMEnergy_;
127  float HOEnergy_;
128  float csv_;
130  std::vector<int> constituents_;
131 };
132 
133 typedef std::vector<Run3ScoutingPFJet> Run3ScoutingPFJetCollection;
134 
135 #endif
Run3ScoutingPFJet::HFHadronMultiplicity_
int HFHadronMultiplicity_
Definition: Run3ScoutingPFJet.h:125
Run3ScoutingPFJet::phi_
float phi_
Definition: Run3ScoutingPFJet.h:110
Run3ScoutingPFJet::chargedHadronEnergy
float chargedHadronEnergy() const
Definition: Run3ScoutingPFJet.h:88
Run3ScoutingPFJet::chargedHadronEnergy_
float chargedHadronEnergy_
Definition: Run3ScoutingPFJet.h:113
Run3ScoutingPFJet::constituents_
std::vector< int > constituents_
Definition: Run3ScoutingPFJet.h:130
Run3ScoutingPFJet::muonMultiplicity
int muonMultiplicity() const
Definition: Run3ScoutingPFJet.h:99
Run3ScoutingPFJet::neutralHadronMultiplicity_
int neutralHadronMultiplicity_
Definition: Run3ScoutingPFJet.h:121
Run3ScoutingPFJet::pt_
float pt_
Definition: Run3ScoutingPFJet.h:108
Run3ScoutingPFJet::mvaDiscriminator_
float mvaDiscriminator_
Definition: Run3ScoutingPFJet.h:129
Run3ScoutingPFJet::neutralHadronMultiplicity
int neutralHadronMultiplicity() const
Definition: Run3ScoutingPFJet.h:96
Run3ScoutingPFJet::eta
float eta() const
Definition: Run3ScoutingPFJet.h:84
Run3ScoutingPFJet::constituents
std::vector< int > const & constituents() const
Definition: Run3ScoutingPFJet.h:105
Run3ScoutingPFJet::csv
float csv() const
Definition: Run3ScoutingPFJet.h:103
Run3ScoutingPFJet::electronMultiplicity_
int electronMultiplicity_
Definition: Run3ScoutingPFJet.h:123
Run3ScoutingPFJet::chargedHadronMultiplicity
int chargedHadronMultiplicity() const
Definition: Run3ScoutingPFJet.h:95
Run3ScoutingPFJet::HFHadronMultiplicity
int HFHadronMultiplicity() const
Definition: Run3ScoutingPFJet.h:100
Run3ScoutingPFJet::mvaDiscriminator
float mvaDiscriminator() const
Definition: Run3ScoutingPFJet.h:104
Run3ScoutingPFJet::muonEnergy_
float muonEnergy_
Definition: Run3ScoutingPFJet.h:117
Run3ScoutingPFJet::jetArea
float jetArea() const
Definition: Run3ScoutingPFJet.h:87
Run3ScoutingPFJet::m_
float m_
Definition: Run3ScoutingPFJet.h:111
Run3ScoutingPFJet::electronMultiplicity
int electronMultiplicity() const
Definition: Run3ScoutingPFJet.h:98
Run3ScoutingPFJet::Run3ScoutingPFJet
Run3ScoutingPFJet()
Definition: Run3ScoutingPFJet.h:58
Run3ScoutingPFJet::HFEMEnergy
float HFEMEnergy() const
Definition: Run3ScoutingPFJet.h:94
Run3ScoutingPFJet::HFHadronEnergy
float HFHadronEnergy() const
Definition: Run3ScoutingPFJet.h:93
Run3ScoutingPFJet::jetArea_
float jetArea_
Definition: Run3ScoutingPFJet.h:112
Run3ScoutingPFJet::photonMultiplicity_
int photonMultiplicity_
Definition: Run3ScoutingPFJet.h:122
Run3ScoutingPFJet::muonEnergy
float muonEnergy() const
Definition: Run3ScoutingPFJet.h:92
Run3ScoutingPFJet::HFEMEnergy_
float HFEMEnergy_
Definition: Run3ScoutingPFJet.h:119
Run3ScoutingPFJet
Definition: Run3ScoutingPFJet.h:8
Run3ScoutingPFJet::HFEMMultiplicity_
int HFEMMultiplicity_
Definition: Run3ScoutingPFJet.h:126
Run3ScoutingPFJet::muonMultiplicity_
int muonMultiplicity_
Definition: Run3ScoutingPFJet.h:124
Run3ScoutingPFJet::photonMultiplicity
int photonMultiplicity() const
Definition: Run3ScoutingPFJet.h:97
Run3ScoutingPFJet::Run3ScoutingPFJet
Run3ScoutingPFJet(float pt, float eta, float phi, float m, float jetArea, float chargedHadronEnergy, float neutralHadronEnergy, float photonEnergy, float electronEnergy, float muonEnergy, float HFHadronEnergy, float HFEMEnergy, int chargedHadronMultiplicity, int neutralHadronMultiplicity, int photonMultiplicity, int electronMultiplicity, int muonMultiplicity, int HFHadronMultiplicity, int HFEMMultiplicity, float HOEnergy, float csv, float mvaDiscriminator, std::vector< int > constituents)
Definition: Run3ScoutingPFJet.h:11
Run3ScoutingPFJet::electronEnergy
float electronEnergy() const
Definition: Run3ScoutingPFJet.h:91
Run3ScoutingPFJet::chargedHadronMultiplicity_
int chargedHadronMultiplicity_
Definition: Run3ScoutingPFJet.h:120
Run3ScoutingPFJet::neutralHadronEnergy_
float neutralHadronEnergy_
Definition: Run3ScoutingPFJet.h:114
Run3ScoutingPFJet::electronEnergy_
float electronEnergy_
Definition: Run3ScoutingPFJet.h:116
Run3ScoutingPFJet::HFHadronEnergy_
float HFHadronEnergy_
Definition: Run3ScoutingPFJet.h:118
Run3ScoutingPFJet::HFEMMultiplicity
int HFEMMultiplicity() const
Definition: Run3ScoutingPFJet.h:101
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
Run3ScoutingPFJet::neutralHadronEnergy
float neutralHadronEnergy() const
Definition: Run3ScoutingPFJet.h:89
Run3ScoutingPFJet::m
float m() const
Definition: Run3ScoutingPFJet.h:86
Run3ScoutingPFJet::phi
float phi() const
Definition: Run3ScoutingPFJet.h:85
Run3ScoutingPFJet::HOEnergy_
float HOEnergy_
Definition: Run3ScoutingPFJet.h:127
Run3ScoutingPFJet::photonEnergy_
float photonEnergy_
Definition: Run3ScoutingPFJet.h:115
Run3ScoutingPFJet::photonEnergy
float photonEnergy() const
Definition: Run3ScoutingPFJet.h:90
Run3ScoutingPFJet::csv_
float csv_
Definition: Run3ScoutingPFJet.h:128
Run3ScoutingPFJetCollection
std::vector< Run3ScoutingPFJet > Run3ScoutingPFJetCollection
Definition: Run3ScoutingPFJet.h:133
Run3ScoutingPFJet::HOEnergy
float HOEnergy() const
Definition: Run3ScoutingPFJet.h:102
Run3ScoutingPFJet::eta_
float eta_
Definition: Run3ScoutingPFJet.h:109
Run3ScoutingPFJet::pt
float pt() const
Definition: Run3ScoutingPFJet.h:83