ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTopoTowerAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
21
22#ifndef CALOREC_CALOTOPOTOWERALG
23#define CALOREC_CALOTOPOTOWERALG
24
36
37#include <string>
38#include "GaudiKernel/ToolHandle.h"
40
41#include "CaloEvent/CaloClusterContainer.h"
43
46
47
49{
50 public:
51
53 CaloTopoTowerAlg(const std::string& name, ISvcLocator* pSvcLocator);
54
57
59 virtual StatusCode initialize() override;
60
62 virtual StatusCode finalize() override;
63
65 virtual StatusCode execute (const EventContext& ctx) const override;
66
67private:
68 // Container name strings
73
74 // Selection criteria
78
81 SG::ReadCondHandleKey<CaloNoise> m_noiseCDOKey{this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"};
82
84
85 // Type definitions
87
88 // List of calorimeters from which to use cells
89 std::vector<std::string> m_includedCalos;
90 std::vector<CaloCell_ID::SUBCALO> m_caloIndices;
92
93};
94#endif
An algorithm that can be simultaneously executed in multiple threads.
CaloTopoTowerAlg(const std::string &name, ISvcLocator *pSvcLocator)
AlgTool constructor.
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
virtual StatusCode initialize() override
initialize
Navigable< CaloClusterContainer > nav_t
std::vector< CaloCell_ID::SUBCALO > m_caloIndices
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Key of the CaloNoise Conditions data object.
std::vector< std::string > m_includedCalos
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
SG::WriteHandleKey< CaloTowerContainer > m_newTowerContainerKey
virtual ~CaloTopoTowerAlg()
Destructor.
SG::ReadHandleKey< CaloTowerContainer > m_towerContainerKey
virtual StatusCode finalize() override
finalize
SG::ReadHandleKey< CaloCell2ClusterMap > m_cellToClusterMapKey
float m_cellESignificanceThreshold
Navigable template generalization to handle navigation.
Definition Navigable.h:93
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.