ATLAS Offline Software
Loading...
Searching...
No Matches
TrigRpcDataRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JIVEXML_TRIGRPCDATARETRIEVER_H
6#define JIVEXML_TRIGRPCDATARETRIEVER_H
7
8
11#include "GaudiKernel/ServiceHandle.h"
12#include "GaudiKernel/ToolHandle.h"
14
20
21#include <string>
22
23namespace JiveXML {
24
25 class TrigRpcDataRetriever : virtual public IDataRetriever, public AthAlgTool {
26
27 public:
28
30 TrigRpcDataRetriever(const std::string& type,const std::string& name,const IInterface* parent);
31
33 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
34
36 virtual std::string dataTypeName() const { return m_typeName; };
37
39 StatusCode initialize();
40
41 private:
42
44 const std::string m_typeName;
45
46 SG::ReadHandleKey<RpcPadContainer> m_sgKey{this, "StoreGateKey", "RPCPAD", "StoreGate key for the RPC RDO container"};
47
48 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
49
50 ToolHandle<Muon::IRPC_RDO_Decoder> m_rpcDecoder{this,"RpcRDO_Decoder","Muon::RpcRDO_Decoder"};
51
52 SG::ReadCondHandleKey<RpcCablingCondData> m_rpcCab{this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
53 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_DetectorManagerKey {this, "DetectorManagerKey", "MuonDetectorManager", "Key of input MuonDetectorManager condition data"};
54 };
55
56}
57#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
const std::string m_typeName
The data type that is generated by this retriever.
virtual std::string dataTypeName() const
Return the name of the data type.
StatusCode initialize()
Default AthAlgTool methods.
SG::ReadCondHandleKey< RpcCablingCondData > m_rpcCab
ToolHandle< Muon::IRPC_RDO_Decoder > m_rpcDecoder
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
TrigRpcDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
SG::ReadHandleKey< RpcPadContainer > m_sgKey
Property holding a SG store/key/clid from which a ReadHandle is made.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.