Belle II Software  release-08-01-10
PXDGatedModeInfo Class Reference

The PXD Gated Info Class. More...

#include <PXDGatedModeInfo.h>

Inheritance diagram for PXDGatedModeInfo:
Collaboration diagram for PXDGatedModeInfo:

Public Member Functions

 PXDGatedModeInfo ()
 Default constructor for the ROOT IO.
 
void setFullGated (bool b)
 Set flag that we triggered while detector was gated. More...
 
bool isFullGated () const
 Return if data was recorded while detector was gated. More...
 
void setReadoutGated (bool b)
 Set flag that we triggered while detector was gated. More...
 
bool isReadoutGated () const
 Return if data was readout while detector was gated. More...
 
bool isGateOK (VxdID id, int gate) const
 Return if gate is ok. More...
 
bool isVCellOK (VxdID id, int vCellId) const
 is the VCELL valid
 
void setGateGatedL2 (int gate, bool gated)
 set gate status of specific gate
 

Private Attributes

bool m_fullGated
 Sensor was in gated mode while triggered.
 
bool m_readoutGated
 Sensor switched to gated mode during readout.
 
std::vector< bool > m_gateStatus
 Status of Gates (true=gated), the gates are numbered as (VCellID/4) for Layer 2 (as rolling shutter runs in V direction), and invers for Layer 1.
 

Detailed Description

The PXD Gated Info Class.

Here we store the information for all gates of all modules if the read out value is useable for reco. if the sensor was completely gated, no gate contains any signal information if the sensor was gates during readout, a few gates do not contain useful info, as the gating process messes up the adc values

Definition at line 33 of file PXDGatedModeInfo.h.

Member Function Documentation

◆ isFullGated()

bool isFullGated ( ) const
inline

Return if data was recorded while detector was gated.

Returns
detector was gated

Definition at line 48 of file PXDGatedModeInfo.h.

48 { return m_fullGated; }
bool m_fullGated
Sensor was in gated mode while triggered.

◆ isGateOK()

bool isGateOK ( VxdID  id,
int  gate 
) const
inline

Return if gate is ok.

Returns
gate is ok

Definition at line 63 of file PXDGatedModeInfo.h.

◆ isReadoutGated()

bool isReadoutGated ( ) const
inline

Return if data was readout while detector was gated.

Returns
detector was gated

Definition at line 58 of file PXDGatedModeInfo.h.

◆ setFullGated()

void setFullGated ( bool  b)
inline

Set flag that we triggered while detector was gated.

Parameters
bgated

Definition at line 43 of file PXDGatedModeInfo.h.

◆ setReadoutGated()

void setReadoutGated ( bool  b)
inline

Set flag that we triggered while detector was gated.

Parameters
bgated

Definition at line 53 of file PXDGatedModeInfo.h.


The documentation for this class was generated from the following file: