Belle II Software
release-08-01-10
|
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. More... | |
float | getOccupancy (unsigned short sensorID) const |
Get occupancy. More... | |
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 |
Get occupancy.
sensorID | unique ID of the sensor |
Definition at line 57 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.