Belle II Software development
HitRateBase Class Referenceabstract

Abstract base class for monitoring beam background hit rates All the monitoring classes must inherit from this one. More...

#include <HitRateBase.h>

Inheritance diagram for HitRateBase:
ARICHHitRateCounter CDCHitRateCounter ECLHitRateCounter KLMHitRateCounter PXDHitRateCounter SVDHitRateCounter TOPHitRateCounter

Public Member Functions

virtual ~HitRateBase ()
 virtual destructor
 
virtual void initialize (TTree *tree)=0
 Class initializer: set branch address.
 
virtual void clear ()=0
 Clear time-stamp buffer to prepare for 'accumulate'.
 
virtual void accumulate (unsigned timeStamp)=0
 Accumulate hits.
 
virtual void normalize (unsigned timeStamp)=0
 Normalize accumulated hits (e.g.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~HitRateBase()

virtual ~HitRateBase ( )
inlinevirtual

virtual destructor

Definition at line 31 of file HitRateBase.h.

32 {}

Member Function Documentation

◆ accumulate()

virtual void accumulate ( unsigned  timeStamp)
pure virtual

Accumulate hits.

Parameters
timeStamptime stamp

Implemented in ARICHHitRateCounter, CDCHitRateCounter, ECLHitRateCounter, KLMHitRateCounter, PXDHitRateCounter, SVDHitRateCounter, and TOPHitRateCounter.

◆ clear()

virtual void clear ( )
pure virtual

Clear time-stamp buffer to prepare for 'accumulate'.

Implemented in ARICHHitRateCounter, CDCHitRateCounter, ECLHitRateCounter, KLMHitRateCounter, PXDHitRateCounter, SVDHitRateCounter, and TOPHitRateCounter.

◆ initialize()

virtual void initialize ( TTree *  tree)
pure virtual

Class initializer: set branch address.

Parameters
treeTTree pointer

Implemented in ARICHHitRateCounter, CDCHitRateCounter, ECLHitRateCounter, KLMHitRateCounter, PXDHitRateCounter, SVDHitRateCounter, and TOPHitRateCounter.

◆ normalize()

virtual void normalize ( unsigned  timeStamp)
pure virtual

Normalize accumulated hits (e.g.

transform to rates) and prepare for TTree::Fill

Parameters
timeStamptime stamp

Implemented in ARICHHitRateCounter, CDCHitRateCounter, ECLHitRateCounter, KLMHitRateCounter, PXDHitRateCounter, SVDHitRateCounter, and TOPHitRateCounter.


The documentation for this class was generated from the following file: