CMS 3D CMS Logo

EtSum.cc
Go to the documentation of this file.
2 
5  int pt,
6  int eta,
7  int phi,
8  int qual)
9  : L1Candidate(p4, pt, eta, phi, qual, 0),
10  type_(type)
11 {
12 
13 }
14 
17  int pt,
18  int eta,
19  int phi,
20  int qual)
21  : L1Candidate(p4, pt, eta, phi, qual, 0),
22  type_(type)
23 {
24 
25 }
26 
28 {
29 
30 }
31 
33 {
34  type_ = type;
35 }
36 
38 {
39  return type_;
40 }
41 
42 bool l1t::EtSum::operator==(const l1t::EtSum& rhs) const
43 {
44  return l1t::L1Candidate::operator==(static_cast<const l1t::L1Candidate &>(rhs))
45  && type_ == rhs.getType();
46 }
47 
type
Definition: HCALResponse.h:21
double eta() const final
momentum pseudorapidity
double pt() const final
transverse momentum
void setType(EtSumType type)
Definition: EtSum.cc:32
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition: L1Candidate.cc:44
~EtSum() override
Definition: EtSum.cc:27
double p4[4]
Definition: TauolaWrapper.h:92
EtSum()
Definition: EtSum.h:50
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
EtSumType type_
Definition: EtSum.h:73
virtual bool operator==(const l1t::EtSum &rhs) const
Definition: EtSum.cc:42
EtSumType getType() const
Definition: EtSum.cc:37
double phi() const final
momentum azimuthal angle
EtSumType
Definition: EtSum.h:25
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:39