ATLAS Offline Software
Loading...
Searching...
No Matches
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
24
25
38{
39public:
40 using AthCondAlgorithm::AthCondAlgorithm;
41
42
46 virtual StatusCode initialize() override;
47
48
53 virtual StatusCode execute (const EventContext& ctx) const override final;
54private:
57 {this, "CoeffsKey", "CaloBCIDCoeffs", "SG Key coefficient object"};
58
61 {this, "BunchCrossingCondDataKey", "BunchCrossingData" ,"SG Key of BunchCrossing CDO"};
62
65 {this, "LuminosityCondDataKey", "LuminosityCondData", "SG Key of LuminosityCondData object"};
66
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
Base class for conditions algorithms.
Replaces the BunchCrossing AlgTool used in run1/2.
Luminosity-dependent pileup offset correction conditions object.
Luminosity-dependent pileup offset correction conditions object.
Hold luminosity data produced by LuminosityCondAlg.
Base class for conditions algorithms.
Conditions algorithm to create CaloBCIDLumi.
Gaudi::Property< bool > m_isMC
Property; MC flag.
virtual StatusCode execute(const EventContext &ctx) const override final
Execute the algorithm.
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Property: Per-bunch luminosity data (data only) conditions input).
SG::ReadCondHandleKey< BunchCrossingCondData > m_bcDataKey
Property: Bunch crossing data (MC only) (conditions input).
virtual StatusCode initialize() override
Gaudi initialize method.
SG::WriteCondHandleKey< CaloBCIDLumi > m_outputLumiKey
Property: Offset correction luminosity-dependent conditions object (output).
SG::ReadCondHandleKey< CaloBCIDCoeffs > m_coeffsKey
Property: Coefficients object (conditions input).