 |
Belle II Software
release-05-01-25
|
15 #include <vxd/dataobjects/VxdID.h>
16 #include <framework/logging/Logger.h>
36 class PXDGatedModeInfo :
public TObject {
66 bool isGateOK(VxdID
id,
int gate)
const
72 if (
id.getLayerNumber() == 1) {
73 gate = 192 - 1 - gate;
75 if (gate < 0 || gate >= 192) {
76 B2ERROR(
"Invalid Gate");
92 if (gate < 0 || gate >= 192) {
93 B2ERROR(
"Invalid Gate");
bool isReadoutGated() const
Return if data was readout while detector was gated.
The PXD Gated Info Class.
bool m_fullGated
Sensor was in gated mode while triggered.
void setReadoutGated(bool b)
Set flag that we triggered while detector was gated.
void setGateGatedL2(int gate, bool gated)
set gate status of specific gate
bool isFullGated() const
Return if data was recorded while detector was gated.
Abstract base class for different kinds of events.
bool isGateOK(VxdID id, int gate) const
Return if gate is ok.
std::vector< bool > m_gateStatus
Status of Gates (true=gated), the gates are numbered as (VCellID/4) for Layer 2 (as rolling shutter r...
void setFullGated(bool b)
Set flag that we triggered while detector was gated.
bool m_readoutGated
Sensor switched to gated mode during readout.
bool isVCellOK(VxdID id, int vCellId) const
is the VCELL valid
PXDGatedModeInfo()
Default constructor for the ROOT IO.