ATLAS Offline Software
Loading...
Searching...
No Matches
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"
12#include "GaudiKernel/ToolHandle.h"
13
15#include "JiveXML/DataType.h" //DataMap typedef
16#include <string>
17#include <vector>
18namespace 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;
43
45 virtual std::string dataTypeName() const override { return "Cluster"; };
46
48 virtual StatusCode initialize() override;
49
50 private:
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
Retrieves all Calo Cluster objects.
Gaudi::Property< std::vector< std::string > > m_otherKeys
virtual StatusCode initialize() override
Default AthAlgTool methods.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_sgKeyFavourite
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool) override
Retrieve all the data.
Gaudi::Property< bool > m_doWriteHLT
virtual std::string dataTypeName() const override
Return the name of the data type.
const DataMap getData(const xAOD::CaloClusterContainer *)
Retrieve basic parameters, mainly four-vectors.
Property holding a SG store/key/clid from which a ReadHandle is made.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
std::map< std::string, DataVect > DataMap
Definition DataType.h:59
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.