Belle II Software
release-08-01-10
|
Abstract base class for monitoring beam background hit rates All the monitoring classes must inherit from this one. More...
#include <HitRateBase.h>
Public Member Functions | |
virtual | ~HitRateBase () |
virtual destructor | |
virtual void | initialize (TTree *tree)=0 |
Class initializer: set branch address. More... | |
virtual void | clear ()=0 |
Clear time-stamp buffer to prepare for 'accumulate'. | |
virtual void | accumulate (unsigned timeStamp)=0 |
Accumulate hits. More... | |
virtual void | normalize (unsigned timeStamp)=0 |
Normalize accumulated hits (e.g. More... | |
Abstract base class for monitoring beam background hit rates All the monitoring classes must inherit from this one.
Definition at line 24 of file HitRateBase.h.
|
pure virtual |
Accumulate hits.
timeStamp | time stamp |
Implemented in TOPHitRateCounter, SVDHitRateCounter, PXDHitRateCounter, KLMHitRateCounter, ECLHitRateCounter, CDCHitRateCounter, and ARICHHitRateCounter.
|
pure virtual |
Class initializer: set branch address.
tree | TTree pointer |
Implemented in TOPHitRateCounter, SVDHitRateCounter, PXDHitRateCounter, KLMHitRateCounter, ECLHitRateCounter, CDCHitRateCounter, and ARICHHitRateCounter.
|
pure virtual |
Normalize accumulated hits (e.g.
transform to rates) and prepare for TTree::Fill
timeStamp | time stamp |
Implemented in TOPHitRateCounter, SVDHitRateCounter, PXDHitRateCounter, KLMHitRateCounter, ECLHitRateCounter, CDCHitRateCounter, and ARICHHitRateCounter.