The Gaudi Framework  v30r3 (a5ef0a68)
EventIDBase.cpp
Go to the documentation of this file.
1 
11 
12 #include <limits>
13 
16 
17 EventIDBase::EventIDBase( number_type run_number, event_number_t event_number, number_type time_stamp,
18  number_type time_stamp_ns_offset, number_type lumi_block, number_type bunch_crossing_id )
19  : m_run_number( run_number )
20  , m_event_number( event_number )
21  , m_time_stamp( time_stamp )
22  , m_time_stamp_ns_offset( time_stamp_ns_offset )
23  , m_lumi_block( lumi_block )
24  , m_bunch_crossing_id( bunch_crossing_id )
25 {
27 
28  if ( m_time_stamp != UNDEFNUM ) {
29  setTS();
31  }
32 
34 
36 }
static const number_type UNDEFNUM
Definition: EventIDBase.h:66
void setLE()
Definition: EventIDBase.h:183
number_type m_time_stamp_ns_offset
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
Definition: EventIDBase.h:196
void setRE()
Definition: EventIDBase.h:181
event_number_t m_event_number
event number
Definition: EventIDBase.h:190
void setRL()
Definition: EventIDBase.h:184
number_type m_time_stamp
posix time in seconds since 1970/01/01
Definition: EventIDBase.h:193
number_type m_lumi_block
luminosity block number: the number which uniquely tags a luminosity block within a run ...
Definition: EventIDBase.h:200
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
number_type m_run_number
run number
Definition: EventIDBase.h:187
uint64_t event_number_t
Definition: EventIDBase.h:64
unsigned int number_type
Definition: EventIDBase.h:63
static const event_number_t UNDEFEVT
Definition: EventIDBase.h:67
void setTS()
Definition: EventIDBase.h:182