CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CaloRegion.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_CaloRegion_h
2 #define DataFormats_L1Trigger_CaloRegion_h
3 
6 
7 namespace l1t {
8 
9  class CaloRegion : public L1Candidate {
10  public:
11  CaloRegion() : etEm_(0.), etHad_(0.), hwEtEm_(0), hwEtHad_(0) {}
13  double etEm = 0.,
14  double etHad = 0.,
15  int pt = 0,
16  int eta = 0,
17  int phi = 0,
18  int qual = 0,
19  int hwEtEm = 0,
20  int hwEtHad = 0);
21 
22  ~CaloRegion() override;
23 
24  void setEtEm(double et);
25  void setEtHad(double et);
26  void setHwEtEm(int et);
27  void setHwEtHad(int et);
28 
29  double etEm() const;
30  double etHad() const;
31  int hwEtEm() const;
32  int hwEtHad() const;
33 
34  private:
35  // additional hardware quantities
36  double etEm_;
37  double etHad_;
38 
39  int hwEtEm_;
40  int hwEtHad_;
41  };
42 
44 
45 } // namespace l1t
46 
47 #endif
void setHwEtEm(int et)
Definition: CaloRegion.cc:14
int hwEtHad() const
Definition: CaloRegion.cc:24
double pt() const final
transverse momentum
BXVector< CaloRegion > CaloRegionBxCollection
Definition: CaloRegion.h:43
void setEtEm(double et)
Definition: CaloRegion.cc:10
double etHad() const
Definition: CaloRegion.cc:20
const LorentzVector & p4() const final
four-momentum Lorentz vector
void setHwEtHad(int et)
Definition: CaloRegion.cc:16
math::XYZTLorentzVector LorentzVector
void setEtHad(double et)
Definition: CaloRegion.cc:12
double et() const final
transverse energy
int hwEtEm() const
Definition: CaloRegion.cc:22
double phi() const final
momentum azimuthal angle
~CaloRegion() override
Definition: CaloRegion.cc:8
double etEm() const
Definition: CaloRegion.cc:18
double eta() const final
momentum pseudorapidity