ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
CaloBCIDLumiCondAlg.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-2022 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef CALOREC_CALOBCIDLUMICONDALG_H
14
#define CALOREC_CALOBCIDLUMICONDALG_H
15
16
17
#include "
CaloLumiConditions/CaloBCIDLumi.h
"
18
#include "
CaloLumiConditions/CaloBCIDCoeffs.h
"
19
#include "
LumiBlockData/LuminosityCondData.h
"
20
#include "
LumiBlockData/BunchCrossingCondData.h
"
21
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
22
#include "
StoreGate/ReadCondHandleKey.h
"
23
#include "
StoreGate/WriteCondHandleKey.h
"
24
25
37
class
CaloBCIDLumiCondAlg
:
public
AthCondAlgorithm
38
{
39
public
:
40
using
AthCondAlgorithm::AthCondAlgorithm;
41
42
46
virtual
StatusCode
initialize
()
override
;
47
48
53
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
54
private
:
56
SG::ReadCondHandleKey<CaloBCIDCoeffs>
m_coeffsKey
57
{
this
,
"CoeffsKey"
,
"CaloBCIDCoeffs"
,
"SG Key coefficient object"
};
58
60
SG::ReadCondHandleKey<BunchCrossingCondData>
m_bcDataKey
61
{
this
,
"BunchCrossingCondDataKey"
,
"BunchCrossingData"
,
"SG Key of BunchCrossing CDO"
};
62
64
SG::ReadCondHandleKey<LuminosityCondData>
m_lumiDataKey
65
{
this
,
"LuminosityCondDataKey"
,
"LuminosityCondData"
,
"SG Key of LuminosityCondData object"
};
66
68
SG::WriteCondHandleKey<CaloBCIDLumi>
m_outputLumiKey
69
{
this
,
"OutputLumiKey"
,
"CaloBCIDLumi"
,
"SG key of output luminosity object"
};
70
72
Gaudi::Property<bool>
m_isMC
73
{
this
,
"isMC"
,
false
,
"Real data or MC"
};
74
};
75
76
77
#endif
// not CALOREC_CALOBCIDLUMICONDALG_H
AthCondAlgorithm.h
Base class for conditions algorithms.
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.
CaloBCIDCoeffs.h
Luminosity-dependent pileup offset correction conditions object.
CaloBCIDLumi.h
Luminosity-dependent pileup offset correction conditions object.
LuminosityCondData.h
Hold luminosity data produced by LuminosityCondAlg.
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
CaloBCIDLumiCondAlg
Conditions algorithm to create CaloBCIDLumi.
Definition
CaloBCIDLumiCondAlg.h:38
CaloBCIDLumiCondAlg::m_isMC
Gaudi::Property< bool > m_isMC
Property; MC flag.
Definition
CaloBCIDLumiCondAlg.h:73
CaloBCIDLumiCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Execute the algorithm.
Definition
CaloBCIDLumiCondAlg.cxx:35
CaloBCIDLumiCondAlg::m_lumiDataKey
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Property: Per-bunch luminosity data (data only) conditions input).
Definition
CaloBCIDLumiCondAlg.h:65
CaloBCIDLumiCondAlg::m_bcDataKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bcDataKey
Property: Bunch crossing data (MC only) (conditions input).
Definition
CaloBCIDLumiCondAlg.h:61
CaloBCIDLumiCondAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition
CaloBCIDLumiCondAlg.cxx:20
CaloBCIDLumiCondAlg::m_outputLumiKey
SG::WriteCondHandleKey< CaloBCIDLumi > m_outputLumiKey
Property: Offset correction luminosity-dependent conditions object (output).
Definition
CaloBCIDLumiCondAlg.h:69
CaloBCIDLumiCondAlg::m_coeffsKey
SG::ReadCondHandleKey< CaloBCIDCoeffs > m_coeffsKey
Property: Coefficients object (conditions input).
Definition
CaloBCIDLumiCondAlg.h:57
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
Generated on
for ATLAS Offline Software by
1.17.0