ATLAS Offline Software
PadClusterizationAlg.h
Go to the documentation of this file.
1 
11 #ifndef HGTD_RECALGS_PRDFORMATION_H
12 #define HGTD_RECALGS_PRDFORMATION_H
13 
15 #include "GaudiKernel/ToolHandle.h"
16 
23 
24 #include <string>
25 
26 class HGTD_ID;
27 
28 namespace HGTD {
29 
31 
32 public:
33  PadClusterizationAlg(const std::string& name, ISvcLocator* pSvcLocator);
34  virtual ~PadClusterizationAlg() {}
35  virtual StatusCode initialize() override final;
36  virtual StatusCode execute(const EventContext& ctx) const override final;
37 
38 private:
39  ToolHandle<IHGTD_PadClusterizationTool> m_clusterization_tool{this, "ClusterizationTool", "HGTD::SinglePadClusterTool", "Tool for translating HGTD_RDO objects into HGTD_PrepRawData clusters"};
40  ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool"};
41 
42  SG::ReadHandleKey<HGTD_RDO_Container> m_rdo_rh_key{this, "RDOContainerName", "HGTD_RDOs", "Name of the HGTD_RDO container"};
43  SG::WriteHandleKey<HGTD_ClusterContainer> m_prd_wh_key{this, "PRDContainerName", "HGTD_Clusters", "Name of the HGTD_Cluster container"};
44 
45  const HGTD_ID* m_hgtd_idhelper{nullptr};
46 };
47 
48 } // namespace HGTD
49 
50 #endif // HGTD_RECALGS_PRDFORMATION_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HGTD::PadClusterizationAlg
Definition: PadClusterizationAlg.h:30
HGTD::PadClusterizationAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: PadClusterizationAlg.h:40
HGTD_RDO_Container.h
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
HGTD::PadClusterizationAlg::initialize
virtual StatusCode initialize() override final
Definition: PadClusterizationAlg.cxx:21
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< HGTD_RDO_Container >
HGTD::PadClusterizationAlg::~PadClusterizationAlg
virtual ~PadClusterizationAlg()
Definition: PadClusterizationAlg.h:34
HGTD::PadClusterizationAlg::PadClusterizationAlg
PadClusterizationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PadClusterizationAlg.cxx:17
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
GenericMonitoringTool.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
HGTD
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
Definition: Clustering.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HGTD_ID
Definition: HGTD_ID.h:47
HGTD::PadClusterizationAlg::m_rdo_rh_key
SG::ReadHandleKey< HGTD_RDO_Container > m_rdo_rh_key
Definition: PadClusterizationAlg.h:42
IHGTD_PadClusterizationTool
Definition: IHGTD_PadClusterizationTool.h:28
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
HGTD::PadClusterizationAlg::m_hgtd_idhelper
const HGTD_ID * m_hgtd_idhelper
Definition: PadClusterizationAlg.h:45
HGTD::PadClusterizationAlg::m_clusterization_tool
ToolHandle< IHGTD_PadClusterizationTool > m_clusterization_tool
Definition: PadClusterizationAlg.h:39
HGTD::PadClusterizationAlg::m_prd_wh_key
SG::WriteHandleKey< HGTD_ClusterContainer > m_prd_wh_key
Definition: PadClusterizationAlg.h:43
IHGTD_PadClusterizationTool.h
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
HGTD_ClusterContainer.h
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
HGTD::PadClusterizationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: PadClusterizationAlg.cxx:34