![]() |
Belle II Software release-09-00-03
|
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. | |
| virtual void | clear () override |
| Clear time-stamp buffer to prepare for 'accumulate'. | |
| virtual void | accumulate (unsigned timeStamp) override |
| Accumulate hits. | |
| virtual void | normalize (unsigned timeStamp) override |
| Normalize accumulated hits (e.g. | |
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.
|
inline |
|
overridevirtual |
Accumulate hits.
| timeStamp | time stamp |
Implements HitRateBase.
Definition at line 53 of file ARICHHitRateCounter.cc.
|
overridevirtual |
Clear time-stamp buffer to prepare for 'accumulate'.
Implements HitRateBase.
Definition at line 48 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.
|
private |
Sets number of active hapds in each segment.
Definition at line 99 of file ARICHHitRateCounter.cc.
|
private |
number of active HAPDS in each segment
Definition at line 107 of file ARICHHitRateCounter.h.
|
private |
total number of active HAPDS
Definition at line 108 of file ARICHHitRateCounter.h.
|
private |
average rates in time stamps
Definition at line 97 of file ARICHHitRateCounter.h.
|
private |
channel mask
Definition at line 103 of file ARICHHitRateCounter.h.
|
private |
collection of digits
Definition at line 100 of file ARICHHitRateCounter.h.
|
private |
HAPD modules info.
Definition at line 104 of file ARICHHitRateCounter.h.
|
private |
tree variables
Definition at line 94 of file ARICHHitRateCounter.h.
|
private |
mapping from module ID to segments
Definition at line 109 of file ARICHHitRateCounter.h.