ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCnv
CaloJiveXML
src
CaloClusterRetriever.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JIVEXML_CALOCLUSTERRETRIEVER_H
6
#define JIVEXML_CALOCLUSTERRETRIEVER_H
7
8
9
#include "CaloEvent/CaloClusterContainer.h"
10
#include "
JiveXML/IDataRetriever.h
"
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "GaudiKernel/ToolHandle.h"
13
14
#include "
xAODCaloEvent/CaloClusterContainer.h
"
15
#include "
JiveXML/DataType.h
"
//DataMap typedef
16
#include <string>
17
#include <vector>
18
namespace
JiveXML
{
19
35
class
CaloClusterRetriever
:
public
extends<AthAlgTool,IDataRetriever> {
36
37
public
:
38
using
base_class::base_class;
39
41
virtual
StatusCode
retrieve
(ToolHandle<IFormatTool> &FormatTool)
override
;
42
const
DataMap
getData
(
const
xAOD::CaloClusterContainer
*);
43
45
virtual
std::string
dataTypeName
()
const override
{
return
"Cluster"
; };
46
48
virtual
StatusCode
initialize
()
override
;
49
50
private
:
51
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_sgKeyFavourite
{this
52
,
"FavouriteClusterCollection"
,
"egammaClusters"
,
"Collection to be first in output, shown in Atlantis without switching"
};
53
Gaudi::Property<std::vector<std::string>>
m_otherKeys
{this
54
,
"OtherClusterCollections"
, {},
"Other collections to be retrieved. If list left empty, all available retrieved"
};
55
Gaudi::Property<bool>
m_doWriteHLT
{this
56
,
"DoWriteHLT"
,
false
,
"Ignore HLTAutokey object by default"
};
57
};
58
}
59
#endif
AthAlgTool.h
DataType.h
CaloClusterContainer.h
IDataRetriever.h
JiveXML::CaloClusterRetriever
Retrieves all Calo Cluster objects.
Definition
CaloClusterRetriever.h:35
JiveXML::CaloClusterRetriever::m_otherKeys
Gaudi::Property< std::vector< std::string > > m_otherKeys
Definition
CaloClusterRetriever.h:53
JiveXML::CaloClusterRetriever::initialize
virtual StatusCode initialize() override
Default AthAlgTool methods.
Definition
CaloClusterRetriever.cxx:13
JiveXML::CaloClusterRetriever::m_sgKeyFavourite
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_sgKeyFavourite
Definition
CaloClusterRetriever.h:51
JiveXML::CaloClusterRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Definition
CaloClusterRetriever.cxx:28
JiveXML::CaloClusterRetriever::m_doWriteHLT
Gaudi::Property< bool > m_doWriteHLT
Definition
CaloClusterRetriever.h:55
JiveXML::CaloClusterRetriever::dataTypeName
virtual std::string dataTypeName() const override
Return the name of the data type.
Definition
CaloClusterRetriever.h:45
JiveXML::CaloClusterRetriever::getData
const DataMap getData(const xAOD::CaloClusterContainer *)
Retrieve basic parameters, mainly four-vectors.
Definition
CaloClusterRetriever.cxx:103
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
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
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0