#include <ZeeKinematicTools.h>
|
static float | calculateZEta (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate) |
|
static float | calculateZMass_noTK (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate) |
|
static float | calculateZMass_withTK (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate) |
|
static float | calculateZMassWithCorrectedElectrons_noTK (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection) |
|
static float | calculateZMassWithCorrectedElectrons_withTK (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection) |
|
static float | calculateZPhi (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate) |
|
static float | calculateZPt (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate) |
|
static float | calculateZRapidity (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate) |
|
static float | calculateZTheta (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate) |
|
static float | cosThetaElectrons_SC (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection) |
|
static float | cosThetaElectrons_TK (const std::pair< calib::CalibElectron *, calib::CalibElectron * > &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection) |
|
Definition at line 30 of file ZeeKinematicTools.h.
ZeeKinematicTools::ZeeKinematicTools |
( |
| ) |
|
ZeeKinematicTools::~ZeeKinematicTools |
( |
| ) |
|
Definition at line 157 of file ZeeKinematicTools.cc.
Referenced by ZeePlots::fillZInfo().
158 TLorentzVector ele1LV(aZCandidate.first->getRecoElectron()->px(),
159 aZCandidate.first->getRecoElectron()->py(),
160 aZCandidate.first->getRecoElectron()->pz(),
161 aZCandidate.first->getRecoElectron()->superCluster()->energy());
163 TLorentzVector ele2LV(aZCandidate.second->getRecoElectron()->px(),
164 aZCandidate.second->getRecoElectron()->py(),
165 aZCandidate.second->getRecoElectron()->pz(),
166 aZCandidate.second->getRecoElectron()->superCluster()->energy());
168 return (ele1LV + ele2LV).Eta();
Definition at line 117 of file ZeeKinematicTools.cc.
References ZIterativeAlgorithmWithFit::invMassCalc().
120 aZCandidate.first->getRecoElectron()->superCluster()->eta(),
121 aZCandidate.first->getRecoElectron()->superCluster()->phi(),
122 aZCandidate.second->getRecoElectron()->superCluster()->energy(),
123 aZCandidate.second->getRecoElectron()->superCluster()->eta(),
124 aZCandidate.second->getRecoElectron()->superCluster()->phi());
static float invMassCalc(float Energy1, float Eta1, float Phi1, float Energy2, float Eta2, float Phi2)
Definition at line 129 of file ZeeKinematicTools.cc.
References ZIterativeAlgorithmWithFit::invMassCalc().
Referenced by ZeeCalibration::duringLoop().
132 aZCandidate.first->getRecoElectron()->eta(),
133 aZCandidate.first->getRecoElectron()->phi(),
134 aZCandidate.second->getRecoElectron()->superCluster()->energy(),
135 aZCandidate.second->getRecoElectron()->eta(),
136 aZCandidate.second->getRecoElectron()->phi());
static float invMassCalc(float Energy1, float Eta1, float Phi1, float Energy2, float Eta2, float Phi2)
float ZeeKinematicTools::calculateZMassWithCorrectedElectrons_noTK |
( |
const std::pair< calib::CalibElectron *, calib::CalibElectron * > & |
aZCandidate, |
|
|
float |
ele1EnergyCorrection, |
|
|
float |
ele2EnergyCorrection |
|
) |
| |
|
static |
Definition at line 87 of file ZeeKinematicTools.cc.
References ZIterativeAlgorithmWithFit::invMassCalc().
92 aZCandidate.first->getRecoElectron()->superCluster()->energy() / ele1EnergyCorrection,
93 aZCandidate.first->getRecoElectron()->superCluster()->eta(),
94 aZCandidate.first->getRecoElectron()->superCluster()->phi(),
95 aZCandidate.second->getRecoElectron()->superCluster()->energy() / ele2EnergyCorrection,
96 aZCandidate.second->getRecoElectron()->superCluster()->eta(),
97 aZCandidate.second->getRecoElectron()->superCluster()->phi());
static float invMassCalc(float Energy1, float Eta1, float Phi1, float Energy2, float Eta2, float Phi2)
float ZeeKinematicTools::calculateZMassWithCorrectedElectrons_withTK |
( |
const std::pair< calib::CalibElectron *, calib::CalibElectron * > & |
aZCandidate, |
|
|
float |
ele1EnergyCorrection, |
|
|
float |
ele2EnergyCorrection |
|
) |
| |
|
static |
Definition at line 102 of file ZeeKinematicTools.cc.
References ZIterativeAlgorithmWithFit::invMassCalc().
Referenced by ZeeCalibration::duringLoop().
107 aZCandidate.first->getRecoElectron()->superCluster()->energy() / ele1EnergyCorrection,
108 aZCandidate.first->getRecoElectron()->eta(),
109 aZCandidate.first->getRecoElectron()->phi(),
110 aZCandidate.second->getRecoElectron()->superCluster()->energy() / ele2EnergyCorrection,
111 aZCandidate.second->getRecoElectron()->eta(),
112 aZCandidate.second->getRecoElectron()->phi());
static float invMassCalc(float Energy1, float Eta1, float Phi1, float Energy2, float Eta2, float Phi2)
Definition at line 189 of file ZeeKinematicTools.cc.
Referenced by ZeePlots::fillZInfo().
190 TLorentzVector ele1LV(aZCandidate.first->getRecoElectron()->px(),
191 aZCandidate.first->getRecoElectron()->py(),
192 aZCandidate.first->getRecoElectron()->pz(),
193 aZCandidate.first->getRecoElectron()->superCluster()->energy());
195 TLorentzVector ele2LV(aZCandidate.second->getRecoElectron()->px(),
196 aZCandidate.second->getRecoElectron()->py(),
197 aZCandidate.second->getRecoElectron()->pz(),
198 aZCandidate.second->getRecoElectron()->superCluster()->energy());
200 return (ele1LV + ele2LV).Phi();
Definition at line 205 of file ZeeKinematicTools.cc.
Referenced by ZeePlots::fillZInfo().
206 TLorentzVector ele1LV(aZCandidate.first->getRecoElectron()->px(),
207 aZCandidate.first->getRecoElectron()->py(),
208 aZCandidate.first->getRecoElectron()->pz(),
209 aZCandidate.first->getRecoElectron()->superCluster()->energy());
211 TLorentzVector ele2LV(aZCandidate.second->getRecoElectron()->px(),
212 aZCandidate.second->getRecoElectron()->py(),
213 aZCandidate.second->getRecoElectron()->pz(),
214 aZCandidate.second->getRecoElectron()->superCluster()->energy());
216 return (ele1LV + ele2LV).Pt();
Definition at line 141 of file ZeeKinematicTools.cc.
Referenced by ZeePlots::fillZInfo().
142 TLorentzVector ele1LV(aZCandidate.first->getRecoElectron()->px(),
143 aZCandidate.first->getRecoElectron()->py(),
144 aZCandidate.first->getRecoElectron()->pz(),
145 aZCandidate.first->getRecoElectron()->superCluster()->energy());
147 TLorentzVector ele2LV(aZCandidate.second->getRecoElectron()->px(),
148 aZCandidate.second->getRecoElectron()->py(),
149 aZCandidate.second->getRecoElectron()->pz(),
150 aZCandidate.second->getRecoElectron()->superCluster()->energy());
152 return (ele1LV + ele2LV).Rapidity();
Definition at line 173 of file ZeeKinematicTools.cc.
Referenced by ZeePlots::fillZInfo().
174 TLorentzVector ele1LV(aZCandidate.first->getRecoElectron()->px(),
175 aZCandidate.first->getRecoElectron()->py(),
176 aZCandidate.first->getRecoElectron()->pz(),
177 aZCandidate.first->getRecoElectron()->superCluster()->energy());
179 TLorentzVector ele2LV(aZCandidate.second->getRecoElectron()->px(),
180 aZCandidate.second->getRecoElectron()->py(),
181 aZCandidate.second->getRecoElectron()->pz(),
182 aZCandidate.second->getRecoElectron()->superCluster()->energy());
184 return (ele1LV + ele2LV).Theta();
Definition at line 39 of file ZeeKinematicTools.cc.
References funct::cos(), funct::exp(), funct::sin(), and mathSSE::sqrt().
Referenced by ZeeCalibration::duringLoop().
42 float theta1 = 2. * atan(
exp(-aZCandidate.first->getRecoElectron()->superCluster()->eta()));
43 float phi1 = aZCandidate.first->getRecoElectron()->superCluster()->phi();
45 float x1 = aZCandidate.first->getRecoElectron()->superCluster()->energy() *
sin(theta1) *
cos(phi1);
46 float y1 = aZCandidate.first->getRecoElectron()->superCluster()->energy() *
sin(theta1) *
sin(phi1);
47 float z1 = aZCandidate.first->getRecoElectron()->superCluster()->energy() *
cos(theta1);
48 float mod1 =
sqrt(x1 * x1 + y1 * y1 + z1 * z1);
50 float theta2 = 2. * atan(
exp(-aZCandidate.second->getRecoElectron()->superCluster()->eta()));
51 float phi2 = aZCandidate.second->getRecoElectron()->superCluster()->phi();
53 float x2 = aZCandidate.second->getRecoElectron()->superCluster()->energy() *
sin(theta2) *
cos(phi2);
54 float y2 = aZCandidate.second->getRecoElectron()->superCluster()->energy() *
sin(theta2) *
sin(phi2);
55 float z2 = aZCandidate.second->getRecoElectron()->superCluster()->energy() *
cos(theta2);
56 float mod2 =
sqrt(x2 * x2 + y2 * y2 + z2 * z2);
58 return (x1 * x2 + y1 * y2 + z1 * z2) / (mod1 * mod2);
Sin< T >::type sin(const T &t)
Exp< T >::type exp(const T &t)
Cos< T >::type cos(const T &t)
Definition at line 63 of file ZeeKinematicTools.cc.
References funct::cos(), funct::exp(), funct::sin(), and mathSSE::sqrt().
Referenced by ZeeCalibration::duringLoop().
66 float theta1 = 2. * atan(
exp(-aZCandidate.first->getRecoElectron()->eta()));
67 float phi1 = aZCandidate.first->getRecoElectron()->phi();
69 float x1 = aZCandidate.first->getRecoElectron()->superCluster()->energy() *
sin(theta1) *
cos(phi1);
70 float y1 = aZCandidate.first->getRecoElectron()->superCluster()->energy() *
sin(theta1) *
sin(phi1);
71 float z1 = aZCandidate.first->getRecoElectron()->superCluster()->energy() *
cos(theta1);
72 float mod1 =
sqrt(x1 * x1 + y1 * y1 + z1 * z1);
74 float theta2 = 2. * atan(
exp(-aZCandidate.second->getRecoElectron()->eta()));
75 float phi2 = aZCandidate.second->getRecoElectron()->phi();
77 float x2 = aZCandidate.second->getRecoElectron()->superCluster()->energy() *
sin(theta2) *
cos(phi2);
78 float y2 = aZCandidate.second->getRecoElectron()->superCluster()->energy() *
sin(theta2) *
sin(phi2);
79 float z2 = aZCandidate.second->getRecoElectron()->superCluster()->energy() *
cos(theta2);
80 float mod2 =
sqrt(x2 * x2 + y2 * y2 + z2 * z2);
82 return (x1 * x2 + y1 * y2 + z1 * z2) / (mod1 * mod2);
Sin< T >::type sin(const T &t)
Exp< T >::type exp(const T &t)
Cos< T >::type cos(const T &t)