11#include <unordered_map>
61 return mapIter->second;
void setOccupancy(unsigned short sensorID, float occupancy)
Set occupancy.
int getNumberOfEvents() const
Get number of events used for occupancy estimation.
ClassDef(PXDOccupancyInfoPar, 2)
ClassDef, must be the last term before the closing {}.
void setNumberOfEvents(int nEvents)
Set number of events used for occupancy estimation.
PXDOccupancyInfoPar()
Default constructor.
float getOccupancy(unsigned short sensorID) const
Get occupancy.
std::unordered_map< unsigned short, float > m_MapOccupancy
Map containing mean occupancy per sensor.
int m_nEvents
Number of collected events used for occupancy computation, may decide to not trust calibrations with ...
Abstract base class for different kinds of events.