CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Tau.cc
Go to the documentation of this file.
1 
3 using namespace l1t;
4 
6  towerIEta_ = 0;
7  towerIPhi_ = 0;
8  rawEt_ = 0;
9  isoEt_ = 0;
10  nTT_ = 0;
11  hasEM_ = false;
12  isMerged_ = false;
13 }
14 
15 Tau::Tau( const LorentzVector& p4,
16  int pt,
17  int eta,
18  int phi,
19  int qual,
20  int iso )
21  : L1Candidate(p4, pt, eta, phi, qual,iso)
22 {
23  clear_extended();
24 }
25 
26 Tau::Tau( const PolarLorentzVector& p4,
27  int pt,
28  int eta,
29  int phi,
30  int qual,
31  int iso )
32  : L1Candidate(p4, pt, eta, phi, qual,iso)
33 {
34  clear_extended();
35 }
36 
37 Tau::~Tau()
38 {
39 
40 }
41 
42 void Tau::setTowerIEta(short int ieta) {
43  towerIEta_ = ieta;
44 }
45 
46 void Tau::setTowerIPhi(short int iphi) {
47  towerIPhi_ = iphi;
48 }
49 
50 void Tau::setRawEt(short int et) {
51  rawEt_ = et;
52 }
53 
54 void Tau::setIsoEt(short int et) {
55  isoEt_ = et;
56 }
57 
58 void Tau::setNTT(short int ntt) {
59  nTT_ = ntt;
60 }
61 
62 void Tau::setHasEM(bool hasEM) {
63  hasEM_ = hasEM;
64 }
65 
66 void Tau::setIsMerged(bool isMerged) {
68 }
69 
70 short int Tau::towerIEta() const {
71  return towerIEta_;
72 }
73 
74 short int Tau::towerIPhi() const {
75  return towerIPhi_;
76 }
77 
78 short int Tau::rawEt() const {
79  return rawEt_;
80 }
81 
82 short int Tau::isoEt() const {
83  return isoEt_;
84 }
85 
86 short int Tau::nTT() const {
87  return nTT_;
88 }
89 
90 bool Tau::hasEM() const {
91  return hasEM_;
92 }
93 
94 bool Tau::isMerged() const {
95  return isMerged_;
96 }
97 
bool hasEM() const
short int isoEt_
Definition: Tau.h:59
void setHasEM(bool hasEM)
math::XYZTLorentzVector LorentzVector
void setRawEt(short int et)
short int nTT_
Definition: Tau.h:60
short int towerIEta_
Definition: Tau.h:56
short int towerIPhi_
Definition: Tau.h:57
bool isMerged_
Definition: Tau.h:62
bool isMerged() const
void clear_extended()
double p4[4]
Definition: TauolaWrapper.h:92
short int rawEt_
Definition: Tau.h:58
short int towerIEta() const
short int rawEt() const
bool hasEM_
Definition: Tau.h:61
void setNTT(short int ntt)
Geom::Phi< T > phi() const
Tau()
Definition: Tau.h:19
void setTowerIEta(short int ieta)
virtual double et() const final
transverse energy
short int isoEt() const
short int towerIPhi() const
short int nTT() const
void setIsoEt(short int et)
void setTowerIPhi(short int iphi)
void setIsMerged(bool isMerged)