Belle II Software development
|
The payload collecting some meta information from running the masking algorithm. More...
#include <PXDOccupancyInfoPar.h>
Public Member Functions | |
PXDOccupancyInfoPar () | |
Default constructor. | |
void | setNumberOfEvents (int nEvents) |
Set number of events used for occupancy estimation. | |
int | getNumberOfEvents () const |
Get number of events used for occupancy estimation. | |
void | setOccupancy (unsigned short sensorID, float occupancy) |
Set occupancy. | |
float | getOccupancy (unsigned short sensorID) const |
Get occupancy. | |
Private Member Functions | |
ClassDef (PXDOccupancyInfoPar, 2) | |
ClassDef, must be the last term before the closing {}. | |
Private Attributes | |
int | m_nEvents |
Number of collected events used for occupancy computation, may decide to not trust calibrations with too few events. | |
std::unordered_map< unsigned short, float > | m_MapOccupancy |
Map containing mean occupancy per sensor. | |
The payload collecting some meta information from running the masking algorithm.
This includes the following attributes: 1) Number of events for computation 2) Mean occupancy per sensor
Definition at line 28 of file PXDOccupancyInfoPar.h.
|
inline |
Default constructor.
Definition at line 32 of file PXDOccupancyInfoPar.h.
|
inline |
Get number of events used for occupancy estimation.
Definition at line 40 of file PXDOccupancyInfoPar.h.
|
inline |
Get occupancy.
sensorID | unique ID of the sensor |
Definition at line 57 of file PXDOccupancyInfoPar.h.
|
inline |
Set number of events used for occupancy estimation.
Definition at line 36 of file PXDOccupancyInfoPar.h.
|
inline |
Set occupancy.
sensorID | unique ID of the sensor |
occupancy | calibrated hit occupancy |
Definition at line 47 of file PXDOccupancyInfoPar.h.
|
private |
Map containing mean occupancy per sensor.
Definition at line 73 of file PXDOccupancyInfoPar.h.
|
private |
Number of collected events used for occupancy computation, may decide to not trust calibrations with too few events.
Definition at line 70 of file PXDOccupancyInfoPar.h.