Belle II Software development
|
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. | |
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 | |
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.
|
inline |
|
overridevirtual |
Accumulate hits.
timeStamp | time stamp |
Implements HitRateBase.
Definition at line 61 of file PXDHitRateCounter.cc.
|
overridevirtual |
Clear time-stamp buffer to prepare for 'accumulate'.
Implements HitRateBase.
Definition at line 56 of file PXDHitRateCounter.cc.
|
inlineprivate |
Get PXD::SensorInfo.
Definition at line 121 of file PXDHitRateCounter.h.
|
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.
|
private |
Sets fractions of active channels.
Definition at line 179 of file PXDHitRateCounter.cc.
|
private |
Density of crystalline Silicon.
Definition at line 102 of file PXDHitRateCounter.h.
|
private |
area of active pixels in sensor
Definition at line 116 of file PXDHitRateCounter.h.
|
private |
number of active pixels in sensor
Definition at line 115 of file PXDHitRateCounter.h.
|
private |
average rates in time stamps
Definition at line 108 of file PXDHitRateCounter.h.
|
private |
collection of clusters
Definition at line 112 of file PXDHitRateCounter.h.
|
private |
collection of digits
Definition at line 111 of file PXDHitRateCounter.h.
|
private |
Integration time of PXD in ns.
Definition at line 98 of file PXDHitRateCounter.h.
|
private |
Correct bg rates by taking into account masked pixels.
Definition at line 99 of file PXDHitRateCounter.h.
|
private |
number of sensors
Definition at line 100 of file PXDHitRateCounter.h.
|
private |
tree variables
Definition at line 105 of file PXDHitRateCounter.h.
|
private |
area of active pixels in v segments
Definition at line 118 of file PXDHitRateCounter.h.
|
private |
number of active pixels in v segements
Definition at line 117 of file PXDHitRateCounter.h.