ATLAS Offline Software
Loading...
Searching...
No Matches
BunchCrossingAverageCondData Class Reference

#include <BunchCrossingAverageCondData.h>

Collaboration diagram for BunchCrossingAverageCondData:

Public Types

enum  BunchCrossingType {
  Empty = 0 , FirstEmpty = 1 , MiddleEmpty = 2 , Single = 100 ,
  Front = 200 , Middle = 201 , Tail = 202 , Unpaired = 300
}
 Enumeration type for a given bunch crossing. More...
enum  BunchDistanceType { NanoSec , BunchCrossings , FilledBunches }
typedef unsigned int bcid_type

Public Member Functions

float GetBeam1Intensity (int channel) const
float GetBeam2Intensity (int channel) const
float GetBeam1IntensityAll (int channel) const
float GetBeam2IntensityAll (int channel) const
float GetBeam1IntensitySTD (int channel) const
float GetBeam2IntensitySTD (int channel) const
float GetBeam1IntensityAllSTD (int channel) const
float GetBeam2IntensityAllSTD (int channel) const
unsigned long long GetRunLB () const
void SetBeam1Intensity (float Beam1Intensity, int channel)
void SetBeam2Intensity (float Beam2Intensity, int channel)
void SetBeam1IntensityAll (float Beam1IntensityAll, int channel)
void SetBeam2IntensityAll (float Beam2IntensityAll, int channel)
void SetBeam1IntensitySTD (float Beam1IntensitySTD, int channel)
void SetBeam2IntensitySTD (float Beam2IntensitySTD, int channel)
void SetBeam1IntensityAllSTD (float Beam1IntensityAllSTD, int channel)
void SetBeam2IntensityAllSTD (float Beam2IntensityAllSTD, int channel)
void SetRunLB (unsigned long long RunLB)

Static Public Attributes

static constexpr int m_MAX_BCID =3564
static constexpr int m_BUNCH_SPACING = 25

Private Attributes

float m_beam1IntensityAll = 0
float m_beam2IntensityAll = 0
float m_beam1IntensityAll_fBCT = 0
float m_beam2IntensityAll_fBCT = 0
float m_beam1IntensityAll_DCCT = 0
float m_beam2IntensityAll_DCCT = 0
float m_beam1IntensityAll_DCCT24 = 0
float m_beam2IntensityAll_DCCT24 = 0
float m_beam1Intensity = 0
float m_beam2Intensity = 0
float m_beam1Intensity_fBCT = 0
float m_beam2Intensity_fBCT = 0
float m_beam1Intensity_DCCT = 0
float m_beam2Intensity_DCCT = 0
float m_beam1Intensity_DCCT24 = 0
float m_beam2Intensity_DCCT24 = 0
float m_beam1IntensityAllSTD = 0
float m_beam2IntensityAllSTD = 0
float m_beam1IntensityAllSTD_fBCT = 0
float m_beam2IntensityAllSTD_fBCT = 0
float m_beam1IntensityAllSTD_DCCT = 0
float m_beam2IntensityAllSTD_DCCT = 0
float m_beam1IntensityAllSTD_DCCT24 = 0
float m_beam2IntensityAllSTD_DCCT24 = 0
float m_beam1IntensitySTD = 0
float m_beam2IntensitySTD = 0
float m_beam1IntensitySTD_fBCT = 0
float m_beam2IntensitySTD_fBCT = 0
float m_beam1IntensitySTD_DCCT = 0
float m_beam2IntensitySTD_DCCT = 0
float m_beam1IntensitySTD_DCCT24 = 0
float m_beam2IntensitySTD_DCCT24 = 0
unsigned long long m_RunLB = 0

Static Private Attributes

static const int m_headTailLength = 300

Friends

class BunchCrossingAverageCondAlg

Detailed Description

Definition at line 23 of file BunchCrossingAverageCondData.h.

Member Typedef Documentation

◆ bcid_type

Definition at line 27 of file BunchCrossingAverageCondData.h.

Member Enumeration Documentation

