Belle II Software development
PXDInjectionBGTiming Class Reference

The PXDInjectionBGTiming class. More...

#include <PXDInjectionBGTiming.h>

Inheritance diagram for PXDInjectionBGTiming:

Public Member Functions

 PXDInjectionBGTiming ()
 Default constructor for the ROOT IO.
 
void setGated (bool b)
 Set flag that data was while detector was gated.
 
bool isGated () const
 Return if data was recorded while detector was gated.
 
void setTriggerGate (int g)
 Set trigger gate.
 
int getTriggerGate (void) const
 Return trigger gate.
 
const std::vector< float > & getGatingStartTimes (void) const
 Return vector of start times for gating.
 
std::vector< float > & getGatingStartTimes (void)
 Return vector of start times for gating.
 

Private Attributes

int m_triggerGate
 PXD triggergate.
 
bool m_gated
 Gated mode flag.
 
std::vector< float > m_gatingStartTimes
 Start times for gating.
 

Detailed Description

The PXDInjectionBGTiming class.

This is a small class that records information about injection vetos for PXD related timing to emulate gated mode operation of the PXD.

Definition at line 28 of file PXDInjectionBGTiming.h.

Constructor & Destructor Documentation

◆ PXDInjectionBGTiming()

Default constructor for the ROOT IO.

Definition at line 32 of file PXDInjectionBGTiming.h.

32: m_triggerGate(0), m_gated(false) {}

Member Function Documentation

◆ getGatingStartTimes() [1/2]

std::vector< float > & getGatingStartTimes ( void  )
inline

Return vector of start times for gating.

Definition at line 56 of file PXDInjectionBGTiming.h.

56{ return m_gatingStartTimes; }
std::vector< float > m_gatingStartTimes
Start times for gating.

◆ getGatingStartTimes() [2/2]

const std::vector< float > & getGatingStartTimes ( void  ) const
inline

Return vector of start times for gating.

Definition at line 52 of file PXDInjectionBGTiming.h.

52{ return m_gatingStartTimes; }

◆ getTriggerGate()

int getTriggerGate ( void  ) const
inline

Return trigger gate.

Definition at line 48 of file PXDInjectionBGTiming.h.

48{ return m_triggerGate; }

◆ isGated()

bool isGated ( ) const
inline

Return if data was recorded while detector was gated.

Definition at line 40 of file PXDInjectionBGTiming.h.

40{ return m_gated; }

◆ setGated()

void setGated ( bool  b)
inline

Set flag that data was while detector was gated.

Definition at line 36 of file PXDInjectionBGTiming.h.

36{ m_gated = b; }

◆ setTriggerGate()

void setTriggerGate ( int  g)
inline

Set trigger gate.

Definition at line 44 of file PXDInjectionBGTiming.h.

44{ m_triggerGate = g; }

Member Data Documentation

◆ m_gated

bool m_gated
private

Gated mode flag.

Definition at line 64 of file PXDInjectionBGTiming.h.

◆ m_gatingStartTimes

std::vector<float> m_gatingStartTimes
private

Start times for gating.

Definition at line 67 of file PXDInjectionBGTiming.h.

◆ m_triggerGate

int m_triggerGate
private

PXD triggergate.

Definition at line 61 of file PXDInjectionBGTiming.h.


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