![]() |
Belle II Software light-2607-kasei
|
Class for handling the PID calibration weight matrix. More...
#include <PIDCalibrationWeight.h>


Public Member Functions | |
| PIDCalibrationWeight () | |
| Constructor. | |
| PIDCalibrationWeight (const WeightMatrix &weightMatrix) | |
| Constructor with the initial WeightMatrix. | |
| void | setWeightMatrix (const WeightMatrix &weightMatrix) |
| Set the WeightMatrix. | |
| const WeightMatrix & | getWeightMatrix () const |
| Get the WeightMatrix. | |
| double | getWeight (int pdg, std::string detector) const |
| Get the weight for the given combination of the PDG code and the detector name. | |
| double | getWeight (int pdg, Const::EDetector det) const |
| Get the weight for the given combination of the PDG code and the detector in Const::EDetector. | |
| std::vector< double > | getWeights (int pdg) const |
| Get the weights for the given PDG code. | |
Private Member Functions | |
| ClassDef (PIDCalibrationWeight, 1) | |
| ClassDef as this is a TObject. | |
Private Attributes | |
| WeightMatrix | m_weightMatrix |
| PID calibration weight matrix. | |
Class for handling the PID calibration weight matrix.
Definition at line 35 of file PIDCalibrationWeight.h.
|
inline |
|
inlineexplicit |
Constructor with the initial WeightMatrix.
Definition at line 42 of file PIDCalibrationWeight.h.
|
inline |
Get the weight for the given combination of the PDG code and the detector in Const::EDetector.
| pdg | is the PDG code |
| det | is the detector in Const::EDetector |
Definition at line 93 of file PIDCalibrationWeight.h.
|
inline |
Get the weight for the given combination of the PDG code and the detector name.
| pdg | is the PDG code |
| detector | is the detector name |
Definition at line 69 of file PIDCalibrationWeight.h.
|
inline |
Get the WeightMatrix.
Definition at line 58 of file PIDCalibrationWeight.h.
|
inline |
Get the weights for the given PDG code.
| pdg | is the PDG code |
Definition at line 106 of file PIDCalibrationWeight.h.
|
inline |
Set the WeightMatrix.
| weightMatrix | is the weight matrix to be set. |
Definition at line 50 of file PIDCalibrationWeight.h.
|
private |
PID calibration weight matrix.
Definition at line 126 of file PIDCalibrationWeight.h.