CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Muon.cc
Go to the documentation of this file.
1 
3 
5  int pt,
6  int eta,
7  int phi,
8  int qual,
9  int charge,
10  int chargeValid,
11  int iso,
12  int tag,
13  bool debug,
14  int isoSum,
15  int dPhi,
16  int dEta,
17  int rank )
18  : L1Candidate(p4, pt, eta, phi, qual, iso),
19  hwCharge_(charge),
20  hwChargeValid_(chargeValid),
21  hwTag_(tag),
22  debug_(debug),
23  hwIsoSum_(isoSum),
24  hwDPhiExtra_(dPhi),
25  hwDEtaExtra_(dEta),
26  hwRank_(rank)
27 {
28 
29 }
30 
32  int pt,
33  int eta,
34  int phi,
35  int qual,
36  int charge,
37  int chargeValid,
38  int iso,
39  int tag,
40  bool debug,
41  int isoSum,
42  int dPhi,
43  int dEta,
44  int rank )
45  : L1Candidate(p4, pt, eta, phi, qual, iso),
46  hwCharge_(charge),
47  hwChargeValid_(chargeValid),
48  hwTag_(tag),
49  debug_(debug),
50  hwIsoSum_(isoSum),
51  hwDPhiExtra_(dPhi),
52  hwDEtaExtra_(dEta),
53  hwRank_(rank)
54 {
55 
56 }
57 
59 {
60 
61 }
62 
63 void
65 {
66  hwCharge_ = charge;
67 }
68 
69 void
71 {
72  hwChargeValid_ = valid;
73 }
74 
75 void
77 {
78  hwTag_ = tag;
79 }
80 
81 void
83 {
84  hwIsoSum_ = isoSum;
85 }
86 
87 void
89 {
90  hwDEtaExtra_ = dPhi;
91 }
92 
93 void
95 {
96  hwDEtaExtra_ = dEta;
97 }
98 
99 void
101 {
102  hwRank_ = rank;
103 }
104 
105 int
107 {
108  return hwCharge_;
109 }
110 
111 int
113 {
114  return hwChargeValid_;
115 }
116 
117 int
119 {
120  return hwTag_;
121 }
122 
123 int
125 {
126  return hwIsoSum_;
127 }
128 
129 int
131 {
132  return hwDPhiExtra_;
133 }
134 
135 int
137 {
138  return hwDEtaExtra_;
139 }
140 
141 int
143 {
144  return hwRank_;
145 }
int hwDPhiExtra() const
Definition: Muon.cc:130
void setHwTag(int tag)
Definition: Muon.cc:76
int hwRank() const
Definition: Muon.cc:142
~Muon()
Definition: Muon.cc:58
void setHwDPhiExtra(int dPhi)
Definition: Muon.cc:88
tuple isoSum
===> require is not the leading lepton and opposite to the leading lepton
int hwDEtaExtra() const
Definition: Muon.cc:136
double dPhi(double phi1, double phi2)
Definition: JetUtil.h:30
int hwTag() const
Definition: Muon.cc:118
double p4[4]
Definition: TauolaWrapper.h:92
void setHwCharge(int charge)
Definition: Muon.cc:64
void setHwChargeValid(int valid)
Definition: Muon.cc:70
void setHwIsoSum(int isoSum)
Definition: Muon.cc:82
#define debug
Definition: HDRShower.cc:19
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
Geom::Phi< T > phi() const
void setHwDEtaExtra(int dEta)
Definition: Muon.cc:94
int hwChargeValid() const
Definition: Muon.cc:112
int hwIsoSum() const
Definition: Muon.cc:124
Muon()
Definition: Muon.h:15
void setHwRank(int rank)
Definition: Muon.cc:100
int hwCharge() const
Definition: Muon.cc:106
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:39