ATLAS Offline Software
STGC_RawDataProviderToolMT.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 MUONTGC_CNVTOOLS_STGC_RAWDATAPROVIDERTOOLMT_H
6 #define MUONTGC_CNVTOOLS_STGC_RAWDATAPROVIDERTOOLMT_H
7 
11 
12 namespace Muon
13 {
20  {
21  public:
22 
23  using IMuonRawDataProviderTool::convert; // Otherwise get a -Woverloaded-virtual warning about hiding convert(const std::vector<IdentifierHash>& rdoIdhVect)
24 
26  STGC_RawDataProviderToolMT(const std::string& t, const std::string& n, const IInterface* p);
27 
29  virtual ~STGC_RawDataProviderToolMT() = default;
30 
32  virtual StatusCode initialize() override;
33 
34  // unused, needing initialization
35  virtual StatusCode convert() const override;
36  virtual StatusCode convert(const ROBFragmentList&) const override;
37  virtual StatusCode convert(const std::vector<IdentifierHash>& rdoIdhVect) const override;
38  virtual StatusCode convert(const ROBFragmentList&, const std::vector<IdentifierHash>&) const override;
39 
40  // used
41  virtual StatusCode convert(const EventContext&) const override;
42  virtual StatusCode convert(const std::vector<IdentifierHash>&, const EventContext&) const override;
43  virtual StatusCode convert(const std::vector<uint32_t>&, const EventContext&) const override;
44 
45  protected:
46 
47  StatusCode initRdoContainer(const EventContext&, STGC_RawDataContainer*&) const;
48  std::vector<uint32_t> m_allRobIds;
49 
51  "Optional external cache for the sTGC container"};
52  };
53 } // end of namespace
54 
55 #endif // MUONTGC_CNVTOOLS_TGC_RAWDATAPROVIDERTOOLMT_H
Muon::STGC_RawDataProviderToolMT::m_rdoContainerCacheKey
SG::UpdateHandleKey< STGC_RawDataCollection_Cache > m_rdoContainerCacheKey
Definition: STGC_RawDataProviderToolMT.h:50
Muon::STGC_RawDataProviderToolMT
Definition: STGC_RawDataProviderToolMT.h:20
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition: UpdateHandleKey.h:40
Muon::IMuonRawDataProviderTool::convert
virtual StatusCode convert() const =0
the new ones
IMuonRawDataProviderTool.h
STGC_RawDataCollection_Cache.h
Muon::STGC_RawDataContainer
Definition: STGC_RawDataContainer.h:18
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_RawDataProviderToolMT::m_allRobIds
std::vector< uint32_t > m_allRobIds
Definition: STGC_RawDataProviderToolMT.h:48
Muon::STGC_RawDataProviderToolMT::initRdoContainer
StatusCode initRdoContainer(const EventContext &, STGC_RawDataContainer *&) const
Definition: STGC_RawDataProviderToolMT.cxx:58
STGC_RawDataProviderToolCore.h
Muon::STGC_RawDataProviderToolMT::STGC_RawDataProviderToolMT
STGC_RawDataProviderToolMT(const std::string &t, const std::string &n, const IInterface *p)
Default constructor.
Definition: STGC_RawDataProviderToolMT.cxx:15
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Muon::STGC_RawDataProviderToolMT::~STGC_RawDataProviderToolMT
virtual ~STGC_RawDataProviderToolMT()=default
Default destructor.
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::STGC_RawDataProviderToolMT::convert
virtual StatusCode convert() const override
the new ones
Definition: STGC_RawDataProviderToolMT.cxx:139
Muon::STGC_RawDataProviderToolCore
Definition: STGC_RawDataProviderToolCore.h:25
Muon::STGC_RawDataProviderToolMT::initialize
virtual StatusCode initialize() override
Standard AlgTool method.
Definition: STGC_RawDataProviderToolMT.cxx:23
Muon::IMuonRawDataProviderTool::ROBFragmentList
std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > ROBFragmentList
Decoding method.
Definition: IMuonRawDataProviderTool.h:27
Muon::IMuonRawDataProviderTool
Interface defining the tools used to convert Muon BS to MuonRDOs.
Definition: IMuonRawDataProviderTool.h:21