ATLAS Offline Software
SCT_MajorityCondAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SCT_MAJORITYCONDALG
8 #define SCT_MAJORITYCONDALG
9 
11 
16 
18 {
19  public:
20  SCT_MajorityCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
21  virtual ~SCT_MajorityCondAlg() = default;
22  virtual StatusCode initialize() override final;
23  virtual StatusCode execute(const EventContext& ctx) const override final;
24  virtual StatusCode finalize() override final;
25  virtual bool isReEntrant() const override final { return false; }
26 
27  private:
28  SG::ReadCondHandleKey<CondAttrListCollection> m_readKey{this, "ReadKey", "/SCT/DCS/MAJ", "Key of input (raw) conditions folder"};
29  SG::WriteCondHandleKey<SCT_MajorityCondData> m_writeKey{this, "WriteKey", "SCT_MajorityCondData", "Key of output (derived) conditions data"};
30 };
31 
32 #endif // SCT_MAJORITYCONDALG
SCT_MajorityCondAlg::~SCT_MajorityCondAlg
virtual ~SCT_MajorityCondAlg()=default
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
SCT_MajorityCondAlg::SCT_MajorityCondAlg
SCT_MajorityCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_MajorityCondAlg.cxx:11
WriteCondHandleKey.h
SCT_MajorityCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_MajorityCondAlg.cxx:16
SCT_MajorityCondData.h
header file for data object for SCT_MajorityCondAlg and SCT_MajorityConditionsTool.
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_MajorityCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_MajorityCondAlg.h:25
SCT_MajorityCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_MajorityCondData > m_writeKey
Definition: SCT_MajorityCondAlg.h:29
SCT_MajorityCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: SCT_MajorityCondAlg.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadCondHandleKey.h
AthReentrantAlgorithm.h
SCT_MajorityCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_MajorityCondAlg.cxx:115
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SCT_MajorityCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_MajorityCondAlg.cxx:29
SG::ReadCondHandleKey< CondAttrListCollection >
SG::WriteCondHandleKey< SCT_MajorityCondData >
SCT_MajorityCondAlg
Definition: SCT_MajorityCondAlg.h:18