ATLAS Offline Software
Loading...
Searching...
No Matches
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
14class sTgcIdHelper;
15
16namespace Muon
17{
18
19class STGC_RawData;
21
22class 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:
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This is a "hash" representation of an Identifier.
the respective class for TGCs.
virtual StatusCode initialize() override
SG::ReadCondHandleKey< NswDcsDbData > m_dscKey
virtual ~STGC_ROD_Decoder()=default
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
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.
STGC_ROD_Decoder(const std::string &t, const std::string &n, const IInterface *p)
const sTgcIdHelper * m_stgcIdHelper
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
eformat::ROBFragment< PointerType > ROBFragment
Definition RawEvent.h:27