CMS 3D CMS Logo

EGamma.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  footprintEt_ = 0;
11  nTT_ = 0;
12  shape_ = 0;
13  towerHoE_ = 0;
14 }
15 
16 EGamma::EGamma(const LorentzVector& p4, int pt, int eta, int phi, int qual, int iso)
17  : L1Candidate(p4, pt, eta, phi, qual, iso) {
19 }
20 
21 EGamma::EGamma(const PolarLorentzVector& p4, int pt, int eta, int phi, int qual, int iso)
22  : L1Candidate(p4, pt, eta, phi, qual, iso) {
24 }
25 
27 
28 void EGamma::setTowerIEta(short int ieta) { towerIEta_ = ieta; }
29 
30 void EGamma::setTowerIPhi(short int iphi) { towerIPhi_ = iphi; }
31 
32 void EGamma::setRawEt(short int et) { rawEt_ = et; }
33 
34 void EGamma::setIsoEt(short int et) { isoEt_ = et; }
35 
36 void EGamma::setFootprintEt(short int et) { footprintEt_ = et; }
37 
38 void EGamma::setNTT(short int ntt) { nTT_ = ntt; }
39 
40 void EGamma::setShape(short int s) { shape_ = s; }
41 
42 void EGamma::setTowerHoE(short int HoE) { towerHoE_ = HoE; }
43 
44 short int EGamma::towerIEta() const { return towerIEta_; }
45 
46 short int EGamma::towerIPhi() const { return towerIPhi_; }
47 
48 short int EGamma::rawEt() const { return rawEt_; }
49 
50 short int EGamma::isoEt() const { return isoEt_; }
51 
52 short int EGamma::footprintEt() const { return footprintEt_; }
53 
54 short int EGamma::nTT() const { return nTT_; }
55 
56 short int EGamma::shape() const { return shape_; }
57 
58 short int EGamma::towerHoE() const { return towerHoE_; }
59 
60 bool EGamma::operator==(const l1t::EGamma& rhs) const {
61  return l1t::L1Candidate::operator==(static_cast<const l1t::L1Candidate&>(rhs)) && towerIEta_ == rhs.towerIEta() &&
62  towerIPhi_ == rhs.towerIPhi() && rawEt_ == rhs.rawEt() && isoEt_ == rhs.isoEt() &&
63  footprintEt_ == rhs.footprintEt() && nTT_ == rhs.nTT() && shape_ == rhs.shape() && towerHoE_ == rhs.towerHoE();
64 }
l1t::EGamma::setTowerIEta
void setTowerIEta(short int ieta)
Definition: EGamma.cc:28
l1t::EGamma::operator==
virtual bool operator==(const l1t::EGamma &rhs) const
Definition: EGamma.cc:60
l1t::EGamma::shape
short int shape() const
Definition: EGamma.cc:56
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
l1t::L1Candidate::operator==
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition: L1Candidate.cc:14
l1t::EGamma::setIsoEt
void setIsoEt(short int iso)
Definition: EGamma.cc:34
l1t::EGamma::EGamma
EGamma()
Definition: EGamma.h:22
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
l1t::EGamma::isoEt
short int isoEt() const
Definition: EGamma.cc:50
alignCSCRings.s
s
Definition: alignCSCRings.py:92
l1t::EGamma::nTT_
short int nTT_
Definition: EGamma.h:62
l1t::L1Candidate
Definition: L1Candidate.h:15
EGamma.h
PVValHelper::eta
Definition: PVValidationHelpers.h:70
l1t::EGamma::rawEt_
short int rawEt_
Definition: EGamma.h:59
l1t::EGamma::towerIEta_
short int towerIEta_
Definition: EGamma.h:57
l1t::EGamma::setTowerIPhi
void setTowerIPhi(short int iphi)
Definition: EGamma.cc:30
l1t::EGamma::towerIEta
short int towerIEta() const
Definition: EGamma.cc:44
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
l1t
delete x;
Definition: CaloConfig.h:22
l1t::EGamma::isoEt_
short int isoEt_
Definition: EGamma.h:60
l1t::EGamma::nTT
short int nTT() const
Definition: EGamma.cc:54
p4
double p4[4]
Definition: TauolaWrapper.h:92
l1t::EGamma::setNTT
void setNTT(short int ntt)
Definition: EGamma.cc:38
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
l1t::EGamma
Definition: EGamma.h:20
l1t::EGamma::footprintEt
short int footprintEt() const
Definition: EGamma.cc:52
DDAxes::phi
reco::LeafCandidate::et
double et() const final
transverse energy
Definition: LeafCandidate.h:127
l1t::EGamma::setTowerHoE
void setTowerHoE(short int HoE)
Definition: EGamma.cc:42
l1t::EGamma::setFootprintEt
void setFootprintEt(short int fp)
Definition: EGamma.cc:36
l1t::EGamma::towerHoE
short int towerHoE() const
Definition: EGamma.cc:58
l1t::EGamma::setShape
void setShape(short int s)
Definition: EGamma.cc:40
l1t::EGamma::clear_extended
void clear_extended()
Definition: EGamma.cc:5
l1t::EGamma::towerHoE_
short int towerHoE_
Definition: EGamma.h:64
l1t::EGamma::shape_
short int shape_
Definition: EGamma.h:63
l1t::EGamma::towerIPhi_
short int towerIPhi_
Definition: EGamma.h:58
l1t::EGamma::towerIPhi
short int towerIPhi() const
Definition: EGamma.cc:46
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
l1t::EGamma::rawEt
short int rawEt() const
Definition: EGamma.cc:48
l1t::EGamma::footprintEt_
short int footprintEt_
Definition: EGamma.h:61
l1t::EGamma::setRawEt
void setRawEt(short int pt)
Definition: EGamma.cc:32
l1t::EGamma::~EGamma
~EGamma() override
Definition: EGamma.cc:26