Go to the source code of this file.
|
bool | LLR (double pu, double pc, double pb, double &w) |
|
bool | LLRW (float pqcd, float ptop, float phbb, float &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 60 of file TrigBjetMonitorAlgorithm.cxx.
65 float muonT, muonX, muonY, muonZ,
muon, jetT, jetX, jetY, jetZ,
jet, scprod;
67 muonT = 2.*
atan(
exp(-muonEta) );
69 if ( (std::abs(muonT) > 0.) && (std::abs(jetT) > 0.) ) {
70 muon = muonPt/std::abs(
sin(muonT) );
71 muonX = muonPt*
cos(muonPhi);
72 muonY = muonPt*
sin(muonPhi);
74 jet = jetPt/std::abs(
sin(jetT) );
75 jetX = jetPt*
cos(jetPhi);
76 jetY = jetPt*
sin(jetPhi);
78 scprod = (muonX*jetX + muonY*jetY + muonZ*jetZ)/(
muon*
jet);
80 if ( (1. - scprod) > 0. ) {
81 RelPt =
muon * sqrt(1. - scprod);
◆ LLR()
bool LLR |
( |
double |
pu, |
|
|
double |
pc, |
|
|
double |
pb, |
|
|
double & |
w |
|
) |
| |
◆ LLRW()
bool LLRW |
( |
float |
pqcd, |
|
|
float |
ptop, |
|
|
float |
phbb, |
|
|
float & |
w |
|
) |
| |
◆ phiCorr()
float phiCorr |
( |
float |
phi | ) |
|