ATLAS Offline Software
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  */
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 
25 {
26 public:
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)
47 
48 
49 #endif // not LUMIBLOCKDATA_LBDURATIONCONDDATA_H
CondCont.h
Hold mappings of ranges to condition objects.
LBDurationCondData::LBDurationCondData
LBDurationCondData(double duration)
Constructor.
Definition: LBDurationCondData.cxx:19
LBDurationCondData
Hold luminosity block duration data produced from /TRIGGER/LUMI/LBLB.
Definition: LBDurationCondData.h:25
LBDurationCondData::m_LBDuration
double m_LBDuration
Definition: LBDurationCondData.h:41
PixelAthHitMonAlgCfg.duration
duration
Definition: PixelAthHitMonAlgCfg.py:152
LBDurationCondData::lbDuration
double lbDuration() const
Definition: LBDurationCondData.cxx:27
CONDCONT_DEF
CONDCONT_DEF(LBDurationCondData, 62600156)
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:64
CLASS_DEF.h
macros to associate a CLID to a type