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 63 of file TrigBjetMonitorAlgorithm.cxx.
68 float muonT, muonX, muonY, muonZ,
muon, jetT, jetX, jetY, jetZ,
jet, scprod;
70 muonT = 2.*
atan(
exp(-muonEta) );
72 if ( (std::abs(muonT) > 0.) && (std::abs(jetT) > 0.) ) {
73 muon = muonPt/std::abs(
sin(muonT) );
74 muonX = muonPt*
cos(muonPhi);
75 muonY = muonPt*
sin(muonPhi);
77 jet = jetPt/std::abs(
sin(jetT) );
78 jetX = jetPt*
cos(jetPhi);
79 jetY = jetPt*
sin(jetPhi);
81 scprod = (muonX*jetX + muonY*jetY + muonZ*jetZ)/(
muon*
jet);
83 if ( (1. - scprod) > 0. ) {
84 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 | ) |
|