◆ 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 75 of file BunchCrossingAverageCondData.h.

76 {
77 Empty = 0,
78 FirstEmpty = 1,
79 MiddleEmpty = 2,
80 Single = 100,
81 Front = 200,
82 Middle = 201,
83 Tail = 202,
84 Unpaired = 300
85 };
@ Unpaired
This is an unpaired bunch (either beam1 or beam2).
@ Empty
An empty bunch far away from filled bunches.
@ FirstEmpty
The first empty bunch after a train.
@ Middle
The BCID belongs to the middle bunches in a train.
@ Front
The BCID belongs to the first few bunches in a train.
@ Single
This is a filled, single bunch (not in a train).
@ MiddleEmpty
An empty BCID in the middle of a train.
@ Tail
The BCID belongs to the last few bunces in a train.

◆ BunchDistanceType

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 88 of file BunchCrossingAverageCondData.h.

88 {
89 NanoSec,
93 };
@ BunchCrossings
Distance in units of 25 nanoseconds.
@ FilledBunches
Distance in units of filled bunches (depends on filling scheme).

Member Function Documentation

◆ GetBeam1Intensity()

float BunchCrossingAverageCondData::GetBeam1Intensity ( int channel) const

Definition at line 38 of file BunchCrossingAverageCondData.cxx.

38 {
39 if(channel==0)
40 return m_beam1Intensity;
41 else if(channel==1)
43 else if(channel==2)
45 else if(channel==3)
47 else return 0;
48
49}

◆ GetBeam1IntensityAll()

float BunchCrossingAverageCondData::GetBeam1IntensityAll ( int channel) const

Definition at line 10 of file BunchCrossingAverageCondData.cxx.

10 {
11 if(channel==0)
13 else if(channel==1)
15 else if(channel==2)
17 else if(channel==3)
19 else return 0;
20
21}

◆ GetBeam1IntensityAllSTD()

float BunchCrossingAverageCondData::GetBeam1IntensityAllSTD ( int channel) const

Definition at line 70 of file BunchCrossingAverageCondData.cxx.

70 {
71 if(channel==0)
73 else if(channel==1)
75 else if(channel==2)
77 else if(channel==3)
79 else return 0;
80
81}

◆ GetBeam1IntensitySTD()

float BunchCrossingAverageCondData::GetBeam1IntensitySTD ( int channel) const

Definition at line 98 of file BunchCrossingAverageCondData.cxx.

98 {
99 if(channel==0)
100 return m_beam1IntensitySTD;
101 else if(channel==1)
103 else if(channel==2)
105 else if(channel==3)
107 else return 0;
108
109}

◆ GetBeam2Intensity()

float BunchCrossingAverageCondData::GetBeam2Intensity ( int channel) const

Definition at line 52 of file BunchCrossingAverageCondData.cxx.

52 {
53 if(channel==0)
54 return m_beam2Intensity;
55 else if(channel==1)
57 else if(channel==2)
59 else if(channel==3)
61 else return 0;
62
63}

◆ GetBeam2IntensityAll()

float BunchCrossingAverageCondData::GetBeam2IntensityAll ( int channel) const

Definition at line 24 of file BunchCrossingAverageCondData.cxx.

24 {
25 if(channel==0)
27 else if(channel==1)
29 else if(channel==2)
31 else if(channel==3)
33 else return 0;
34
35}

◆ GetBeam2IntensityAllSTD()

float BunchCrossingAverageCondData::GetBeam2IntensityAllSTD ( int channel) const

Definition at line 84 of file BunchCrossingAverageCondData.cxx.

84 {
85 if(channel==0)
87 else if(channel==1)
89 else if(channel==2)
91 else if(channel==3)
93 else return 0;
94
95}

◆ GetBeam2IntensitySTD()

float BunchCrossingAverageCondData::GetBeam2IntensitySTD ( int channel) const

Definition at line 112 of file BunchCrossingAverageCondData.cxx.

112 {
113 if(channel==0)
114 return m_beam2IntensitySTD;
115 else if(channel==1)
117 else if(channel==2)
119 else if(channel==3)
121 else return 0;
122
123}

