Project
Loading...
Searching...
No Matches
o2::constants::lhc Namespace Reference

Enumerations

enum  BeamDirection : int { BeamA , BeamC , NBeamDirections , InteractingBC = -1 }
 

Functions

constexpr int LHCBunch2P2BC (int bunch, BeamDirection dir)
 
constexpr int P2BC2LHCBunch (int bc, BeamDirection dir)
 

Variables

constexpr int LHCMaxBunches = 3564
 
constexpr double LHCRFFreq = 400.789e6
 
constexpr double LHCBunchSpacingNS = 10 * 1.e9 / LHCRFFreq
 
constexpr double LHCOrbitNS = LHCMaxBunches * LHCBunchSpacingNS
 
constexpr double LHCRevFreq = 1.e9 / LHCOrbitNS
 
constexpr double LHCBunchSpacingMUS = LHCBunchSpacingNS * 1e-3
 
constexpr double LHCOrbitMUS = LHCOrbitNS * 1e-3
 
constexpr unsigned int MaxNOrbits = 0xffffffff
 
constexpr int BunchOffsetsP2 [2] = {344, 3017}
 

Enumeration Type Documentation

◆ BeamDirection

Enumerator
BeamA 
BeamC 
NBeamDirections 
InteractingBC 

Definition at line 26 of file LHCConstants.h.

Function Documentation

◆ LHCBunch2P2BC()

constexpr int o2::constants::lhc::LHCBunch2P2BC ( int  bunch,
BeamDirection  dir 
)
constexpr

Definition at line 44 of file LHCConstants.h.

◆ P2BC2LHCBunch()

constexpr int o2::constants::lhc::P2BC2LHCBunch ( int  bc,
BeamDirection  dir 
)
constexpr

Definition at line 50 of file LHCConstants.h.

Variable Documentation

◆ BunchOffsetsP2

constexpr int o2::constants::lhc::BunchOffsetsP2[2] = {344, 3017}
constexpr

Definition at line 41 of file LHCConstants.h.

◆ LHCBunchSpacingMUS

constexpr double o2::constants::lhc::LHCBunchSpacingMUS = LHCBunchSpacingNS * 1e-3
constexpr

Definition at line 36 of file LHCConstants.h.

◆ LHCBunchSpacingNS

constexpr double o2::constants::lhc::LHCBunchSpacingNS = 10 * 1.e9 / LHCRFFreq
constexpr

Definition at line 33 of file LHCConstants.h.

◆ LHCMaxBunches

constexpr int o2::constants::lhc::LHCMaxBunches = 3564
constexpr

Definition at line 31 of file LHCConstants.h.

◆ LHCOrbitMUS

constexpr double o2::constants::lhc::LHCOrbitMUS = LHCOrbitNS * 1e-3
constexpr

Definition at line 37 of file LHCConstants.h.

◆ LHCOrbitNS

constexpr double o2::constants::lhc::LHCOrbitNS = LHCMaxBunches * LHCBunchSpacingNS
constexpr

Definition at line 34 of file LHCConstants.h.

◆ LHCRevFreq

constexpr double o2::constants::lhc::LHCRevFreq = 1.e9 / LHCOrbitNS
constexpr

Definition at line 35 of file LHCConstants.h.

◆ LHCRFFreq

constexpr double o2::constants::lhc::LHCRFFreq = 400.789e6
constexpr

Definition at line 32 of file LHCConstants.h.

◆ MaxNOrbits

constexpr unsigned int o2::constants::lhc::MaxNOrbits = 0xffffffff
constexpr

Definition at line 38 of file LHCConstants.h.