 |
Belle II Software
release-05-01-25
|
13 #include <unordered_map>
30 class PXDOccupancyInfoPar:
public TObject {
49 void setOccupancy(
unsigned short sensorID,
float occupancy)
63 return mapIter->second;
ClassDef(PXDOccupancyInfoPar, 2)
ClassDef, must be the last term before the closing {}.
int m_nEvents
Number of collected events used for occupancy computation, may decide to not trust calibrations with ...
std::unordered_map< unsigned short, float > m_MapOccupancy
Map containing mean occupancy per sensor.
PXDOccupancyInfoPar()
Default constructor.
void setOccupancy(unsigned short sensorID, float occupancy)
Set occupancy.
Abstract base class for different kinds of events.
void setNumberOfEvents(int nEvents)
Set number of events used for occupancy estimation.
int getNumberOfEvents() const
Get number of events used for occupancy estimation.
float getOccupancy(unsigned short sensorID) const
Get occupancy.
The payload collecting some meta information from running the masking algorithm.