12#include <vxd/dataobjects/VxdID.h>
13#include <framework/logging/Logger.h>
69 if (
id.getLayerNumber() == 1) {
70 gate = 192 - 1 - gate;
72 if (gate < 0 || gate >= 192) {
73 B2ERROR(
"Invalid Gate");
89 if (gate < 0 || gate >= 192) {
90 B2ERROR(
"Invalid Gate");
The PXD Gated Info Class.
bool isFullGated() const
Return if data was recorded while detector was gated.
void setGateGatedL2(int gate, bool gated)
set gate status of specific gate
void setReadoutGated(bool b)
Set flag that we triggered while detector was gated.
PXDGatedModeInfo()
Default constructor for the ROOT IO.
void setFullGated(bool b)
Set flag that we triggered while detector was gated.
bool m_readoutGated
Sensor switched to gated mode during readout.
bool isGateOK(VxdID id, int gate) const
Return if gate is ok.
bool isVCellOK(VxdID id, int vCellId) const
is the VCELL valid
bool isReadoutGated() const
Return if data was readout while detector was gated.
bool m_fullGated
Sensor was in gated mode while triggered.
std::vector< bool > m_gateStatus
Status of Gates (true=gated), the gates are numbered as (VCellID/4) for Layer 2 (as rolling shutter r...
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.