ATLAS Offline Software
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 
5 #include "CSCClusterRetriever.h"
6 #include "MuonFullIDHelper.h"
7 
8 namespace JiveXML {
9 
16  CSCClusterRetriever::CSCClusterRetriever(const std::string& type, const std::string& name, const IInterface* 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 }
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
AthCommonMsg< AlgTool >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition: AthCommonMsg.h:30
JiveXML::CSCClusterRetriever::m_sgKey
std::string m_sgKey
The storegate key for the CSC collection.
Definition: CSCClusterRetriever.h:39
JiveXML::CSCClusterRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: CSCClusterRetriever.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
CSCClusterRetriever.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JiveXML::CSCClusterRetriever::CSCClusterRetriever
CSCClusterRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: CSCClusterRetriever.cxx:16
JiveXML::CSCClusterRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: CSCClusterRetriever.cxx:43
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::CSCClusterRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: CSCClusterRetriever.h:28
DEBUG
#define DEBUG
Definition: page_access.h:11
MuonFullIDHelper.h
AthAlgTool
Definition: AthAlgTool.h:26