![]() |
Project
|
#include <InteractionRecord.h>
Inherits o2::InteractionRecord.
Public Attributes | |
double | timeInBCNS = 0. |
time in NANOSECONDS relative to orbit/bc | |
![]() | |
uint16_t | bc = DummyBC |
bunch crossing ID of interaction | |
uint32_t | orbit = DummyOrbit |
LHC orbit. | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, InteractionTimeRecord const &ir) |
Additional Inherited Members | |
![]() | |
static constexpr InteractionRecord | getIRMaxBC () |
static double | bc2ns (int bc, unsigned int orbit) |
static int | ns2bc (double ns, unsigned int &orb) |
static InteractionRecord | long2IR (int64_t l) |
![]() | |
static constexpr uint16_t | DummyBC = 0xffff |
static constexpr uint32_t | DummyOrbit = 0xffffffff |
static constexpr double | DummyTime = DummyBC * o2::constants::lhc::LHCBunchSpacingNS + DummyOrbit * o2::constants::lhc::LHCOrbitNS |
static constexpr int64_t | MaxGlobalBCs = (int64_t(DummyOrbit) * o2::constants::lhc::LHCMaxBunches) + (o2::constants::lhc::LHCMaxBunches - 1) |
Definition at line 292 of file InteractionRecord.h.
|
default |
|
inline |
create from the interaction record and time in the bunch (in ns)
Definition at line 298 of file InteractionRecord.h.
|
inline |
create from the abs. (since orbit=0/bc=0) time in NS
Definition at line 303 of file InteractionRecord.h.
std::string o2::InteractionTimeRecord::asString | ( | ) | const |
Definition at line 31 of file InteractionRecord.cxx.
o2::InteractionTimeRecord::ClassDefNV | ( | InteractionTimeRecord | , |
1 | |||
) |
|
inline |
Definition at line 315 of file InteractionRecord.h.
|
inline |
get time in ns from orbit=0/bc=0
Definition at line 327 of file InteractionRecord.h.
|
inline |
Definition at line 321 of file InteractionRecord.h.
|
inline |
Definition at line 337 of file InteractionRecord.h.
|
inline |
Definition at line 352 of file InteractionRecord.h.
|
inline |
Definition at line 357 of file InteractionRecord.h.
|
inline |
Definition at line 332 of file InteractionRecord.h.
|
inline |
Definition at line 342 of file InteractionRecord.h.
|
inline |
Definition at line 347 of file InteractionRecord.h.
void o2::InteractionTimeRecord::print | ( | ) | const |
Definition at line 47 of file InteractionRecord.cxx.
|
inline |
set the from the abs. (since orbit=0/bc=0) time in NS
Definition at line 309 of file InteractionRecord.h.
|
friend |
Definition at line 36 of file InteractionRecord.cxx.
double o2::InteractionTimeRecord::timeInBCNS = 0. |
time in NANOSECONDS relative to orbit/bc
Definition at line 293 of file InteractionRecord.h.