|
ATLAS Offline Software
|
Go to the documentation of this file.
26 #ifndef SUBDETHITSTATISTICS_H
27 #define SUBDETHITSTATISTICS_H
52 operator unsigned int ()
const {
return *
m_p; }
63 unsigned int tmp = *
m_p + rhs;
OverflowControlledRef(unsigned char &c)
constructor from a ref to the storage we control
static const unsigned int OVERFLOW_VALUE
Ostream & operator<<(Ostream &os, const SubDetHitStatistics &m)
OverflowControlledRef operator=(unsigned int rhs)
protected assignment
OverflowControlledRef operator[](SubDetType i)
Write access protected agains overflows.
static const unsigned int OVERFLOW_VALUE
unsigned char m_numPRDs[NUM_SUBDETECTORS]
For InDet, the largest typical number of measurements per track is 36 in the TRT.
unsigned int value() const
OverflowControlledRef operator+=(unsigned int rhs)
protected add-to
unsigned int operator[](SubDetType i) const
Counts of up to (OVERFLOW_VALUE-1) hits.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
OverflowControlledRef operator++()
protected (prefix) increment
A simple class to retrofit overflow protection into the existing code.
macros to associate a CLID to a type