ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisEventDisplay
xAODJiveXML
xAODJiveXML
xAODCaloClusterRetriever.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 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
"
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "
xAODCaloEvent/CaloClusterContainer.h
"
15
16
class
CaloClusterContainer
;
17
18
namespace
JiveXML
{
19
32
class
xAODCaloClusterRetriever
:
virtual
public
IDataRetriever
,
33
public
AthAlgTool
{
34
35
public
:
36
38
xAODCaloClusterRetriever
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
39
40
virtual
StatusCode
retrieve
(ToolHandle<IFormatTool> &FormatTool);
41
virtual
StatusCode
initialize
();
43
const
DataMap
getData
(
const
xAOD::CaloClusterContainer
*);
45
virtual
std::string
dataTypeName
()
const
{
return
m_typeName
; };
46
47
private
:
48
50
const
std::string
m_typeName
=
"Cluster"
;
51
52
SG::ReadHandleKeyArray<xAOD::CaloClusterContainer>
m_keys
{
this
,
"ClusterCollections"
, {
"egammaClusters"
,
"CaloCalTopoClusters"
},
"Name of the Cluster containers that will be written out to the JiveXML file"
};
53
54
};
55
}
56
#endif
AthAlgTool.h
CaloClusterContainer.h
IDataRetriever.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloClusterContainer
Storable container for CaloCluster.
Definition
Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
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::getData
const DataMap getData(const xAOD::CaloClusterContainer *)
Puts the variables into a DataMap.
Definition
xAODCaloClusterRetriever.cxx:64
JiveXML::xAODCaloClusterRetriever::m_keys
SG::ReadHandleKeyArray< xAOD::CaloClusterContainer > m_keys
Definition
xAODCaloClusterRetriever.h:52
JiveXML::xAODCaloClusterRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type that is generated by this retriever.
Definition
xAODCaloClusterRetriever.h:45
JiveXML::xAODCaloClusterRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
For each cluster collection retrieve basic parameters.
Definition
xAODCaloClusterRetriever.cxx:35
JiveXML::xAODCaloClusterRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition
xAODCaloClusterRetriever.h:50
JiveXML::xAODCaloClusterRetriever::xAODCaloClusterRetriever
xAODCaloClusterRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition
xAODCaloClusterRetriever.cxx:19
JiveXML::xAODCaloClusterRetriever::initialize
virtual StatusCode initialize()
Definition
xAODCaloClusterRetriever.cxx:24
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition
BadLArRetriever.cxx:22
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition
DataType.h:59
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0