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


Public Member Functions | |
| PIDCalibrationWeight () | |
| Constructor. | |
| PIDCalibrationWeight (WeightMatrix weightMatrix) | |
| Constructor with the initial WeightMatrix. | |
| void | setWeightMatrix (WeightMatrix weightMatrix) |
| Set the WeightMatrix. | |
| 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 |
|
inline |
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 94 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 70 of file PIDCalibrationWeight.h.
|
inline |
Get the WeightMatrix.
Definition at line 59 of file PIDCalibrationWeight.h.
|
inline |
Get the weights for the given PDG code.
| pdg | is the PDG code |
Definition at line 107 of file PIDCalibrationWeight.h.
|
inline |
Set the WeightMatrix.
| weightMatrix | is the weight matrix to be set. |
Definition at line 51 of file PIDCalibrationWeight.h.
|
private |
PID calibration weight matrix.
Definition at line 127 of file PIDCalibrationWeight.h.