![]() |
Belle II Software development
|
Class to hold the prediction of resolution depending dE/dx, nhit, and cos(theta) More...
#include <CDCDedxSigmaPred.h>
Public Member Functions | |
void | setParameters (std::string infile) |
set the parameters from file | |
void | setParameters () |
set the parameters | |
void | printParameters (std::string infile) |
write the parameters in file | |
double | getSigma (double dedx, double nhit, double cos, double timereso) |
Return the predicted resolution depending on dE/dx, nhit, and cos(theta) | |
double | nhitPrediction (double nhit) |
Return sigma from the nhit parameterization. | |
double | ionzPrediction (double dedx) |
Return sigma from the ionization parameterization. | |
double | cosPrediction (double cos) |
Return sigma from the cos parameterization. | |
double | getDedxPars (int i) |
get the dedx parameters | |
void | setDedxPars (int i, double val) |
set the dedx parameters | |
double | getNHitPars (int i) |
get the nhit parameters | |
void | setNHitPars (int i, double val) |
set the nhit parameters | |
double | getCosPars (int i) |
get the cos(theta) parameters | |
void | setCosPars (int i, double val) |
set the cos(theta) parameters | |
Private Attributes | |
double | m_dedxpars [2] |
parameters for sigma vs. | |
double | m_cospars [10] |
parameters for sigma vs. | |
double | m_nhitpars [5] |
parameters for sigma vs. | |
const DBObjPtr< CDCDedxSigmaPars > | m_DBSigmaPars |
db object for dE/dx resolution parameters | |
Class to hold the prediction of resolution depending dE/dx, nhit, and cos(theta)
Definition at line 36 of file CDCDedxSigmaPred.h.
double cosPrediction | ( | double | cos | ) |
Return sigma from the cos parameterization.
Definition at line 141 of file CDCDedxSigmaPred.cc.
|
inline |
|
inline |
get the dedx parameters
Definition at line 78 of file CDCDedxSigmaPred.h.
|
inline |
get the nhit parameters
Definition at line 88 of file CDCDedxSigmaPred.h.
double getSigma | ( | double | dedx, |
double | nhit, | ||
double | cos, | ||
double | timereso | ||
) |
Return the predicted resolution depending on dE/dx, nhit, and cos(theta)
Definition at line 81 of file CDCDedxSigmaPred.cc.
double ionzPrediction | ( | double | dedx | ) |
Return sigma from the ionization parameterization.
Definition at line 122 of file CDCDedxSigmaPred.cc.
double nhitPrediction | ( | double | nhit | ) |
Return sigma from the nhit parameterization.
Definition at line 88 of file CDCDedxSigmaPred.cc.
void printParameters | ( | std::string | infile | ) |
write the parameters in file
Definition at line 60 of file CDCDedxSigmaPred.cc.
|
inline |
set the cos(theta) parameters
Definition at line 103 of file CDCDedxSigmaPred.h.
|
inline |
set the dedx parameters
Definition at line 83 of file CDCDedxSigmaPred.h.
|
inline |
set the nhit parameters
Definition at line 93 of file CDCDedxSigmaPred.h.
void setParameters | ( | ) |
set the parameters
Definition at line 13 of file CDCDedxSigmaPred.cc.
void setParameters | ( | std::string | infile | ) |
set the parameters from file
Definition at line 27 of file CDCDedxSigmaPred.cc.
|
private |
|
private |
db object for dE/dx resolution parameters
Definition at line 111 of file CDCDedxSigmaPred.h.
|
private |
|
private |