ATLAS Offline Software
PadTrig_RawDataProviderToolMT.h
Go to the documentation of this file.
1 #ifndef MUONSTGC_CNVTOOLS_PADTRIG_RAWDATAPROVIDERTOOLMT_H
2 #define MUONSTGC_CNVTOOLS_PADTRIG_RAWDATAPROVIDERTOOLMT_H
3 
7 #include "GaudiKernel/ServiceHandle.h"
8 #include "GaudiKernel/ToolHandle.h"
13 
14 namespace Muon {
15 
17 {
18  public:
20 
21  PadTrig_RawDataProviderToolMT(const std::string& type, const std::string& name, const IInterface* parent);
22  virtual ~PadTrig_RawDataProviderToolMT() = default;
23 
24  StatusCode initialize() override;
25 
26  // unimplemented
27  StatusCode convert() const override;
28  StatusCode convert(const ROBFragmentList&) const override;
29  StatusCode convert(const std::vector<IdentifierHash>&) const override;
30  StatusCode convert(const ROBFragmentList&, const std::vector<IdentifierHash>&) const override;
31 
32  // implemented
33  StatusCode convert(const ROBFragmentList& fragments, const EventContext& ctx) const override;
34  StatusCode convert(const EventContext& ctx) const override;
35 
36  private:
37  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
38  ToolHandle<IPadTrig_ROD_Decoder> m_decoder{this, "Decoder", "Muon::PadTrig_ROD_Decoder/PadTrig_ROD_Decoder"};
40  SG::WriteHandleKey<NSW_PadTriggerDataContainer> m_rdoContainerKey{this, "RdoLocation", "NSW_PadTrigger_RDO", "Name of of the RDO container to write to"};
41 
42  unsigned int m_maxhashtoUse{0};
43 };
44 
45 } // namespace Muon
46 
47 #endif // MUONSTGC_CNVTOOLS_PADTRIG_RAWDATAPROVIDERTOOLMT_H
Muon::PadTrig_RawDataProviderToolMT::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition: PadTrig_RawDataProviderToolMT.h:39
Muon::PadTrig_RawDataProviderToolMT::m_rdoContainerKey
SG::WriteHandleKey< NSW_PadTriggerDataContainer > m_rdoContainerKey
Definition: PadTrig_RawDataProviderToolMT.h:40
NSW_PadTriggerDataContainer.h
Muon::IMuonRawDataProviderTool::convert
virtual StatusCode convert() const =0
the new ones
IMuonRawDataProviderTool.h
Muon::PadTrig_RawDataProviderToolMT::initialize
StatusCode initialize() override
Definition: PadTrig_RawDataProviderToolMT.cxx:13
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::PadTrig_RawDataProviderToolMT::~PadTrig_RawDataProviderToolMT
virtual ~PadTrig_RawDataProviderToolMT()=default
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
Muon::PadTrig_RawDataProviderToolMT::PadTrig_RawDataProviderToolMT
PadTrig_RawDataProviderToolMT(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PadTrig_RawDataProviderToolMT.cxx:6
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Muon::PadTrig_RawDataProviderToolMT::convert
StatusCode convert() const override
the new ones
Definition: PadTrig_RawDataProviderToolMT.cxx:28
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Muon::PadTrig_RawDataProviderToolMT::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: PadTrig_RawDataProviderToolMT.h:37
Muon::PadTrig_RawDataProviderToolMT
Definition: PadTrig_RawDataProviderToolMT.h:17
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::PadTrig_RawDataProviderToolMT::m_maxhashtoUse
unsigned int m_maxhashtoUse
Definition: PadTrig_RawDataProviderToolMT.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Muon::PadTrig_RawDataProviderToolMT::m_decoder
ToolHandle< IPadTrig_ROD_Decoder > m_decoder
Definition: PadTrig_RawDataProviderToolMT.h:38
IPadTrig_ROD_Decoder.h
Muon::IMuonRawDataProviderTool::ROBFragmentList
std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > ROBFragmentList
Decoding method.
Definition: IMuonRawDataProviderTool.h:27
AthAlgTool
Definition: AthAlgTool.h:26
Muon::IMuonRawDataProviderTool
Interface defining the tools used to convert Muon BS to MuonRDOs.
Definition: IMuonRawDataProviderTool.h:21
IROBDataProviderSvc.h
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >