ATLAS Offline Software
CSC_RawDataProviderToolMT.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // CSC_RawDataProviderToolMT.h, (c) ATLAS Detector software
8 
9 #ifndef MUONCSC_CNVTOOLS_CSC_RAWDATAPROVIDERTOOLMT_H
10 #define MUONCSC_CNVTOOLS_CSC_RAWDATAPROVIDERTOOLMT_H
11 
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
18 
19 namespace Muon {
20 
21  class CSC_RawDataProviderToolMT : public extends<CSC_RawDataProviderToolCore, IMuonRawDataProviderTool> {
22  public:
23  CSC_RawDataProviderToolMT(const std::string& t, const std::string& n, const IInterface* p);
24 
27 
29  virtual StatusCode initialize() override;
30 
31  virtual StatusCode convert(const ROBFragmentList& vecRobs, const std::vector<IdentifierHash>& /*collections*/) const override;
32 
33  virtual StatusCode convert(const ROBFragmentList& vecRobs) const override {
34  return this->convert(vecRobs, Gaudi::Hive::currentContext());
35  }
36 
37  virtual StatusCode convert(const std::vector<IdentifierHash>& collections) const override;
38  virtual StatusCode convert() const override { return this->convert(Gaudi::Hive::currentContext()); }
39  virtual StatusCode convert(const std::vector<uint32_t>&) const override { return StatusCode::FAILURE; }
40 
41  virtual StatusCode convert(const ROBFragmentList& vecRobs, const EventContext& ctx) const override;
42  virtual StatusCode convert(const EventContext& ctx) const override;
43  virtual StatusCode convert(const std::vector<IdentifierHash>&, const EventContext&) const override;
44 
45  // Not used
46  virtual StatusCode convert(const std::vector<uint32_t>&, const EventContext&) const override { return StatusCode::FAILURE; }
47  virtual StatusCode convert(const ROBFragmentList&, const std::vector<IdentifierHash>&, const EventContext&) const override {
48  return StatusCode::FAILURE;
49  }
50 
51  private:
54  };
55 } // namespace Muon
56 
57 #endif
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition: UpdateHandleKey.h:40
Muon::CSC_RawDataProviderToolMT::convert
virtual StatusCode convert(const std::vector< uint32_t > &, const EventContext &) const override
Definition: CSC_RawDataProviderToolMT.h:46
Muon::CSC_RawDataProviderToolMT::convert
virtual StatusCode convert(const ROBFragmentList &, const std::vector< IdentifierHash > &, const EventContext &) const override
Definition: CSC_RawDataProviderToolMT.h:47
Muon::CSC_RawDataProviderToolMT::convert
virtual StatusCode convert(const std::vector< uint32_t > &) const override
Definition: CSC_RawDataProviderToolMT.h:39
IMuonRawDataProviderTool.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::CSC_RawDataProviderToolMT::CSC_RawDataProviderToolMT
CSC_RawDataProviderToolMT(const std::string &t, const std::string &n, const IInterface *p)
Definition: CSC_RawDataProviderToolMT.cxx:25
Muon::CSC_RawDataProviderToolMT::~CSC_RawDataProviderToolMT
virtual ~CSC_RawDataProviderToolMT()
default destructor
Muon::CSC_RawDataProviderToolMT::m_rdoContainerCacheKey
SG::UpdateHandleKey< CscRawDataCollection_Cache > m_rdoContainerCacheKey
CSC container cache key.
Definition: CSC_RawDataProviderToolMT.h:53
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::CSC_RawDataProviderToolMT::convert
virtual StatusCode convert() const override
Definition: CSC_RawDataProviderToolMT.h:38
Muon::CSC_RawDataProviderToolMT::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: CSC_RawDataProviderToolMT.cxx:36
CSC_RawDataProviderToolCore.h
Muon::CSC_RawDataProviderToolMT
Definition: CSC_RawDataProviderToolMT.h:21
Muon::CSC_RawDataProviderToolMT::convert
virtual StatusCode convert(const ROBFragmentList &vecRobs) const override
Definition: CSC_RawDataProviderToolMT.h:33
IMuonIdHelperSvc.h
CscRawDataCollection_Cache.h