ATLAS Offline Software
Loading...
Searching...
No Matches
CSCClusterRetriever.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "MuonFullIDHelper.h"
7
8namespace JiveXML {
9
16 CSCClusterRetriever::CSCClusterRetriever(const std::string& type, const std::string& name, const IInterface* parent):
17 AthAlgTool(type,name,parent),
18 m_typeName("CSC")
19 {
20
21 //Declare the interface
22 declareInterface<IDataRetriever>(this);
23
24 //And the properties
25 declareProperty("StoreGateKey", m_sgKey = "CSC_Clusters", "Name of the CSC_ClusterCollection");
26 }
27
28
30
31 //be verbose
32 if (msgLvl(MSG::DEBUG)) ATH_MSG_DEBUG("Initializing retriever for " << dataTypeName());
33
34 return StatusCode::SUCCESS;
35 }
36
43 StatusCode CSCClusterRetriever::retrieve(ToolHandle<IFormatTool> &/*FormatTool*/) {
44 return StatusCode::SUCCESS;
45 }
46}
#define ATH_MSG_DEBUG(x)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
bool msgLvl(const MSG::Level lvl) const
std::string m_sgKey
The storegate key for the CSC collection.
CSCClusterRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
StatusCode initialize()
Default AthAlgTool methods.
const std::string m_typeName
The data type that is generated by this retriever.
virtual std::string dataTypeName() const
Return the name of the data type.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.