Belle II Software development
|
Class for monitoring beam background hit rates of EKLM. More...
#include <KLMHitRateCounter.h>
Classes | |
struct | TreeStruct |
Tree data structure. More... | |
Public Member Functions | |
KLMHitRateCounter () | |
Constructor. | |
virtual void | initialize (TTree *tree) override |
Class initializer. | |
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 (i.e. | |
Private Attributes | |
TreeStruct | m_rates |
Tree data. | |
std::map< unsigned, TreeStruct > | m_buffer |
Buffer. | |
StoreArray< KLMDigit > | m_digits |
KLM digits. | |
const KLMElementNumbers * | m_ElementNumbers = nullptr |
KLM element numbers. | |
const KLMModuleArrayIndex * | m_ModuleArrayIndex = nullptr |
KLM module array index. | |
DBObjPtr< KLMChannelStatus > | m_ChannelStatus |
KLM channel status. | |
Class for monitoring beam background hit rates of EKLM.
Definition at line 37 of file KLMHitRateCounter.h.
|
inline |
|
overridevirtual |
Accumulate hits.
[in] | timeStamp | Time stamp. |
Implements HitRateBase.
Definition at line 35 of file KLMHitRateCounter.cc.
|
overridevirtual |
Clear time-stamp buffer to prepare for 'accumulate'.
Implements HitRateBase.
Definition at line 30 of file KLMHitRateCounter.cc.
|
overridevirtual |
Class initializer.
[in,out] | tree | Data tree. |
Implements HitRateBase.
Definition at line 14 of file KLMHitRateCounter.cc.
|
overridevirtual |
Normalize accumulated hits (i.e.
transform to rates).
[in] | timeStamp | Time stamp. |
Implements HitRateBase.
Definition at line 69 of file KLMHitRateCounter.cc.
|
private |
Definition at line 106 of file KLMHitRateCounter.h.
|
private |
KLM channel status.
Definition at line 118 of file KLMHitRateCounter.h.
|
private |
KLM digits.
Definition at line 109 of file KLMHitRateCounter.h.
|
private |
KLM element numbers.
Definition at line 112 of file KLMHitRateCounter.h.
|
private |
KLM module array index.
Definition at line 115 of file KLMHitRateCounter.h.
|
private |
Tree data.
Definition at line 103 of file KLMHitRateCounter.h.