13#ifndef LUMIBLOCKDATA_BUNCHCROSSINGINTENSITYCONDDATA_H
14#define LUMIBLOCKDATA_BUNCHCROSSINGINTENSITYCONDDATA_H
44 unsigned long long GetRunLB( )
const;
54 void SetRunLB(
unsigned long long RunLB) ;
Hold mappings of ranges to condition objects.
#define CONDCONT_MIXED_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
float m_beam2IntensityAll
const std::vector< float > & GetBeam1IntensityPerBCIDVector(int channel) const
BunchDistanceType
Enumeration specifying the units in which to expect the bunch distance type.
@ FilledBunches
Distance in units of filled bunches (depends on filling scheme)
@ BunchCrossings
Distance in units of 25 nanoseconds.
@ NanoSec
Distance in nanoseconds.
unsigned long long GetRunLB() const
static const int m_headTailLength
float GetBeam2IntensityBCID(const bcid_type bcid, int channel) const
void setBeam1IntensityPerBCIDVector(std::vector< float > &&val, int channel)
std::vector< float > m_beam1Intensity_fBCT
void SetBeam1IntensityAll(float Beam1IntensityAll, int channel)
const std::vector< float > & GetBeam2IntensityPerBCIDVector(int channel) const
float GetBeam1IntensityAll(int channel) const
unsigned long long m_RunLB
std::vector< float > m_beam2Intensity_fBCT
static constexpr int m_MAX_BCID
static constexpr int m_BUNCH_SPACING
float GetBeam2IntensityAll(int channel) const
float m_beam1IntensityAll_fBCT
void SetRunLB(unsigned long long RunLB)
std::vector< float > m_beam1Intensity
BunchCrossingType
Enumeration type for a given bunch crossing.
@ Single
This is a filled, single bunch (not in a train)
@ Front
The BCID belongs to the first few bunches in a train.
@ Tail
The BCID belongs to the last few bunces in a train.
@ Middle
The BCID belongs to the middle bunches in a train.
@ MiddleEmpty
An empty BCID in the middle of a train.
@ Empty
An empty bunch far away from filled bunches.
@ FirstEmpty
The first empty bunch after a train.
@ Unpaired
This is an unpaired bunch (either beam1 or beam2)
friend class BunchCrossingIntensityCondAlg
float m_beam1IntensityAll
float GetBeam1IntensityBCID(const bcid_type bcid, int channel) const
std::vector< float > m_beam2Intensity
void SetBeam2IntensityAll(float Beam2IntensityAll, int channel)
float m_beam2IntensityAll_fBCT
void setBeam2IntensityPerBCIDVector(std::vector< float > &&val, int channel)