◆ GetRunLB()

unsigned long long BunchCrossingAverageCondData::GetRunLB ( ) const

Definition at line 125 of file BunchCrossingAverageCondData.cxx.

125 {
126 return m_RunLB;
127}

◆ SetBeam1Intensity()

void BunchCrossingAverageCondData::SetBeam1Intensity ( float Beam1Intensity,
int channel )

Definition at line 163 of file BunchCrossingAverageCondData.cxx.

163 {
164 if(channel==0)
165 m_beam1Intensity = Beam1Intensity;
166 else if(channel==1)
167 m_beam1Intensity_fBCT = Beam1Intensity;
168 else if(channel==2)
169 m_beam1Intensity_DCCT = Beam1Intensity;
170 else if(channel==3)
171 m_beam1Intensity_DCCT24= Beam1Intensity;
172
173}

◆ SetBeam1IntensityAll()

void BunchCrossingAverageCondData::SetBeam1IntensityAll ( float Beam1IntensityAll,
int channel )

Definition at line 136 of file BunchCrossingAverageCondData.cxx.

136 {
137 if(channel==0)
138 m_beam1IntensityAll = Beam1IntensityAll;
139 else if(channel==1)
140 m_beam1IntensityAll_fBCT = Beam1IntensityAll;
141 else if(channel==2)
142 m_beam1IntensityAll_DCCT = Beam1IntensityAll;
143 else if(channel==3)
144 m_beam1IntensityAll_DCCT24= Beam1IntensityAll;
145
146}

◆ SetBeam1IntensityAllSTD()

void BunchCrossingAverageCondData::SetBeam1IntensityAllSTD ( float Beam1IntensityAllSTD,
int channel )

Definition at line 190 of file BunchCrossingAverageCondData.cxx.

190 {
191 if(channel==0)
192 m_beam1IntensityAllSTD = Beam1IntensityAllSTD;
193 else if(channel==1)
194 m_beam1IntensityAllSTD_fBCT = Beam1IntensityAllSTD;
195 else if(channel==2)
196 m_beam1IntensityAllSTD_DCCT = Beam1IntensityAllSTD;
197 else if(channel==3)
198 m_beam1IntensityAllSTD_DCCT24= Beam1IntensityAllSTD;
199
200}

◆ SetBeam1IntensitySTD()

void BunchCrossingAverageCondData::SetBeam1IntensitySTD ( float Beam1IntensitySTD,
int channel )

Definition at line 217 of file BunchCrossingAverageCondData.cxx.

217 {
218 if(channel==0)
219 m_beam1IntensitySTD = Beam1IntensitySTD;
220 else if(channel==1)
221 m_beam1IntensitySTD_fBCT = Beam1IntensitySTD;
222 else if(channel==2)
223 m_beam1IntensitySTD_DCCT = Beam1IntensitySTD;
224 else if(channel==3)
225 m_beam1IntensitySTD_DCCT24= Beam1IntensitySTD;
226
227}

◆ SetBeam2Intensity()

void BunchCrossingAverageCondData::SetBeam2Intensity ( float Beam2Intensity,
int channel )

Definition at line 176 of file BunchCrossingAverageCondData.cxx.

176 {
177 if(channel==0)
178 m_beam2Intensity = Beam2Intensity;
179 else if(channel==1)
180 m_beam2Intensity_fBCT = Beam2Intensity;
181 else if(channel==2)
182 m_beam2Intensity_DCCT = Beam2Intensity;
183 else if(channel==3)
184 m_beam2Intensity_DCCT24= Beam2Intensity;
185
186}

◆ SetBeam2IntensityAll()

void BunchCrossingAverageCondData::SetBeam2IntensityAll ( float Beam2IntensityAll,
int channel )

Definition at line 149 of file BunchCrossingAverageCondData.cxx.

