ATLAS Offline Software
MM_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 MUONMM_CNVTOOLS_MM_RAWDATAPROVIDERTOOLMT_H
6 #define MUONMM_CNVTOOLS_MM_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  MM_RawDataProviderToolMT(const std::string& t, const std::string& n, const IInterface* p);
27 
29  virtual ~MM_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&, MM_RawDataContainer*&) const;
48  std::vector<uint32_t> m_allRobIds;
49 
50  // Key for the cache for the CSM containers; can be empty,
52  "", "Optional external cache for the MM container"};
53 
54  };
55 } // end of namespace
56 
57 #endif // MUONMM_CNVTOOLS_MM_RAWDATAPROVIDERTOOLMT_H
58 
Muon::MM_RawDataProviderToolMT::convert
virtual StatusCode convert(const ROBFragmentList &) const override
Muon::MM_RawDataProviderToolMT::initRdoContainer
StatusCode initRdoContainer(const EventContext &, MM_RawDataContainer *&) const
Definition: MM_RawDataProviderToolMT.cxx:56
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition: UpdateHandleKey.h:40
Muon::MM_RawDataProviderToolMT
Definition: MM_RawDataProviderToolMT.h:20
Muon::IMuonRawDataProviderTool::convert
virtual StatusCode convert() const =0
the new ones
IMuonRawDataProviderTool.h
Muon::MM_RawDataProviderToolMT::convert
virtual StatusCode convert(const ROBFragmentList &, const std::vector< IdentifierHash > &) const override
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
Muon::MM_RawDataContainer
Definition: MM_RawDataContainer.h:18
Muon::MM_RawDataProviderToolMT::~MM_RawDataProviderToolMT
virtual ~MM_RawDataProviderToolMT()=default
Default destructor.
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
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::MM_RawDataProviderToolCore
Definition: MM_RawDataProviderToolCore.h:30
Muon::MM_RawDataProviderToolMT::MM_RawDataProviderToolMT
MM_RawDataProviderToolMT(const std::string &t, const std::string &n, const IInterface *p)
Default constructor.
Definition: MM_RawDataProviderToolMT.cxx:15
Muon::MM_RawDataProviderToolMT::m_allRobIds
std::vector< uint32_t > m_allRobIds
Definition: MM_RawDataProviderToolMT.h:48
Muon::MM_RawDataProviderToolMT::initialize
virtual StatusCode initialize() override
Standard AlgTool method.
Definition: MM_RawDataProviderToolMT.cxx:24
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
MM_RawDataCollection_Cache.h
MM_RawDataProviderToolCore.h
Muon::MM_RawDataProviderToolMT::m_rdoContainerCacheKey
SG::UpdateHandleKey< MM_RawDataCollection_Cache > m_rdoContainerCacheKey
Definition: MM_RawDataProviderToolMT.h:51
Muon::MM_RawDataProviderToolMT::convert
virtual StatusCode convert() const override
for the entire event
Definition: MM_RawDataProviderToolMT.cxx:137