DataFormats
Common
interface
ConditionsInEdm.h
Go to the documentation of this file.
1
#include <cstdint>
2
#ifndef DataFormats_Common_ConditionsInEdm_h
3
#define DataFormats_Common_ConditionsInEdm_h
4
5
namespace
edm
{
6
7
class
ConditionsInLumiBlock
{
8
public
:
9
uint32_t
totalIntensityBeam1
;
10
uint32_t
totalIntensityBeam2
;
11
12
bool
isProductEqual
(
ConditionsInLumiBlock
const
& newThing)
const
{
13
return
((
totalIntensityBeam1
== newThing.
totalIntensityBeam1
) &&
14
(
totalIntensityBeam2
== newThing.
totalIntensityBeam2
));
15
}
16
};
17
18
class
ConditionsInRunBlock
{
19
public
:
20
uint16_t
beamMode
;
21
uint16_t
beamMomentum
;
22
// uint16_t particleTypeBeam1;
23
// uint16_t particleTypeBeam2;
24
uint32_t
lhcFillNumber
;
25
float
BStartCurrent
;
26
float
BStopCurrent
;
27
float
BAvgCurrent
;
28
bool
isProductEqual
(
ConditionsInRunBlock
const
& newThing)
const
{
29
return
(
lhcFillNumber
== newThing.
lhcFillNumber
);
30
}
31
};
32
33
class
ConditionsInEventBlock
{
34
public
:
35
uint16_t
bstMasterStatus
;
36
uint32_t
turnCountNumber
;
37
};
38
}
// namespace edm
39
#endif
edm::ConditionsInEventBlock::turnCountNumber
uint32_t turnCountNumber
Definition:
ConditionsInEdm.h:36
edm::ConditionsInLumiBlock::totalIntensityBeam2
uint32_t totalIntensityBeam2
Definition:
ConditionsInEdm.h:10
edm::ConditionsInLumiBlock
Definition:
ConditionsInEdm.h:7
edm::ConditionsInRunBlock::isProductEqual
bool isProductEqual(ConditionsInRunBlock const &newThing) const
Definition:
ConditionsInEdm.h:28
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ConditionsInRunBlock::lhcFillNumber
uint32_t lhcFillNumber
Definition:
ConditionsInEdm.h:24
edm::ConditionsInEventBlock
Definition:
ConditionsInEdm.h:33
edm::ConditionsInLumiBlock::isProductEqual
bool isProductEqual(ConditionsInLumiBlock const &newThing) const
Definition:
ConditionsInEdm.h:12
edm::ConditionsInRunBlock::BAvgCurrent
float BAvgCurrent
Definition:
ConditionsInEdm.h:27
edm::ConditionsInRunBlock
Definition:
ConditionsInEdm.h:18
edm::ConditionsInLumiBlock::totalIntensityBeam1
uint32_t totalIntensityBeam1
Definition:
ConditionsInEdm.h:9
edm::ConditionsInRunBlock::BStartCurrent
float BStartCurrent
Definition:
ConditionsInEdm.h:25
edm::ConditionsInRunBlock::beamMode
uint16_t beamMode
Definition:
ConditionsInEdm.h:20
edm::ConditionsInRunBlock::BStopCurrent
float BStopCurrent
Definition:
ConditionsInEdm.h:26
edm::ConditionsInEventBlock::bstMasterStatus
uint16_t bstMasterStatus
Definition:
ConditionsInEdm.h:35
edm::ConditionsInRunBlock::beamMomentum
uint16_t beamMomentum
Definition:
ConditionsInEdm.h:21
Generated for CMSSW Reference Manual by
1.8.16