CMS 3D CMS Logo

HGCalTower.cc
Go to the documentation of this file.
2 
3 using namespace l1t;
4 
6  double etEm,
7  double etHad,
8  int pt,
9  int eta,
10  int phi,
11  int qual,
12  int hwEtEm,
13  int hwEtHad,
14  int hwEtRatio)
15  : L1Candidate(p4, pt, eta, phi, qual),
16  etEm_(etEm),
17  etHad_(etHad),
18  hwEtEm_(hwEtEm),
19  hwEtHad_(hwEtHad),
20  hwEtRatio_(hwEtRatio)
21 {
22 
23 }
24 
26 {
27 
28 }
29 
30 void HGCalTower::setEtEm(double et)
31 {
32  etEm_ = et;
33 }
34 
36 {
37  etHad_ = et;
38 }
39 
41 {
42  hwEtEm_ = et;
43 }
44 
46 {
47  hwEtHad_ = et;
48 }
49 
51 {
52  hwEtRatio_ = ratio;
53 }
54 
55 double HGCalTower::etEm()const
56 {
57  return etEm_;
58 }
59 
60 double HGCalTower::etHad()const
61 {
62  return etHad_;
63 }
64 
66 {
67  return hwEtEm_;
68 }
69 
71 {
72  return hwEtHad_;
73 }
74 
76 {
77  return hwEtRatio_;
78 }
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
delete x;
Definition: CaloConfig.h:22
double et() const final
transverse energy
double p4[4]
Definition: TauolaWrapper.h:92
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