ATLAS Offline Software
Loading...
Searching...
No Matches
TgcPrepDataRetriever.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_TGCPREPDATARETRIEVER_H
6#define JIVEXML_TGCPREPDATARETRIEVER_H
7
9
11#include "GaudiKernel/ServiceHandle.h"
12#include "GaudiKernel/ToolHandle.h"
13
16
17#include <string>
18
19namespace JiveXML {
20
21 class TgcPrepDataRetriever : virtual public IDataRetriever, public AthAlgTool {
22
23 public:
24
26 TgcPrepDataRetriever(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 "TGC"; };
33
35 StatusCode initialize();
36
37 private:
38
39
41 SG::ReadHandleKey<Muon::TgcPrepDataContainer> m_sgKey{this, "StoreGateKey", "TGC_Measurements", "Name of the MMPrepDataContainer"};
42
43 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
44
45 };
46
47}
48#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...
StatusCode initialize()
Default AthAlgTool methods.
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_sgKey
The storegate key for the TGC collection.
virtual std::string dataTypeName() const
Return the name of the data type.
TgcPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
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.