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 {
19 
20 }
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  : L1Candidate(p4, pt, eta, phi, qual, iso),
42  hwCharge_(charge),
43  hwChargeValid_(chargeValid),
44  tfMuonIndex_(tfMuonIndex),
45  hwTag_(tag),
46  debug_(debug),
47  hwIsoSum_(isoSum),
48  hwDPhiExtra_(dPhi),
49  hwDEtaExtra_(dEta),
50  hwRank_(rank),
51  hwEtaAtVtx_(hwEtaAtVtx),
52  hwPhiAtVtx_(hwPhiAtVtx),
53  etaAtVtx_(etaAtVtx),
54  phiAtVtx_(phiAtVtx)
55 {
56 
57 }
58 
60  int pt,
61  int eta,
62  int phi,
63  int qual,
64  int charge,
65  int chargeValid,
66  int iso,
67  int tfMuonIndex,
68  int tag,
69  bool debug,
70  int isoSum,
71  int dPhi,
72  int dEta,
73  int rank,
74  int hwEtaAtVtx,
75  int hwPhiAtVtx,
76  double etaAtVtx,
77  double phiAtVtx)
78  : L1Candidate(p4, pt, eta, phi, qual, iso),
79  hwCharge_(charge),
80  hwChargeValid_(chargeValid),
81  tfMuonIndex_(tfMuonIndex),
82  hwTag_(tag),
83  debug_(debug),
84  hwIsoSum_(isoSum),
85  hwDPhiExtra_(dPhi),
86  hwDEtaExtra_(dEta),
87  hwRank_(rank),
88  hwEtaAtVtx_(hwEtaAtVtx),
89  hwPhiAtVtx_(hwPhiAtVtx),
90  etaAtVtx_(etaAtVtx),
91  phiAtVtx_(phiAtVtx)
92 {
93 
94 }
95 
97 {
98 
99 }
100 
virtual double pt() const final
transverse momentum
int hwPhiAtVtx() const
Definition: Muon.h:88
int hwDPhiExtra_
Definition: Muon.h:110
double phiAtVtx_
Definition: Muon.h:118
virtual double eta() const final
momentum pseudorapidity
~Muon()
Definition: Muon.cc:96
int hwDEtaExtra_
Definition: Muon.h:111
virtual double phi() const final
momentum azimuthal angle
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
virtual int charge() const final
electric charge
Definition: LeafCandidate.h:91
int tfMuonIndex_
Definition: Muon.h:104
bool debug_
Definition: Muon.h:108
double dPhi(double phi1, double phi2)
Definition: JetUtil.h:30
double p4[4]
Definition: TauolaWrapper.h:92
double etaAtVtx() const
Definition: Muon.h:89
int hwCharge_
Definition: Muon.h:97
int hwRank_
Definition: Muon.h:112
bool debug() const
Definition: Muon.h:97
Definition: Error.h:16
int tfMuonIndex() const
Definition: Muon.h:84
#define debug
Definition: HDRShower.cc:19
int hwIsoSum_
Definition: Muon.h:109
int hwEtaAtVtx() const
Definition: Muon.h:87
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
int hwEtaAtVtx_
Definition: Muon.h:115
int hwPhiAtVtx_
Definition: Muon.h:116
int hwTag_
Definition: Muon.h:105
int hwChargeValid_
Definition: Muon.h:103
isoSum
===> compute the isolation and find the most isolated track
double phiAtVtx() const
Definition: Muon.h:90
double etaAtVtx_
Definition: Muon.h:117
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
Muon()
Definition: Muon.cc:3
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:39