The Gaudi Framework master (9cc87df9)
Loading...
Searching...
No Matches
EventIDBase.cpp
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
19
21
22#include <limits>
23
26
46
49 : EventIDBase( std::get<0>( run_lumi_ev ), // run number
50 std::get<2>( run_lumi_ev ), // event number
51 std::get<0>( time_stamp ), // timestamp in seconds
52 std::get<1>( time_stamp ), // nanoseconds offst
53 std::get<1>( run_lumi_ev ), // lumi block
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
constexpr const _Tp && get(const pair< _Tp, _Up > &&__p) noexcept
static constexpr _Tp max() noexcept
number_type lumi_block() const
luminosity block identifier, 32 bit unsigned
Definition EventIDBase.h:91
static const event_number_t UNDEFEVT
Definition EventIDBase.h:59
number_type m_bunch_crossing_id
bunch crossing ID, 32 bit unsigned
number_type m_lumi_block
luminosity block number: the number which uniquely tags a luminosity block within a run
number_type run_number() const
run number - 32 bit unsigned
Definition EventIDBase.h:79
number_type time_stamp_ns_offset() const
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
Definition EventIDBase.h:88
event_number_t m_event_number
event number
uint64_t event_number_t
Definition EventIDBase.h:56
number_type m_run_number
run number
number_type m_time_stamp_ns_offset
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
number_type m_time_stamp
posix time in seconds since 1970/01/01
unsigned int number_type
Definition EventIDBase.h:55
number_type bunch_crossing_id() const
bunch crossing ID, 32 bit unsigned
Definition EventIDBase.h:94
static const number_type UNDEFNUM
Definition EventIDBase.h:58
event_number_t event_number() const
event number - 64 bit unsigned
Definition EventIDBase.h:82
number_type time_stamp() const
time stamp - posix time in seconds from 1970, 32 bit unsigned
Definition EventIDBase.h:85
STL namespace.