ATLAS Offline Software
xAODCaloClusterRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JIVEXML_XAODCALOCLUSTERRetriever_H
6 #define JIVEXML_XAODCALOCLUSTERRetriever_H
7 
8 #include <string>
9 #include <vector>
10 #include <map>
11 
12 #include "JiveXML/IDataRetriever.h"
14 
16 
18 
19 namespace JiveXML{
20 
35  class xAODCaloClusterRetriever : virtual public IDataRetriever,
36  public AthAlgTool {
37 
38  public:
39 
41  xAODCaloClusterRetriever(const std::string& type,const std::string& name,const IInterface* parent);
42 
44  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
46 
48  virtual std::string dataTypeName() const { return m_typeName; };
49 
50  private:
52  const std::string m_typeName;
53 
54  std::string m_sgKeyFavourite;
55  std::vector<std::string> m_otherKeys;
57  };
58 }
59 #endif
JiveXML::xAODCaloClusterRetriever::m_doWriteHLT
bool m_doWriteHLT
Definition: xAODCaloClusterRetriever.h:56
JiveXML::xAODCaloClusterRetriever::xAODCaloClusterRetriever
xAODCaloClusterRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: xAODCaloClusterRetriever.cxx:20
JiveXML::xAODCaloClusterRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: xAODCaloClusterRetriever.cxx:41
CaloClusterContainer
Storable container for CaloCluster.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::xAODCaloClusterRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: xAODCaloClusterRetriever.h:48
JiveXML::xAODCaloClusterRetriever::getData
const DataMap getData(const xAOD::CaloClusterContainer *)
Retrieve basic parameters, mainly four-vectors.
Definition: xAODCaloClusterRetriever.cxx:111
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
JiveXML::xAODCaloClusterRetriever::m_sgKeyFavourite
std::string m_sgKeyFavourite
Definition: xAODCaloClusterRetriever.h:54
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML::xAODCaloClusterRetriever
Retrieves all Calo Cluster objects.
Definition: xAODCaloClusterRetriever.h:36
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloClusterContainer.h
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::xAODCaloClusterRetriever::m_otherKeys
std::vector< std::string > m_otherKeys
Definition: xAODCaloClusterRetriever.h:55
JiveXML::xAODCaloClusterRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: xAODCaloClusterRetriever.h:48
IDataRetriever.h