CMS 3D CMS Logo

HGCalTower.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1TCalorimeter_HGCalTower_h
2 #define DataFormats_L1TCalorimeter_HGCalTower_h
3 
4 
7 
8 namespace l1t {
9 
10  class HGCalTower;
12 
13  class HGCalTower : public L1Candidate {
14 
15  public:
16 
18 
19  HGCalTower( const LorentzVector& p4,
20  double etEm=0.,
21  double etHad=0.,
22  int pt=0,
23  int eta=0,
24  int phi=0,
25  int qual=0,
26  int hwEtEm=0,
27  int hwEtHad=0,
28  int hwEtRatio=0);
29 
30  ~HGCalTower() override;
31 
32  void setEtEm( double et );
33  void setEtHad( double et );
34 
35  void setHwEtEm( int et );
36  void setHwEtHad( int et );
37  void setHwEtRatio( int ratio );
38 
39  double etEm()const;
40  double etHad()const;
41 
42  int hwEtEm()const;
43  int hwEtHad()const;
44  int hwEtRatio()const;
45 
46  private:
47 
48  // additional hardware quantities
49  double etEm_;
50  double etHad_;
51 
52  int hwEtEm_;
53  int hwEtHad_;
55 
56  };
57 
58 }
59 
60 #endif
double eta() const final
momentum pseudorapidity
void setEtEm(double et)
Definition: HGCalTower.cc:30
void setHwEtHad(int et)
Definition: HGCalTower.cc:45
double etHad() const
Definition: HGCalTower.cc:60
void setHwEtEm(int et)
Definition: HGCalTower.cc:40
int hwEtRatio() const
Definition: HGCalTower.cc:75
double pt() const final
transverse momentum
delete x;
Definition: CaloConfig.h:22
BXVector< HGCalTower > HGCalTowerBxCollection
Definition: HGCalTower.h:10
double et() const final
transverse energy
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
int hwEtEm() const
Definition: HGCalTower.cc:65
void setHwEtRatio(int ratio)
Definition: HGCalTower.cc:50
~HGCalTower() override
Definition: HGCalTower.cc:25
int hwEtHad() const
Definition: HGCalTower.cc:70
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
double etEm() const
Definition: HGCalTower.cc:55
void setEtHad(double et)
Definition: HGCalTower.cc:35
double phi() const final
momentum azimuthal angle