#include <BunchCrossingIntensityCondData.h>
◆ bcid_type
◆ BunchCrossingType
Enumeration type for a given bunch crossing.
This enumeration can specify what kind of bunch crossing one BCID belongs to. The types could easily be extended later on.
| Enumerator |
|---|
| Empty | An empty bunch far away from filled bunches.
|
| FirstEmpty | The first empty bunch after a train.
|
| MiddleEmpty | An empty BCID in the middle of a train.
|
| Single | This is a filled, single bunch (not in a train)
|
| Front | The BCID belongs to the first few bunches in a train.
|
| Middle | The BCID belongs to the middle bunches in a train.
|
| Tail | The BCID belongs to the last few bunces in a train.
|
| Unpaired | This is an unpaired bunch (either beam1 or beam2)
|
Definition at line 61 of file BunchCrossingIntensityCondData.h.
62 {
71 };
@ 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)
◆ BunchDistanceType
Enumeration specifying the units in which to expect the bunch distance type.
To make it clear for the following functions what units to interpret their return values in, it is possible to request their return values in different units.
| Enumerator |
|---|
| NanoSec | Distance in nanoseconds.
|
| BunchCrossings | Distance in units of 25 nanoseconds.
|
| FilledBunches | Distance in units of filled bunches (depends on filling scheme)
|
Definition at line 79 of file BunchCrossingIntensityCondData.h.
79 {
84 };
@ FilledBunches
Distance in units of filled bunches (depends on filling scheme)
@ BunchCrossings
Distance in units of 25 nanoseconds.
@ NanoSec
Distance in nanoseconds.
◆ GetBeam1IntensityAll()
| float BunchCrossingIntensityCondData::GetBeam1IntensityAll |
( |
int | channel | ) |
const |
Definition at line 53 of file BunchCrossingIntensityCondData.cxx.
53 {
54
55 if(channel==0)
57 else if(channel==1)
59 else return 0;
60
61}
float m_beam1IntensityAll_fBCT
float m_beam1IntensityAll
◆ GetBeam1IntensityBCID()
| float BunchCrossingIntensityCondData::GetBeam1IntensityBCID |
( |
const bcid_type | bcid, |
|
|
int | channel ) const |
Definition at line 7 of file BunchCrossingIntensityCondData.cxx.
7 {
9 if (channel==0)
11 else if (channel==1)
13 else
14 return 0;
15}
std::vector< float > m_beam1Intensity_fBCT
static constexpr int m_MAX_BCID
std::vector< float > m_beam1Intensity
◆ GetBeam1IntensityPerBCIDVector()
| const std::vector< float > & BunchCrossingIntensityCondData::GetBeam1IntensityPerBCIDVector |
( |
int | channel | ) |
const |
◆ GetBeam2IntensityAll()
| float BunchCrossingIntensityCondData::GetBeam2IntensityAll |
( |
int | channel | ) |
const |
Definition at line 64 of file BunchCrossingIntensityCondData.cxx.
64 {
65
66 if(channel==0)
68 else if(channel==1)
70 else return 0;
71
72}
float m_beam2IntensityAll
float m_beam2IntensityAll_fBCT
◆ GetBeam2IntensityBCID()
| float BunchCrossingIntensityCondData::GetBeam2IntensityBCID |
( |
const bcid_type | bcid, |
|
|
int | channel ) const |
Definition at line 18 of file BunchCrossingIntensityCondData.cxx.
18 {
20 if (channel==0)
22 else if (channel==1)
24 else
25 return 0;
26}
std::vector< float > m_beam2Intensity_fBCT
std::vector< float > m_beam2Intensity
◆ GetBeam2IntensityPerBCIDVector()
| const std::vector< float > & BunchCrossingIntensityCondData::GetBeam2IntensityPerBCIDVector |
( |
int | channel | ) |
const |
◆ GetRunLB()
| unsigned long long BunchCrossingIntensityCondData::GetRunLB |
( |
| ) |
const |
◆ SetBeam1IntensityAll()
| void BunchCrossingIntensityCondData::SetBeam1IntensityAll |
( |
float | Beam1IntensityAll, |
|
|
int | channel ) |
◆ setBeam1IntensityPerBCIDVector()
| void BunchCrossingIntensityCondData::setBeam1IntensityPerBCIDVector |
( |
std::vector< float > && | val, |
|
|
int | channel ) |
◆ SetBeam2IntensityAll()
| void BunchCrossingIntensityCondData::SetBeam2IntensityAll |
( |
float | Beam2IntensityAll, |
|
|
int | channel ) |
◆ setBeam2IntensityPerBCIDVector()
| void BunchCrossingIntensityCondData::setBeam2IntensityPerBCIDVector |
( |
std::vector< float > && | val, |
|
|
int | channel ) |
◆ SetRunLB()
| void BunchCrossingIntensityCondData::SetRunLB |
( |
unsigned long long | RunLB | ) |
|
◆ BunchCrossingIntensityCondAlg
◆ m_beam1Intensity
| std::vector<float> BunchCrossingIntensityCondData::m_beam1Intensity = std::vector<float> (m_MAX_BCID) |
|
private |
◆ m_beam1Intensity_fBCT
| std::vector<float> BunchCrossingIntensityCondData::m_beam1Intensity_fBCT = std::vector<float> (m_MAX_BCID) |
|
private |
◆ m_beam1IntensityAll
| float BunchCrossingIntensityCondData::m_beam1IntensityAll |
|
private |
◆ m_beam1IntensityAll_fBCT
| float BunchCrossingIntensityCondData::m_beam1IntensityAll_fBCT |
|
private |
◆ m_beam2Intensity
| std::vector<float> BunchCrossingIntensityCondData::m_beam2Intensity = std::vector<float> (m_MAX_BCID) |
|
private |
◆ m_beam2Intensity_fBCT
| std::vector<float> BunchCrossingIntensityCondData::m_beam2Intensity_fBCT = std::vector<float> (m_MAX_BCID) |
|
private |
◆ m_beam2IntensityAll
| float BunchCrossingIntensityCondData::m_beam2IntensityAll |
|
private |
◆ m_beam2IntensityAll_fBCT
| float BunchCrossingIntensityCondData::m_beam2IntensityAll_fBCT |
|
private |
◆ m_BUNCH_SPACING
| int BunchCrossingIntensityCondData::m_BUNCH_SPACING = 25 |
|
staticconstexpr |
◆ m_headTailLength
| const int BunchCrossingIntensityCondData::m_headTailLength = 300 |
|
staticprivate |
◆ m_MAX_BCID
| int BunchCrossingIntensityCondData::m_MAX_BCID =3564 |
|
staticconstexpr |
◆ m_RunLB
| unsigned long long BunchCrossingIntensityCondData::m_RunLB |
|
private |
The documentation for this class was generated from the following files: