ATLAS Offline Software
STGC_ROD_Decoder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONSTGC_CNVTOOLS_STGC_ROD_DECODER_H
6 #define MUONSTGC_CNVTOOLS_STGC_ROD_DECODER_H
7 
13 
14 class sTgcIdHelper;
15 
16 namespace Muon
17 {
18 
19 class STGC_RawData;
20 class STGC_RawDataCollection;
21 
22 class STGC_ROD_Decoder : virtual public ISTGC_ROD_Decoder, public AthAlgTool
23 {
24  public:
25  STGC_ROD_Decoder(const std::string& t, const std::string& n, const IInterface* p);
26  virtual ~STGC_ROD_Decoder() = default;
27  virtual StatusCode initialize() override;
28  virtual StatusCode fillCollection(const EventContext& ctx,
30  const std::vector<IdentifierHash>&, std::unordered_map<IdentifierHash, std::unique_ptr<STGC_RawDataCollection>>& rdo_map) const override;
31 
32  protected:
33  const sTgcIdHelper* m_stgcIdHelper{nullptr};
34  SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_DetectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
35  "Key of input MuonDetectorManager condition data"};
36  SG::ReadCondHandleKey<NswDcsDbData> m_dscKey{this, "DcsKey", "NswDcsDbData",
37  "Key of NswDcsDbData object containing DCS conditions data"};
38 
39  SG::ReadCondHandleKey<Nsw_CablingMap> m_cablingKey{this, "CablingMap", "","Key of Nsw_CablingMap"};
40 
41 
42 };
43 
44 } // end of namespace
45 
46 #endif // MUONSTGC_CNVTOOLS_STGC_ROD_DECODER_H
ISTGC_ROD_Decoder.h
Muon::STGC_ROD_Decoder::fillCollection
virtual StatusCode fillCollection(const EventContext &ctx, const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &, const std::vector< IdentifierHash > &, std::unordered_map< IdentifierHash, std::unique_ptr< STGC_RawDataCollection >> &rdo_map) const override
Convert ROBFragments to RDOs.
Definition: STGC_ROD_Decoder.cxx:49
Nsw_CablingMap.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::STGC_ROD_Decoder::m_cablingKey
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
Definition: STGC_ROD_Decoder.h:39
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Muon::STGC_ROD_Decoder::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition: STGC_ROD_Decoder.h:34
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
Muon::STGC_ROD_Decoder::m_stgcIdHelper
const sTgcIdHelper * m_stgcIdHelper
Definition: STGC_ROD_Decoder.h:33
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Muon::STGC_ROD_Decoder::m_dscKey
SG::ReadCondHandleKey< NswDcsDbData > m_dscKey
Definition: STGC_ROD_Decoder.h:36
Muon::STGC_ROD_Decoder::~STGC_ROD_Decoder
virtual ~STGC_ROD_Decoder()=default
Muon::ISTGC_ROD_Decoder
Definition: ISTGC_ROD_Decoder.h:26
sTgcIdHelper
Definition: sTgcIdHelper.h:55
MuonDetectorManager.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
Muon::STGC_ROD_Decoder::initialize
virtual StatusCode initialize() override
Definition: STGC_ROD_Decoder.cxx:33
AthAlgTool
Definition: AthAlgTool.h:26
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
NswDcsDbData.h
Muon::STGC_ROD_Decoder
Definition: STGC_ROD_Decoder.h:23
Muon::STGC_ROD_Decoder::STGC_ROD_Decoder
STGC_ROD_Decoder(const std::string &t, const std::string &n, const IInterface *p)
Definition: STGC_ROD_Decoder.cxx:25