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.
63 {
64
66 RelPt = -20.;
67
68 float muonT, muonX, muonY, muonZ,
muon, jetT, jetX, jetY, jetZ,
jet, scprod;
69
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);
82 scprod *= scprod;
83 if ( (1. - scprod) > 0. ) {
84 RelPt =
muon * sqrt(1. - scprod);
86 }
87 }
88
90
91}
◆ LLR()
| bool LLR |
( |
double | pu, |
|
|
double | pc, |
|
|
double | pb, |
|
|
double & | w ) |
◆ LLRW()
| bool LLRW |
( |
float | pqcd, |
|
|
float | ptop, |
|
|
float | phbb, |
|
|
float & | w ) |
Definition at line 48 of file TrigBjetMonitorAlgorithm.cxx.
48 {
51 float topfrac(0.25);
52 if (phbb > 0.) {
53 double denom = pqcd*(1.-topfrac)+ptop*topfrac;
54 if (denom > 0.) {
57 }
58 }
60}
◆ phiCorr()
| float phiCorr |
( |
float | phi | ) |
|