ATLAS Offline Software
GepClusteringAlg.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef TRIGL0GEPPERF_GEPCLUSTERINGALG_H
6 #define TRIGL0GEPPERF_GEPCLUSTERINGALG_H 1
7 
9 
13 
14 #include "./CaloCellsHandlerTool.h"
15 
17  public:
18  GepClusteringAlg( const std::string& name, ISvcLocator* pSvcLocator );
19 
20  virtual StatusCode initialize() override;
21  virtual StatusCode execute(const EventContext& ) const override;
22 
23  private:
24 
25 
26  Gaudi::Property<std::string> m_clusterAlg{
27  this, "TopoClAlg", "", "name of Gep clustering algorithm"};
28 
29  ToolHandle<CaloCellsHandlerTool> m_caloCellsTool{
30  this,
31  "CaloCellHandler",
32  "",
33  "create cont of Gep::CustomCaloCells"};
34 
36  this, "caloCells", "AllCalo", "key to read in a CaloCell constainer"};
37 
39  this, "eventInfo", "EventInfo", "key to read in an EventInfo object"};
40 
41 
43  this, "outputCaloClustersKey", "",
44  "key for CaloCluster wrappers for GepClusters"};
45 
46 };
47 
48 #endif //> !TRIGL0GEPPERF_GEPCLUSTERINGALG_H
49 
50 
51 
52 
GepClusteringAlg::GepClusteringAlg
GepClusteringAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: GepClusteringAlg.cxx:19
GepClusteringAlg::m_caloCellsTool
ToolHandle< CaloCellsHandlerTool > m_caloCellsTool
Definition: GepClusteringAlg.h:29
GepClusteringAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: GepClusteringAlg.h:38
SG::ReadHandleKey< CaloCellContainer >
GepClusteringAlg::m_outputCaloClustersKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputCaloClustersKey
Definition: GepClusteringAlg.h:42
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
GepClusteringAlg::initialize
virtual StatusCode initialize() override
Definition: GepClusteringAlg.cxx:24
SG::WriteHandleKey< xAOD::CaloClusterContainer >
GepClusteringAlg::m_clusterAlg
Gaudi::Property< std::string > m_clusterAlg
Definition: GepClusteringAlg.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GepClusteringAlg
Definition: GepClusteringAlg.h:16
CaloCellsHandlerTool.h
GepClusteringAlg::m_caloCellsKey
SG::ReadHandleKey< CaloCellContainer > m_caloCellsKey
Definition: GepClusteringAlg.h:35
AthReentrantAlgorithm.h
GepClusteringAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition: GepClusteringAlg.cxx:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloCellContainer.h
EventInfo.h
CaloClusterContainer.h