Belle II Software
release-08-01-10
|
Class for monitoring beam background hit rates of PXD. More...
#include <PXDHitRateCounter.h>
Classes | |
struct | TreeStruct |
tree structure More... | |
Public Member Functions | |
PXDHitRateCounter () | |
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 | |
const PXD::SensorInfo & | getInfo (VxdID sensorID) const |
Get PXD::SensorInfo. | |
void | setActivePixels () |
Sets fractions of active channels. | |
Private Attributes | |
double | m_integrationTime = 20 * Unit::us |
Integration time of PXD in ns. | |
bool | m_maskDeadPixels = true |
Correct bg rates by taking into account masked pixels. | |
int | m_nPXDSensors = 0 |
number of sensors | |
const double | c_densitySi = 2.3290 * Unit::g_cm3 |
Density of crystalline Silicon. | |
TreeStruct | m_rates |
tree variables | |
std::map< unsigned, TreeStruct > | m_buffer |
average rates in time stamps | |
StoreArray< PXDDigit > | m_digits |
collection of digits | |
StoreArray< PXDCluster > | m_clusters |
collection of clusters | |
double | m_activePixels [40] = {0} |
number of active pixels in sensor | |
double | m_activeAreas [40] = {0} |
area of active pixels in sensor | |
double | m_segmentActivePixels [240] = {0} |
number of active pixels in v segements | |
double | m_segmentActiveAreas [240] = {0} |
area of active pixels in v segments | |
Class for monitoring beam background hit rates of PXD.
Definition at line 33 of file PXDHitRateCounter.h.
|
overridevirtual |
Accumulate hits.
timeStamp | time stamp |
Implements HitRateBase.
Definition at line 61 of file PXDHitRateCounter.cc.
|
overridevirtual |
Class initializer: set branch addresses and other staf.
tree | a valid TTree pointer |
Implements HitRateBase.
Definition at line 27 of file PXDHitRateCounter.cc.
|
overridevirtual |
Normalize accumulated hits (e.g.
transform to rates)
timeStamp | time stamp |
Implements HitRateBase.
Definition at line 131 of file PXDHitRateCounter.cc.