ATLAS Offline Software
Loading...
Searching...
No Matches
CscPrepDataRetriever.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_CSCPREPDATARETRIEVER_H
6#define JIVEXML_CSCPREPDATARETRIEVER_H
7
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
12
15
16#include <string>
17
18namespace JiveXML {
19
20 class CscPrepDataRetriever : virtual public IDataRetriever, public AthAlgTool {
21
22 public:
24 CscPrepDataRetriever(const std::string& type, const std::string& name, const IInterface* parent);
25
27 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
28
30 virtual std::string dataTypeName() const { return "CSCD"; };
31
33 virtual StatusCode initialize();
34
35 private:
37 SG::ReadHandleKey<Muon::CscPrepDataContainer> m_sgKey{this, "StoreGateKey", "CSC_Clusters", "Name of the CscPrepDataContainer"};
38
39 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40
41 };
42
43}
44#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
CscPrepDataRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode initialize()
Default AthAlgTool methods.
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_sgKey
The storegate key for the CSC collection.
virtual std::string dataTypeName() const
Return the name of the data type.
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
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.