ATLAS Offline Software
sTgcPrepDataRetriever.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_STGCPREPDATARETRIEVER_H
6 #define JIVEXML_STGCPREPDATARETRIEVER_H
7 
9 
11 #include "GaudiKernel/ServiceHandle.h"
12 #include "GaudiKernel/ToolHandle.h"
13 
16 
17 #include <string>
18 
19 namespace JiveXML {
20 
21  class sTgcPrepDataRetriever : virtual public IDataRetriever, public AthAlgTool {
22 
23  public:
24 
26  sTgcPrepDataRetriever(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 "STGC"; };
33 
36 
37  private:
38 
40  SG::ReadHandleKey<Muon::sTgcPrepDataContainer> m_sgKey{this, "StoreGateKey", "STGC_Measurements", "Name of the sTGCPrepDataContainer"};
41 
42  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
43 
44  };
45 
46 }
47 #endif
JiveXML::sTgcPrepDataRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: sTgcPrepDataRetriever.cxx:30
JiveXML::sTgcPrepDataRetriever
Definition: sTgcPrepDataRetriever.h:21
JiveXML::sTgcPrepDataRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: sTgcPrepDataRetriever.cxx:41
MuonPrepDataContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
JiveXML::sTgcPrepDataRetriever::m_sgKey
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_sgKey
The storegate key for the STGC collection.
Definition: sTgcPrepDataRetriever.h:40
JiveXML::sTgcPrepDataRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: sTgcPrepDataRetriever.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
JiveXML::sTgcPrepDataRetriever::sTgcPrepDataRetriever
sTgcPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: sTgcPrepDataRetriever.cxx:20
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::sTgcPrepDataRetriever::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: sTgcPrepDataRetriever.h:42
AthAlgTool
Definition: AthAlgTool.h:26
IMuonIdHelperSvc.h
IDataRetriever.h
ServiceHandle< Muon::IMuonIdHelperSvc >