CMS 3D CMS Logo

Run3ScoutingCaloJet.h
Go to the documentation of this file.
1 #ifndef DataFormats_Run3ScoutingCaloJet_h
2 #define DataFormats_Run3ScoutingCaloJet_h
3 
4 #include <vector>
5 
6 //class for holding calo 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 maxEInEmTowers,
17  float maxEInHadTowers,
18  float hadEnergyInHB,
19  float hadEnergyInHE,
20  float hadEnergyInHF,
21  float emEnergyInEB,
22  float emEnergyInEE,
23  float emEnergyInHF,
24  float towersArea,
25  float mvaDiscriminator,
26  float btagDiscriminator)
27  : pt_(pt),
28  eta_(eta),
29  phi_(phi),
30  m_(m),
43  //default constructor
45  : pt_(0),
46  eta_(0),
47  phi_(0),
48  m_(0),
49  jetArea_(0),
50  maxEInEmTowers_(0),
52  hadEnergyInHB_(0),
53  hadEnergyInHE_(0),
54  hadEnergyInHF_(0),
55  emEnergyInEB_(0),
56  emEnergyInEE_(0),
57  emEnergyInHF_(0),
58  towersArea_(0),
60  btagDiscriminator_(0) {}
61 
62  //accessor functions
63  float pt() const { return pt_; }
64  float eta() const { return eta_; }
65  float phi() const { return phi_; }
66  float m() const { return m_; }
67  float jetArea() const { return jetArea_; }
68  float maxEInEmTowers() const { return maxEInEmTowers_; }
69  float maxEInHadTowers() const { return maxEInHadTowers_; }
70  float hadEnergyInHB() const { return hadEnergyInHB_; }
71  float hadEnergyInHE() const { return hadEnergyInHE_; }
72  float hadEnergyInHF() const { return hadEnergyInHF_; }
73  float emEnergyInEB() const { return emEnergyInEB_; }
74  float emEnergyInEE() const { return emEnergyInEE_; }
75  float emEnergyInHF() const { return emEnergyInHF_; }
76  float towersArea() const { return towersArea_; }
77  float mvaDiscriminator() const { return mvaDiscriminator_; }
78  float btagDiscriminator() const { return btagDiscriminator_; }
79 
80 private:
81  float pt_;
82  float eta_;
83  float phi_;
84  float m_;
85  float jetArea_;
94  float towersArea_;
97 };
98 
99 typedef std::vector<Run3ScoutingCaloJet> Run3ScoutingCaloJetCollection;
100 
101 #endif
Run3ScoutingCaloJet::hadEnergyInHE
float hadEnergyInHE() const
Definition: Run3ScoutingCaloJet.h:71
Run3ScoutingCaloJet::emEnergyInEB_
float emEnergyInEB_
Definition: Run3ScoutingCaloJet.h:91
Run3ScoutingCaloJet::maxEInHadTowers
float maxEInHadTowers() const
Definition: Run3ScoutingCaloJet.h:69
Run3ScoutingCaloJet::hadEnergyInHF
float hadEnergyInHF() const
Definition: Run3ScoutingCaloJet.h:72
Run3ScoutingCaloJet::pt_
float pt_
Definition: Run3ScoutingCaloJet.h:81
Run3ScoutingCaloJet::hadEnergyInHB
float hadEnergyInHB() const
Definition: Run3ScoutingCaloJet.h:70
Run3ScoutingCaloJet::jetArea
float jetArea() const
Definition: Run3ScoutingCaloJet.h:67
Run3ScoutingCaloJet::Run3ScoutingCaloJet
Run3ScoutingCaloJet(float pt, float eta, float phi, float m, float jetArea, float maxEInEmTowers, float maxEInHadTowers, float hadEnergyInHB, float hadEnergyInHE, float hadEnergyInHF, float emEnergyInEB, float emEnergyInEE, float emEnergyInHF, float towersArea, float mvaDiscriminator, float btagDiscriminator)
Definition: Run3ScoutingCaloJet.h:11
Run3ScoutingCaloJet
Definition: Run3ScoutingCaloJet.h:8
Run3ScoutingCaloJet::hadEnergyInHE_
float hadEnergyInHE_
Definition: Run3ScoutingCaloJet.h:89
Run3ScoutingCaloJet::Run3ScoutingCaloJet
Run3ScoutingCaloJet()
Definition: Run3ScoutingCaloJet.h:44
Run3ScoutingCaloJet::mvaDiscriminator_
float mvaDiscriminator_
Definition: Run3ScoutingCaloJet.h:95
Run3ScoutingCaloJet::emEnergyInHF
float emEnergyInHF() const
Definition: Run3ScoutingCaloJet.h:75
Run3ScoutingCaloJet::towersArea
float towersArea() const
Definition: Run3ScoutingCaloJet.h:76
Run3ScoutingCaloJet::maxEInHadTowers_
float maxEInHadTowers_
Definition: Run3ScoutingCaloJet.h:87
Run3ScoutingCaloJet::hadEnergyInHF_
float hadEnergyInHF_
Definition: Run3ScoutingCaloJet.h:90
Run3ScoutingCaloJet::eta
float eta() const
Definition: Run3ScoutingCaloJet.h:64
Run3ScoutingCaloJet::emEnergyInEB
float emEnergyInEB() const
Definition: Run3ScoutingCaloJet.h:73
Run3ScoutingCaloJet::phi_
float phi_
Definition: Run3ScoutingCaloJet.h:83
Run3ScoutingCaloJet::btagDiscriminator
float btagDiscriminator() const
Definition: Run3ScoutingCaloJet.h:78
Run3ScoutingCaloJet::emEnergyInEE
float emEnergyInEE() const
Definition: Run3ScoutingCaloJet.h:74
Run3ScoutingCaloJet::phi
float phi() const
Definition: Run3ScoutingCaloJet.h:65
Run3ScoutingCaloJet::maxEInEmTowers_
float maxEInEmTowers_
Definition: Run3ScoutingCaloJet.h:86
Run3ScoutingCaloJet::eta_
float eta_
Definition: Run3ScoutingCaloJet.h:82
Run3ScoutingCaloJet::pt
float pt() const
Definition: Run3ScoutingCaloJet.h:63
Run3ScoutingCaloJet::jetArea_
float jetArea_
Definition: Run3ScoutingCaloJet.h:85
Run3ScoutingCaloJet::m
float m() const
Definition: Run3ScoutingCaloJet.h:66
Run3ScoutingCaloJet::btagDiscriminator_
float btagDiscriminator_
Definition: Run3ScoutingCaloJet.h:96
Run3ScoutingCaloJetCollection
std::vector< Run3ScoutingCaloJet > Run3ScoutingCaloJetCollection
Definition: Run3ScoutingCaloJet.h:99
Run3ScoutingCaloJet::hadEnergyInHB_
float hadEnergyInHB_
Definition: Run3ScoutingCaloJet.h:88
Run3ScoutingCaloJet::m_
float m_
Definition: Run3ScoutingCaloJet.h:84
Run3ScoutingCaloJet::mvaDiscriminator
float mvaDiscriminator() const
Definition: Run3ScoutingCaloJet.h:77
Run3ScoutingCaloJet::emEnergyInEE_
float emEnergyInEE_
Definition: Run3ScoutingCaloJet.h:92
Run3ScoutingCaloJet::maxEInEmTowers
float maxEInEmTowers() const
Definition: Run3ScoutingCaloJet.h:68
Run3ScoutingCaloJet::emEnergyInHF_
float emEnergyInHF_
Definition: Run3ScoutingCaloJet.h:93
Run3ScoutingCaloJet::towersArea_
float towersArea_
Definition: Run3ScoutingCaloJet.h:94