Belle II Software light-2406-ragdoll
|
Class to call calibration weight matrix. More...
#include <PIDCalibrationWeightUtil.h>
Public Member Functions | |
PIDCalibrationWeightUtil () | |
Constructor. | |
PIDCalibrationWeightUtil (std::string matrixName) | |
Constructor with the name of the calibration weight matrix. | |
double | getWeight (int pdg, Const::EDetector det, double p, double theta) const |
Get the weight for the given combination of the PDG code and the detector in Const::EDetector. | |
Private Attributes | |
std::string | m_matrixName = "PIDCalibrationWeight" |
name of the matrix. | |
std::unique_ptr< DBObjPtr< PIDCalibrationWeight > > | m_pidCalibWeightDB |
db object for the calibration weight matrix. | |
std::unique_ptr< DBObjPtr< PIDDetectorWeights > > | m_pidDetWeightDB |
db object for the detector weight matrix for momentum and theta dependent matrix. | |
Class to call calibration weight matrix.
Definition at line 27 of file PIDCalibrationWeightUtil.h.
|
inline |
Constructor.
Definition at line 34 of file PIDCalibrationWeightUtil.h.
|
inline |
Constructor with the name of the calibration weight matrix.
Definition at line 45 of file PIDCalibrationWeightUtil.h.
|
inline |
Get the weight for the given combination of the PDG code and the detector in Const::EDetector.
Definition at line 65 of file PIDCalibrationWeightUtil.h.
|
private |
name of the matrix.
Definition at line 75 of file PIDCalibrationWeightUtil.h.
|
private |
db object for the calibration weight matrix.
Definition at line 76 of file PIDCalibrationWeightUtil.h.
|
private |
db object for the detector weight matrix for momentum and theta dependent matrix.
Definition at line 78 of file PIDCalibrationWeightUtil.h.