149 {
150 if(channel==0)
151 m_beam2IntensityAll = Beam2IntensityAll;
152 else if(channel==1)
153 m_beam2IntensityAll_fBCT = Beam2IntensityAll;
154 else if(channel==2)
155 m_beam2IntensityAll_DCCT = Beam2IntensityAll;
156 else if(channel==3)
157 m_beam2IntensityAll_DCCT24= Beam2IntensityAll;
158
159}

◆ SetBeam2IntensityAllSTD()

void BunchCrossingAverageCondData::SetBeam2IntensityAllSTD ( float Beam2IntensityAllSTD,
int channel )

Definition at line 203 of file BunchCrossingAverageCondData.cxx.

203 {
204 if(channel==0)
205 m_beam2IntensityAllSTD = Beam2IntensityAllSTD;
206 else if(channel==1)
207 m_beam2IntensityAllSTD_fBCT = Beam2IntensityAllSTD;
208 else if(channel==2)
209 m_beam2IntensityAllSTD_DCCT = Beam2IntensityAllSTD;
210 else if(channel==3)
211 m_beam2IntensityAllSTD_DCCT24= Beam2IntensityAllSTD;
212
213}

◆ SetBeam2IntensitySTD()

void BunchCrossingAverageCondData::SetBeam2IntensitySTD ( float Beam2IntensitySTD,
int channel )

Definition at line 230 of file BunchCrossingAverageCondData.cxx.

230 {
231 if(channel==0)
232 m_beam2IntensitySTD = Beam2IntensitySTD;
233 else if(channel==1)
234 m_beam2IntensitySTD_fBCT = Beam2IntensitySTD;
235 else if(channel==2)
236 m_beam2IntensitySTD_DCCT = Beam2IntensitySTD;
237 else if(channel==3)
238 m_beam2IntensitySTD_DCCT24= Beam2IntensitySTD;
239
240}

◆ SetRunLB()

void BunchCrossingAverageCondData::SetRunLB ( unsigned long long RunLB)

Definition at line 241 of file BunchCrossingAverageCondData.cxx.

241 {
242 m_RunLB = RunLB;
243}

◆ BunchCrossingAverageCondAlg

friend class BunchCrossingAverageCondAlg
friend

Definition at line 99 of file BunchCrossingAverageCondData.h.

Member Data Documentation

◆ m_beam1Intensity

float BunchCrossingAverageCondData::m_beam1Intensity = 0
private

Definition at line 114 of file BunchCrossingAverageCondData.h.

◆ m_beam1Intensity_DCCT

float BunchCrossingAverageCondData::m_beam1Intensity_DCCT = 0
private

Definition at line 118 of file BunchCrossingAverageCondData.h.

◆ m_beam1Intensity_DCCT24

float BunchCrossingAverageCondData::m_beam1Intensity_DCCT24 = 0
private

Definition at line 120 of file BunchCrossingAverageCondData.h.

◆ m_beam1Intensity_fBCT

float BunchCrossingAverageCondData::m_beam1Intensity_fBCT = 0
private

Definition at line 116 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAll

float BunchCrossingAverageCondData::m_beam1IntensityAll = 0
private

Definition at line 105 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAll_DCCT

float BunchCrossingAverageCondData::m_beam1IntensityAll_DCCT = 0
private

Definition at line 109 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAll_DCCT24

float BunchCrossingAverageCondData::m_beam1IntensityAll_DCCT24 = 0
private

Definition at line 111 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAll_fBCT

float BunchCrossingAverageCondData::m_beam1IntensityAll_fBCT = 0
private

Definition at line 107 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAllSTD

float BunchCrossingAverageCondData::m_beam1IntensityAllSTD = 0
private

Definition at line 124 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAllSTD_DCCT

float BunchCrossingAverageCondData::m_beam1IntensityAllSTD_DCCT = 0
private

Definition at line 128 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAllSTD_DCCT24

float BunchCrossingAverageCondData::m_beam1IntensityAllSTD_DCCT24 = 0
private

Definition at line 130 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensityAllSTD_fBCT

float BunchCrossingAverageCondData::m_beam1IntensityAllSTD_fBCT = 0
private

Definition at line 126 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensitySTD

