ATLAS Offline Software
Loading...
Searching...
No Matches
MdtPrepDataRetriever.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_MDTPREPDATARETRIEVER_H
6#define JIVEXML_MDTPREPDATARETRIEVER_H
7
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
12
15
16#include <string>
17
18namespace JiveXML {
19
20 class MdtPrepDataRetriever : virtual public IDataRetriever, public AthAlgTool {
21
22 public:
23
25 MdtPrepDataRetriever(const std::string& type, const std::string& name, const IInterface* parent);
26
28 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
29
31 virtual std::string dataTypeName() const { return "MDT"; };
32
34 StatusCode initialize();
35
36 private:
37
39 SG::ReadHandleKey<Muon::MdtPrepDataContainer> m_sgKey{this, "StoreGateKey", "MDT_DriftCircles", "Name of the MdtPrepDataContainer"};
40
41 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
42
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...
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
MdtPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual std::string dataTypeName() const
Return the name of the data type.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_sgKey
The storegate key for the MDT collection.
StatusCode initialize()
Default AthAlgTool methods.
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.