ATLAS Offline Software
TRTStrawStatusCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRTSTRAWSTATUSCONDALG_H
6 #define TRTSTRAWSTATUSCONDALG_H
7 
14 
15 class TRT_ID;
16 
18 {
19  public:
21 
22  TRTStrawStatusCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual ~TRTStrawStatusCondAlg() override = default;
24 
25  virtual StatusCode initialize() override;
26  virtual StatusCode execute(const EventContext &ctx) const override;
27 
28  private:
29  SG::ReadCondHandleKey<StrawStatusContainer> m_strawReadKey{this,"StrawReadKey","/TRT/Cond/Status","Straw Status in-key"};
30  SG::ReadCondHandleKey<StrawStatusContainer> m_strawPermReadKey{this,"StrawPermanentReadKey","/TRT/Cond/StatusPermanent","Straw Permanent Status in-key"};
31  SG::ReadCondHandleKey<StrawStatusContainer> m_strawHTReadKey{this,"StatHTReadKeyName","/TRT/Cond/StatusHT","StrawStatusHT in-key"};
32 
33  SG::WriteCondHandleKey<TRTCond::StrawStatusData> m_strawStatusWriteKey{this,"StrawStatusWriteKey","StrawStatusData","Make StrawStatus available under this key"};
34  SG::WriteCondHandleKey<TRTCond::StrawStatusData> m_strawStatusPermWriteKey{this,"StrawStatusPermWriteKey","StrawStatusPermanentData","Make StrawStatusPermanent Container under this key"};
35  SG::WriteCondHandleKey<TRTCond::StrawStatusData> m_strawStatusHTWriteKey{this,"StrawStatusHTWriteKey","StrawStatusHTData","Make StrawStatusHT Container under this key"};
36  SG::WriteCondHandleKey<TRTCond::StrawStatusSummary> m_strawStatusSummaryWriteKey{this,"StrawStatusSummaryWriteKey","StrawStatusSummary","Make StrawStatusSummary available under this key"};
37  SG::WriteCondHandleKey<TRTCond::StrawStatusSummary> m_strawStatusHTSummaryWriteKey{this,"StrawStatusHTSummaryWriteKey","StrawStatusHTSummary","Make StrawStatusHTSummary available under this key"};
38 
39  const TRT_ID* m_trtId{nullptr};
40 };
41 #endif
TRTStrawStatusCondAlg::m_strawHTReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_strawHTReadKey
Definition: TRTStrawStatusCondAlg.h:31
TRTStrawStatusCondAlg::~TRTStrawStatusCondAlg
virtual ~TRTStrawStatusCondAlg() override=default
TRTStrawStatusCondAlg::m_strawStatusHTSummaryWriteKey
SG::WriteCondHandleKey< TRTCond::StrawStatusSummary > m_strawStatusHTSummaryWriteKey
Definition: TRTStrawStatusCondAlg.h:37
TRTStrawStatusCondAlg::initialize
virtual StatusCode initialize() override
Definition: TRTStrawStatusCondAlg.cxx:14
TRTCond::StrawStatusMultChanContainer
Definition: StrawStatusMultChanContainer.h:19
TRTStrawStatusCondAlg
Definition: TRTStrawStatusCondAlg.h:18
WriteCondHandleKey.h
TRTStrawStatusCondAlg::m_strawStatusHTWriteKey
SG::WriteCondHandleKey< TRTCond::StrawStatusData > m_strawStatusHTWriteKey
Definition: TRTStrawStatusCondAlg.h:35
TRTStrawStatusCondAlg::m_strawStatusWriteKey
SG::WriteCondHandleKey< TRTCond::StrawStatusData > m_strawStatusWriteKey
Definition: TRTStrawStatusCondAlg.h:33
StrawStatusMultChanContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTStrawStatusCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TRTStrawStatusCondAlg.cxx:36
TRTStrawStatusCondAlg::m_trtId
const TRT_ID * m_trtId
Definition: TRTStrawStatusCondAlg.h:39
TRTStrawStatusCondAlg::m_strawReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_strawReadKey
Definition: TRTStrawStatusCondAlg.h:29
ReadCondHandleKey.h
AthReentrantAlgorithm.h
TRTStrawStatusCondAlg::m_strawStatusPermWriteKey
SG::WriteCondHandleKey< TRTCond::StrawStatusData > m_strawStatusPermWriteKey
Definition: TRTStrawStatusCondAlg.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TRTStrawStatusCondAlg::TRTStrawStatusCondAlg
TRTStrawStatusCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TRTStrawStatusCondAlg.cxx:9
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
TRT_ID
Definition: TRT_ID.h:84
TRTStrawStatusCondAlg::StrawStatusContainer
TRTCond::StrawStatusMultChanContainer StrawStatusContainer
Definition: TRTStrawStatusCondAlg.h:20
TRTStrawStatusCondAlg::m_strawStatusSummaryWriteKey
SG::WriteCondHandleKey< TRTCond::StrawStatusSummary > m_strawStatusSummaryWriteKey
Definition: TRTStrawStatusCondAlg.h:36
SG::WriteCondHandleKey< TRTCond::StrawStatusData >
StrawStatusSummary.h
TRTStrawStatusCondAlg::m_strawPermReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_strawPermReadKey
Definition: TRTStrawStatusCondAlg.h:30
StrawStatusData.h