Go to the source code of this file.
|
bool | LLR (double pu, double pc, double pb, double &w) |
|
bool | CalcRelPt (float muonPt, float muonEta, float muonPhi, float jetPt, float jetEta, float jetPhi, float &RelPt) |
|
float | phiCorr (float phi) |
|
◆ CalcRelPt()
bool CalcRelPt |
( |
float |
muonPt, |
|
|
float |
muonEta, |
|
|
float |
muonPhi, |
|
|
float |
jetPt, |
|
|
float |
jetEta, |
|
|
float |
jetPhi, |
|
|
float & |
RelPt |
|
) |
| |
Definition at line 45 of file TrigBjetMonitorAlgorithm.cxx.
50 float muonT, muonX, muonY, muonZ,
muon, jetT, jetX, jetY, jetZ,
jet, scprod;
52 muonT = 2.*
atan(
exp(-muonEta) );
54 if ( (std::abs(muonT) > 0.) && (std::abs(jetT) > 0.) ) {
55 muon = muonPt/std::abs(
sin(muonT) );
56 muonX = muonPt*
cos(muonPhi);
57 muonY = muonPt*
sin(muonPhi);
59 jet = jetPt/std::abs(
sin(jetT) );
60 jetX = jetPt*
cos(jetPhi);
61 jetY = jetPt*
sin(jetPhi);
63 scprod = (muonX*jetX + muonY*jetY + muonZ*jetZ)/(
muon*
jet);
65 if ( (1. - scprod) > 0. ) {
66 RelPt =
muon * sqrt(1. - scprod);
◆ LLR()
bool LLR |
( |
double |
pu, |
|
|
double |
pc, |
|
|
double |
pb, |
|
|
double & |
w |
|
) |
| |
◆ phiCorr()
float phiCorr |
( |
float |
phi | ) |
|