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();
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
virtual double pt() const final
transverse momentum
void setEtEm(double et)
Definition: HGCalTower.cc:30
void setHwEtHad(int et)
Definition: HGCalTower.cc:45
virtual double eta() const final
momentum pseudorapidity
double etHad() const
Definition: HGCalTower.cc:60
void setHwEtEm(int et)
Definition: HGCalTower.cc:40
int hwEtRatio() const
Definition: HGCalTower.cc:75
delete x;
Definition: CaloConfig.h:22
virtual double phi() const final
momentum azimuthal angle
BXVector< HGCalTower > HGCalTowerBxCollection
Definition: HGCalTower.h:10
virtual double et() const final
transverse energy
int hwEtEm() const
Definition: HGCalTower.cc:65
void setHwEtRatio(int ratio)
Definition: HGCalTower.cc:50
int hwEtHad() const
Definition: HGCalTower.cc:70
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
double etEm() const
Definition: HGCalTower.cc:55
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
void setEtHad(double et)
Definition: HGCalTower.cc:35