float BunchCrossingAverageCondData::m_beam1IntensitySTD = 0
private

Definition at line 133 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensitySTD_DCCT

float BunchCrossingAverageCondData::m_beam1IntensitySTD_DCCT = 0
private

Definition at line 137 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensitySTD_DCCT24

float BunchCrossingAverageCondData::m_beam1IntensitySTD_DCCT24 = 0
private

Definition at line 139 of file BunchCrossingAverageCondData.h.

◆ m_beam1IntensitySTD_fBCT

float BunchCrossingAverageCondData::m_beam1IntensitySTD_fBCT = 0
private

Definition at line 135 of file BunchCrossingAverageCondData.h.

◆ m_beam2Intensity

float BunchCrossingAverageCondData::m_beam2Intensity = 0
private

Definition at line 115 of file BunchCrossingAverageCondData.h.

◆ m_beam2Intensity_DCCT

float BunchCrossingAverageCondData::m_beam2Intensity_DCCT = 0
private

Definition at line 119 of file BunchCrossingAverageCondData.h.

◆ m_beam2Intensity_DCCT24

float BunchCrossingAverageCondData::m_beam2Intensity_DCCT24 = 0
private

Definition at line 121 of file BunchCrossingAverageCondData.h.

◆ m_beam2Intensity_fBCT

float BunchCrossingAverageCondData::m_beam2Intensity_fBCT = 0
private

Definition at line 117 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAll

float BunchCrossingAverageCondData::m_beam2IntensityAll = 0
private

Definition at line 106 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAll_DCCT

float BunchCrossingAverageCondData::m_beam2IntensityAll_DCCT = 0
private

Definition at line 110 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAll_DCCT24

float BunchCrossingAverageCondData::m_beam2IntensityAll_DCCT24 = 0
private

Definition at line 112 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAll_fBCT

float BunchCrossingAverageCondData::m_beam2IntensityAll_fBCT = 0
private

Definition at line 108 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAllSTD

float BunchCrossingAverageCondData::m_beam2IntensityAllSTD = 0
private

Definition at line 125 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAllSTD_DCCT

float BunchCrossingAverageCondData::m_beam2IntensityAllSTD_DCCT = 0
private

Definition at line 129 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAllSTD_DCCT24

float BunchCrossingAverageCondData::m_beam2IntensityAllSTD_DCCT24 = 0
private

Definition at line 131 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensityAllSTD_fBCT

float BunchCrossingAverageCondData::m_beam2IntensityAllSTD_fBCT = 0
private

Definition at line 127 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensitySTD

float BunchCrossingAverageCondData::m_beam2IntensitySTD = 0
private

Definition at line 134 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensitySTD_DCCT

float BunchCrossingAverageCondData::m_beam2IntensitySTD_DCCT = 0
private

Definition at line 138 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensitySTD_DCCT24

float BunchCrossingAverageCondData::m_beam2IntensitySTD_DCCT24 = 0
private

Definition at line 140 of file BunchCrossingAverageCondData.h.

◆ m_beam2IntensitySTD_fBCT

float BunchCrossingAverageCondData::m_beam2IntensitySTD_fBCT = 0
private

Definition at line 136 of file BunchCrossingAverageCondData.h.

◆ m_BUNCH_SPACING

int BunchCrossingAverageCondData::m_BUNCH_SPACING = 25
staticconstexpr

Definition at line 29 of file BunchCrossingAverageCondData.h.

◆ m_headTailLength

const int BunchCrossingAverageCondData::m_headTailLength = 300
staticprivate

Definition at line 142 of file BunchCrossingAverageCondData.h.

◆ m_MAX_BCID

int BunchCrossingAverageCondData::m_MAX_BCID =3564
staticconstexpr

Definition at line 28 of file BunchCrossingAverageCondData.h.

◆ m_RunLB

unsigned long long BunchCrossingAverageCondData::m_RunLB = 0
private

Definition at line 141 of file BunchCrossingAverageCondData.h.


The documentation for this class was generated from the following files: