![]() |
Belle II Software
release-08-02-04
|
Class for monitoring beam background hit rates of ARICH. More...
#include <ARICHHitRateCounter.h>


Classes | |
| struct | TreeStruct |
| tree structure More... | |
Public Member Functions | |
| ARICHHitRateCounter () | |
| Constructor. | |
| virtual void | initialize (TTree *tree) override |
| Class initializer: set branch addresses and other staf. More... | |
| virtual void | clear () override |
| Clear time-stamp buffer to prepare for 'accumulate'. | |
| virtual void | accumulate (unsigned timeStamp) override |
| Accumulate hits. More... | |
| virtual void | normalize (unsigned timeStamp) override |
| Normalize accumulated hits (e.g. More... | |
Private Member Functions | |
| void | setActiveHapds () |
| Sets number of active hapds in each segment. | |
Private Attributes | |
| TreeStruct | m_rates |
| tree variables | |
| std::map< unsigned, TreeStruct > | m_buffer |
| average rates in time stamps | |
| StoreArray< ARICHHit > | m_hits |
| collection of digits | |
| DBObjPtr< ARICHChannelMask > | m_channelMask |
| channel mask | |
| DBObjPtr< ARICHModulesInfo > | m_modulesInfo |
| HAPD modules info. | |
| double | m_activeHapds [18] = {0} |
| number of active HAPDS in each segment | |
| double | m_activeTotal = 0 |
| total number of active HAPDS | |
| int | m_segmentMap [420] = {0} |
| mapping from module ID to segments | |
Class for monitoring beam background hit rates of ARICH.
Definition at line 31 of file ARICHHitRateCounter.h.
|
overridevirtual |
Accumulate hits.
| timeStamp | time stamp |
Implements HitRateBase.
Definition at line 53 of file ARICHHitRateCounter.cc.
|
overridevirtual |
Class initializer: set branch addresses and other staf.
| tree | a valid TTree pointer |
Implements HitRateBase.
Definition at line 24 of file ARICHHitRateCounter.cc.
|
overridevirtual |
Normalize accumulated hits (e.g.
transform to rates)
| timeStamp | time stamp |
Implements HitRateBase.
Definition at line 78 of file ARICHHitRateCounter.cc.