CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
void setEtEm(double et)
Definition: HGCalTower.cc:30
void setHwEtHad(int et)
Definition: HGCalTower.cc:45
double etHad() const
Definition: HGCalTower.cc:60
math::XYZTLorentzVector LorentzVector
void setHwEtEm(int et)
Definition: HGCalTower.cc:40
virtual double phi() const final
momentum azimuthal angle
int hwEtRatio() const
Definition: HGCalTower.cc:75
BXVector< HGCalTower > HGCalTowerBxCollection
Definition: HGCalTower.h:10
int hwEtEm() const
Definition: HGCalTower.cc:65
void setHwEtRatio(int ratio)
Definition: HGCalTower.cc:50
int hwEtHad() const
Definition: HGCalTower.cc:70
double etEm() const
Definition: HGCalTower.cc:55
virtual double et() const final
transverse energy
virtual double eta() const final
momentum pseudorapidity
void setEtHad(double et)
Definition: HGCalTower.cc:35
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
virtual double pt() const final
transverse momentum