ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LumiBlock
LumiBlockData
LumiBlockData
LBDurationCondData.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef LUMIBLOCKDATA_LBDURATIONCONDDATA_H
14
#define LUMIBLOCKDATA_LBDURATIONCONDDATA_H
15
16
17
#include "
AthenaKernel/CondCont.h
"
18
#include "
AthenaKernel/CLASS_DEF.h
"
19
20
24
class
LBDurationCondData
25
{
26
public
:
31
LBDurationCondData
(
double
duration);
32
33
34
// Luminosity block time (in seconds) from /TRIGGER/LUMI/LBLB
35
// Multiply by lbAverageLuminosity to get integrated luminosity in the current lumi block
36
double
lbDuration
()
const
;
// Luminosity block time (in seconds)
37
38
39
private
:
40
// Lumi block length from /TRIGGER/LUMI/LBLB, in seconds.
41
double
m_LBDuration
;
42
};
43
44
45
CLASS_DEF
(
LBDurationCondData
, 184676788, 0)
46
CONDCONT_DEF
(
LBDurationCondData
, 62600156);
47
48
49
#endif
// not LUMIBLOCKDATA_LBDURATIONCONDDATA_H
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
LBDurationCondData
Hold luminosity block duration data produced from /TRIGGER/LUMI/LBLB.
Definition
LBDurationCondData.h:25
LBDurationCondData::LBDurationCondData
LBDurationCondData(double duration)
Constructor.
Definition
LBDurationCondData.cxx:19
LBDurationCondData::m_LBDuration
double m_LBDuration
Definition
LBDurationCondData.h:41
LBDurationCondData::lbDuration
double lbDuration() const
Definition
LBDurationCondData.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0