ATLAS Offline Software
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  */
13 #ifndef CALOREC_CALOBCIDLUMICONDALG_H
14 #define CALOREC_CALOBCIDLUMICONDALG_H
15 
16 
24 
25 
38 {
39 public:
41 
42 
46  virtual StatusCode initialize() override;
47 
48 
53  virtual StatusCode execute (const EventContext& ctx) const override final;
54  virtual bool isReEntrant() const override final { return false; }
55 private:
58  {this, "CoeffsKey", "CaloBCIDCoeffs", "SG Key coefficient object"};
59 
62  {this, "BunchCrossingCondDataKey", "BunchCrossingData" ,"SG Key of BunchCrossing CDO"};
63 
66  {this, "LuminosityCondDataKey", "LuminosityCondData", "SG Key of LuminosityCondData object"};
67 
70  { this, "OutputLumiKey", "CaloBCIDLumi", "SG key of output luminosity object" };
71 
73  Gaudi::Property<bool> m_isMC
74  {this, "isMC", false, "Real data or MC"};
75 };
76 
77 
78 #endif // not CALOREC_CALOBCIDLUMICONDALG_H
CaloBCIDLumiCondAlg::m_outputLumiKey
SG::WriteCondHandleKey< CaloBCIDLumi > m_outputLumiKey
Property: Offset correction luminosity-dependent conditions object (output).
Definition: CaloBCIDLumiCondAlg.h:70
CaloBCIDLumiCondAlg::m_isMC
Gaudi::Property< bool > m_isMC
Property; MC flag.
Definition: CaloBCIDLumiCondAlg.h:74
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
CaloBCIDLumiCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Execute the algorithm.
Definition: CaloBCIDLumiCondAlg.cxx:35
CaloBCIDLumiCondAlg
Conditions algorithm to create CaloBCIDLumi.
Definition: CaloBCIDLumiCondAlg.h:38
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CaloBCIDLumiCondAlg::m_lumiDataKey
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Property: Per-bunch luminosity data (data only) conditions input).
Definition: CaloBCIDLumiCondAlg.h:66
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloBCIDCoeffs.h
Luminosity-dependent pileup offset correction conditions object.
CaloBCIDLumiCondAlg::m_bcDataKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bcDataKey
Property: Bunch crossing data (MC only) (conditions input).
Definition: CaloBCIDLumiCondAlg.h:62
LuminosityCondData.h
Hold luminosity data produced by LuminosityCondAlg.
ReadCondHandleKey.h
AthReentrantAlgorithm.h
CaloBCIDLumiCondAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition: CaloBCIDLumiCondAlg.cxx:20
CaloBCIDLumiCondAlg::m_coeffsKey
SG::ReadCondHandleKey< CaloBCIDCoeffs > m_coeffsKey
Property: Coefficients object (conditions input).
Definition: CaloBCIDLumiCondAlg.h:58
SG::ReadCondHandleKey< CaloBCIDCoeffs >
SG::WriteCondHandleKey< CaloBCIDLumi >
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.
CaloBCIDLumi.h
Luminosity-dependent pileup offset correction conditions object.
CaloBCIDLumiCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: CaloBCIDLumiCondAlg.h:54