ATLAS Offline Software
Loading...
Searching...
No Matches
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
15class 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
An algorithm that can be simultaneously executed in multiple threads.
A COOL multichannel container for StrawStatus.
SG::WriteCondHandleKey< TRTCond::StrawStatusData > m_strawStatusHTWriteKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteCondHandleKey< TRTCond::StrawStatusData > m_strawStatusWriteKey
virtual ~TRTStrawStatusCondAlg() override=default
SG::ReadCondHandleKey< StrawStatusContainer > m_strawHTReadKey
SG::ReadCondHandleKey< StrawStatusContainer > m_strawReadKey
SG::WriteCondHandleKey< TRTCond::StrawStatusSummary > m_strawStatusSummaryWriteKey
TRTCond::StrawStatusMultChanContainer StrawStatusContainer
SG::ReadCondHandleKey< StrawStatusContainer > m_strawPermReadKey
SG::WriteCondHandleKey< TRTCond::StrawStatusData > m_strawStatusPermWriteKey
SG::WriteCondHandleKey< TRTCond::StrawStatusSummary > m_strawStatusHTSummaryWriteKey
TRTStrawStatusCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82