CMS 3D CMS Logo

Muon.cc
Go to the documentation of this file.
2 
4  : L1Candidate(math::PtEtaPhiMLorentzVector{0., 0., 0., 0.}, 0., 0., 0., 0, 0),
5  hwCharge_(0),
6  hwChargeValid_(0),
7  tfMuonIndex_(-1),
8  hwTag_(0),
9  debug_(false),
10  hwIsoSum_(0),
11  hwDPhiExtra_(0),
12  hwDEtaExtra_(0),
13  hwRank_(0),
14  hwEtaAtVtx_(0),
15  hwPhiAtVtx_(0),
16  etaAtVtx_(0.),
17  phiAtVtx_(0.),
18  hwPtUnconstrained_(0),
19  ptUnconstrained_(0.),
20  hwDXY_(0) {}
21 
23  int pt,
24  int eta,
25  int phi,
26  int qual,
27  int charge,
28  int chargeValid,
29  int iso,
30  int tfMuonIndex,
31  int tag,
32  bool debug,
33  int isoSum,
34  int dPhi,
35  int dEta,
36  int rank,
37  int hwEtaAtVtx,
38  int hwPhiAtVtx,
39  double etaAtVtx,
40  double phiAtVtx,
41  int hwPtUnconstrained,
42  double ptUnconstrained,
43  int dXY)
44  : L1Candidate(p4, pt, eta, phi, qual, iso),
45  hwCharge_(charge),
46  hwChargeValid_(chargeValid),
47  tfMuonIndex_(tfMuonIndex),
48  hwTag_(tag),
49  debug_(debug),
50  hwIsoSum_(isoSum),
51  hwDPhiExtra_(dPhi),
52  hwDEtaExtra_(dEta),
53  hwRank_(rank),
54  hwEtaAtVtx_(hwEtaAtVtx),
55  hwPhiAtVtx_(hwPhiAtVtx),
56  etaAtVtx_(etaAtVtx),
57  phiAtVtx_(phiAtVtx),
58  hwPtUnconstrained_(hwPtUnconstrained),
59  ptUnconstrained_(ptUnconstrained),
60  hwDXY_(dXY) {}
61 
63  int pt,
64  int eta,
65  int phi,
66  int qual,
67  int charge,
68  int chargeValid,
69  int iso,
70  int tfMuonIndex,
71  int tag,
72  bool debug,
73  int isoSum,
74  int dPhi,
75  int dEta,
76  int rank,
77  int hwEtaAtVtx,
78  int hwPhiAtVtx,
79  double etaAtVtx,
80  double phiAtVtx,
81  int hwPtUnconstrained,
82  double ptUnconstrained,
83  int dXY)
84  : L1Candidate(p4, pt, eta, phi, qual, iso),
85  hwCharge_(charge),
86  hwChargeValid_(chargeValid),
87  tfMuonIndex_(tfMuonIndex),
88  hwTag_(tag),
89  debug_(debug),
90  hwIsoSum_(isoSum),
91  hwDPhiExtra_(dPhi),
92  hwDEtaExtra_(dEta),
93  hwRank_(rank),
94  hwEtaAtVtx_(hwEtaAtVtx),
95  hwPhiAtVtx_(hwPhiAtVtx),
96  etaAtVtx_(etaAtVtx),
97  phiAtVtx_(phiAtVtx),
98  hwPtUnconstrained_(hwPtUnconstrained),
99  ptUnconstrained_(ptUnconstrained),
100  hwDXY_(dXY) {}
101 
103 
104 bool l1t::Muon::operator==(const l1t::Muon& rhs) const {
105  return l1t::L1Candidate::operator==(static_cast<const l1t::L1Candidate&>(rhs)) && hwCharge_ == rhs.hwCharge() &&
106  hwChargeValid_ == rhs.hwChargeValid() && tfMuonIndex_ == rhs.tfMuonIndex() &&
107  hwEtaAtVtx_ == rhs.hwEtaAtVtx() && hwPhiAtVtx_ == rhs.hwPhiAtVtx() &&
108  hwPtUnconstrained_ == rhs.hwPtUnconstrained() && ptUnconstrained_ == rhs.ptUnconstrained() &&
109  hwDXY_ == rhs.hwDXY();
110 }
l1t::Muon::ptUnconstrained
double ptUnconstrained() const
Definition: Muon.h:112
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
l1t::Muon::hwPhiAtVtx
int hwPhiAtVtx() const
Definition: Muon.h:102
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
Muon.h
l1t::L1Candidate::operator==
virtual bool operator==(const l1t::L1Candidate &rhs) const
Definition: L1Candidate.cc:14
l1t::Muon::hwDXY
int hwDXY() const
Definition: Muon.h:113
HLT_FULL_cff.dPhi
dPhi
Definition: HLT_FULL_cff.py:13703
l1t::Muon::hwCharge
int hwCharge() const
Definition: Muon.h:96
l1t::Muon::hwChargeValid
int hwChargeValid() const
Definition: Muon.h:97
debug
#define debug
Definition: HDRShower.cc:19
l1t::Muon::hwEtaAtVtx
int hwEtaAtVtx() const
Definition: Muon.h:101
l1t::L1Candidate
Definition: L1Candidate.h:15
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
PVValHelper::eta
Definition: PVValidationHelpers.h:70
l1t::Muon::operator==
virtual bool operator==(const l1t::Muon &rhs) const
Definition: Muon.cc:104
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
p4
double p4[4]
Definition: TauolaWrapper.h:92
l1t::Muon::tfMuonIndex
int tfMuonIndex() const
Definition: Muon.h:98
l1t::Muon::~Muon
~Muon() override
Definition: Muon.cc:102
objects.IsoTrackAnalyzer.isoSum
isoSum
===> compute the isolation and find the most isolated track
Definition: IsoTrackAnalyzer.py:110
math
Definition: choleskyInversion.h:19
HLT_FULL_cff.dEta
dEta
Definition: HLT_FULL_cff.py:13702
l1t::Muon::hwPtUnconstrained
int hwPtUnconstrained() const
Definition: Muon.h:111
math::PtEtaPhiMLorentzVector
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
l1t::Muon
Definition: Muon.h:21
l1t::Muon::Muon
Muon()
Definition: Muon.cc:3