Belle II Software development
TRGGDLDST Class Reference
Inheritance diagram for TRGGDLDST:

Public Member Functions

 ClassDef (TRGGDLDST, 2)
 ! The Class title
 
void setTimsrcGdlTime (int top, int ecl, int cdc)
 set timestamp when GDL receives timing sources
 
unsigned getTimsrcGdlTime (int i)
 get timestamp when GDL receives timing sources
 
void setT0 (int top, int ecl, int cdc)
 set t0 timestamp values in clk1nsec
 
unsigned getT0 (int i)
 get t0 timestamp values in clk1nsec
 
unsigned getComL1Time (void)
 get timestamp value when GDL receives common L1
 
void setComL1Time (int comL1)
 set timestamp value when GDL receives common L1
 
unsigned getGdlL1Time (void)
 get timestamp value when GDL generates L1
 
void setGdlL1Time (int gdlL1)
 set timestamp value when GDL generates L1
 
void setTimType (TRGSummary::ETimingType timType)
 set the timType
 
TRGSummary::ETimingType getTimType () const
 get timing source information
 

Private Attributes

unsigned int m_timsrc_gdl_time [3] = {0}
 timestamp when GDL receives timing src, 2:top,1:ecl,0:cdc
 
unsigned int m_t0 [3] = {0}
 estimated t0 timestamp of 2:top,1:ecl,0:cdc
 
unsigned int m_comL1_time = 0
 timestamp when GDL receives common L1
 
unsigned int m_gdlL1_time = 0
 timestamp when GDL generates L1
 
TRGSummary::ETimingType m_timType = TRGSummary::TTYP_NONE
 types of trigger timing source defined in b2tt firmware
 

Detailed Description

Definition at line 30 of file TRGGDLDST.h.

Constructor & Destructor Documentation

◆ TRGGDLDST()

TRGGDLDST ( )
inline

Definition at line 36 of file TRGGDLDST.h.

36{}

◆ ~TRGGDLDST()

~TRGGDLDST ( )
inline

Definition at line 38 of file TRGGDLDST.h.

38{}

Member Function Documentation

◆ getComL1Time()

unsigned getComL1Time ( void  )
inline

get timestamp value when GDL receives common L1

Definition at line 63 of file TRGGDLDST.h.

63{return m_comL1_time;}
unsigned int m_comL1_time
timestamp when GDL receives common L1
Definition: TRGGDLDST.h:94

◆ getGdlL1Time()

unsigned getGdlL1Time ( void  )
inline

get timestamp value when GDL generates L1

Definition at line 69 of file TRGGDLDST.h.

69{return m_gdlL1_time;}
unsigned int m_gdlL1_time
timestamp when GDL generates L1
Definition: TRGGDLDST.h:97

◆ getT0()

unsigned getT0 ( int  i)
inline

get t0 timestamp values in clk1nsec

Definition at line 60 of file TRGGDLDST.h.

60{return m_t0[i];}
unsigned int m_t0[3]
estimated t0 timestamp of 2:top,1:ecl,0:cdc
Definition: TRGGDLDST.h:91

◆ getTimsrcGdlTime()

unsigned getTimsrcGdlTime ( int  i)
inline

get timestamp when GDL receives timing sources

Definition at line 49 of file TRGGDLDST.h.

49{return m_timsrc_gdl_time[i];}
unsigned int m_timsrc_gdl_time[3]
timestamp when GDL receives timing src, 2:top,1:ecl,0:cdc
Definition: TRGGDLDST.h:88

◆ getTimType()

TRGSummary::ETimingType getTimType ( ) const
inline

get timing source information

Returns
timing source type

Definition at line 80 of file TRGGDLDST.h.

81 {
82 return m_timType;
83 }
TRGSummary::ETimingType m_timType
types of trigger timing source defined in b2tt firmware
Definition: TRGGDLDST.h:100

◆ setComL1Time()

void setComL1Time ( int  comL1)
inline

set timestamp value when GDL receives common L1

Definition at line 66 of file TRGGDLDST.h.

66{m_comL1_time = comL1;}

◆ setGdlL1Time()

void setGdlL1Time ( int  gdlL1)
inline

set timestamp value when GDL generates L1

Definition at line 72 of file TRGGDLDST.h.

72{m_gdlL1_time = gdlL1;}

◆ setT0()

void setT0 ( int  top,
int  ecl,
int  cdc 
)
inline

set t0 timestamp values in clk1nsec

Definition at line 52 of file TRGGDLDST.h.

53 {
54 m_t0[2] = top;
55 m_t0[1] = ecl;
56 m_t0[0] = cdc;
57 }

◆ setTimsrcGdlTime()

void setTimsrcGdlTime ( int  top,
int  ecl,
int  cdc 
)
inline

set timestamp when GDL receives timing sources

Definition at line 41 of file TRGGDLDST.h.

42 {
43 m_timsrc_gdl_time[2] = top;
44 m_timsrc_gdl_time[1] = ecl;
45 m_timsrc_gdl_time[0] = cdc;
46 }

◆ setTimType()

void setTimType ( TRGSummary::ETimingType  timType)
inline

set the timType

Definition at line 75 of file TRGGDLDST.h.

75{m_timType = timType;}

Member Data Documentation

◆ m_comL1_time

unsigned int m_comL1_time = 0
private

timestamp when GDL receives common L1

Definition at line 94 of file TRGGDLDST.h.

◆ m_gdlL1_time

unsigned int m_gdlL1_time = 0
private

timestamp when GDL generates L1

Definition at line 97 of file TRGGDLDST.h.

◆ m_t0

unsigned int m_t0[3] = {0}
private

estimated t0 timestamp of 2:top,1:ecl,0:cdc

Definition at line 91 of file TRGGDLDST.h.

◆ m_timsrc_gdl_time

unsigned int m_timsrc_gdl_time[3] = {0}
private

timestamp when GDL receives timing src, 2:top,1:ecl,0:cdc

Definition at line 88 of file TRGGDLDST.h.

◆ m_timType

types of trigger timing source defined in b2tt firmware

Definition at line 100 of file TRGGDLDST.h.


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