#include <ZDCTriggerEfficiency.h>
Definition at line 16 of file ZDCTriggerEfficiency.h.
◆ ZDCTriggerEfficiency()
ZDCTriggerEfficiency::ZDCTriggerEfficiency |
( |
| ) |
|
|
inline |
◆ GetEfficiency()
double ZDCTriggerEfficiency::GetEfficiency |
( |
int |
side, |
|
|
float |
ADCSum |
|
) |
| |
◆ GetEfficiencyAndError()
std::pair< double, double > ZDCTriggerEfficiency::GetEfficiencyAndError |
( |
MsgStream & |
msg, |
|
|
int |
side, |
|
|
float |
ADCSum |
|
) |
| |
Definition at line 23 of file ZDCTriggerEfficiency.cxx.
29 return std::make_pair(-1,-1);
43 double dda = (1 -
m) * -
p /
beta / (1 +
p) / (1 +
p);
47 double efficiencyErr = std::sqrt(
51 2 * corrAlphaBeta*alphaErr*betaErr * dda *
ddb +
52 2 * corrAlphaTheta*alphaErr*thetaErr * dda * ddt +
53 2 * corrBetaTheta*betaErr*thetaErr *
ddb * ddt);
58 msg << MSG::INFO <<
"Efficiency Uncertainty calculation abnormal." <<
endmsg;
61 return std::make_pair(
efficiency, efficiencyErr);
◆ SetEffParamCorrCoeffs()
void ZDCTriggerEfficiency::SetEffParamCorrCoeffs |
( |
const std::array< std::vector< TSpline3 * >, 2 > & |
effParamsCorrCoeffs | ) |
|
|
inline |
◆ SetEffParamsAndErrors()
void ZDCTriggerEfficiency::SetEffParamsAndErrors |
( |
const std::array< std::vector< TSpline3 * >, 2 > & |
effParams, |
|
|
const std::array< std::vector< TSpline3 * >, 2 > & |
effParamErrors |
|
) |
| |
|
inline |
◆ UpdatelumiBlock()
void ZDCTriggerEfficiency::UpdatelumiBlock |
( |
unsigned int |
lumiBlock | ) |
|
|
inline |
◆ m_currentCorrCoefff
std::array<std::vector<double>, 2> ZDCTriggerEfficiency::m_currentCorrCoefff |
|
private |
◆ m_currentLB
unsigned int ZDCTriggerEfficiency::m_currentLB |
|
private |
◆ m_currentParamErrors
std::array<std::vector<double>, 2> ZDCTriggerEfficiency::m_currentParamErrors |
|
private |
◆ m_currentParams
std::array<std::vector<double>, 2> ZDCTriggerEfficiency::m_currentParams |
|
private |
◆ m_effParamCorrCoeffs
std::array<std::vector<TSpline3*>, 2> ZDCTriggerEfficiency::m_effParamCorrCoeffs |
|
private |
◆ m_effParamErrors
std::array<std::vector<TSpline3*>, 2> ZDCTriggerEfficiency::m_effParamErrors |
|
private |
◆ m_effParams
std::array<std::vector<TSpline3*>, 2> ZDCTriggerEfficiency::m_effParams |
|
private |
◆ m_haveCorrCoeffs
bool ZDCTriggerEfficiency::m_haveCorrCoeffs |
|
private |
◆ m_haveParams
bool ZDCTriggerEfficiency::m_haveParams |
|
private |
◆ m_maxLB
unsigned int ZDCTriggerEfficiency::m_maxLB |
|
private |
◆ m_minLB
unsigned int ZDCTriggerEfficiency::m_minLB |
|
private |
The documentation for this class was generated from the following files:
void efficiency(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")