ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonJiveXML
src
RpcPrepDataRetriever.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JIVEXML_RPCPREPDATARETRIEVER_H
6
#define JIVEXML_RPCPREPDATARETRIEVER_H
7
8
#include "
JiveXML/IDataRetriever.h
"
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "GaudiKernel/ServiceHandle.h"
12
#include "GaudiKernel/ToolHandle.h"
13
14
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
15
#include "
MuonPrepRawData/RpcPrepDataContainer.h
"
16
17
#include <string>
18
19
namespace
JiveXML
{
20
21
class
RpcPrepDataRetriever
:
virtual
public
IDataRetriever
,
public
AthAlgTool
{
22
23
public
:
24
26
RpcPrepDataRetriever
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
27
29
virtual
StatusCode
retrieve
(ToolHandle<IFormatTool> &FormatTool);
30
32
virtual
std::string
dataTypeName
()
const
{
return
m_typeName
; };
33
35
StatusCode
initialize
();
36
37
private
:
38
40
const
std::string
m_typeName
;
41
43
SG::ReadHandleKey<Muon::RpcPrepDataContainer>
m_sgKey
{
this
,
"StoreGateKey"
,
"RPC_Measurements"
,
"Name of the RpcPrepDataContainer"
};
44
45
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
46
47
};
48
49
}
50
#endif
AthAlgTool.h
IDataRetriever.h
IMuonIdHelperSvc.h
RpcPrepDataContainer.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition
IDataRetriever.h:25
JiveXML::RpcPrepDataRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition
RpcPrepDataRetriever.h:40
JiveXML::RpcPrepDataRetriever::RpcPrepDataRetriever
RpcPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition
RpcPrepDataRetriever.cxx:14
JiveXML::RpcPrepDataRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition
RpcPrepDataRetriever.cxx:36
JiveXML::RpcPrepDataRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition
RpcPrepDataRetriever.cxx:25
JiveXML::RpcPrepDataRetriever::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
RpcPrepDataRetriever.h:45
JiveXML::RpcPrepDataRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition
RpcPrepDataRetriever.h:32
JiveXML::RpcPrepDataRetriever::m_sgKey
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_sgKey
The storegate key for the RPC collection.
Definition
RpcPrepDataRetriever.h:43
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition
BadLArRetriever.cxx:22
type
Generated on
for ATLAS Offline Software by
1.17.0