ATLAS Offline Software
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 
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 
56  virtual ~CaloTopoTowerAlg();
57 
59  virtual StatusCode initialize() override;
60 
62  virtual StatusCode finalize() override;
63 
65  virtual StatusCode execute (const EventContext& ctx) const override;
66 
67 private:
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
CaloTopoTowerAlg::m_includedCalos
std::vector< std::string > m_includedCalos
Definition: CaloTopoTowerAlg.h:89
CaloTopoTowerAlg::m_caloSelection
bool m_caloSelection
Definition: CaloTopoTowerAlg.h:91
SG::ReadHandleKey< CaloCell2ClusterMap >
CaloTopoTowerAlg::m_caloIndices
std::vector< CaloCell_ID::SUBCALO > m_caloIndices
Definition: CaloTopoTowerAlg.h:90
CaloTopoTowerAlg::m_noiseCDOKey
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Key of the CaloNoise Conditions data object.
Definition: CaloTopoTowerAlg.h:81
CaloTopoTowerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: CaloTopoTowerAlg.cxx:128
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CaloTopoTowerAlg::m_towerContainerKey
SG::ReadHandleKey< CaloTowerContainer > m_towerContainerKey
Definition: CaloTopoTowerAlg.h:71
SG::WriteHandleKey< CaloTowerContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloTopoTowerAlg::m_cellToClusterMapKey
SG::ReadHandleKey< CaloCell2ClusterMap > m_cellToClusterMapKey
Definition: CaloTopoTowerAlg.h:69
CaloCell2ClusterMap.h
CaloTopoTowerAlg::m_newTowerContainerKey
SG::WriteHandleKey< CaloTowerContainer > m_newTowerContainerKey
Definition: CaloTopoTowerAlg.h:72
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloTopoTowerAlg::m_useCellWeights
bool m_useCellWeights
Definition: CaloTopoTowerAlg.h:77
CaloNoise.h
CaloTopoTowerAlg::m_cellESignificanceThreshold
float m_cellESignificanceThreshold
Definition: CaloTopoTowerAlg.h:83
Navigable
Navigable template generalization to handle navigation.
Definition: Navigable.h:93
SG::ReadCondHandleKey< CaloNoise >
CaloTopoTowerAlg::nav_t
Navigable< CaloClusterContainer > nav_t
Definition: CaloTopoTowerAlg.h:86
CaloTopoTowerAlg::CaloTopoTowerAlg
CaloTopoTowerAlg(const std::string &name, ISvcLocator *pSvcLocator)
AlgTool constructor.
Definition: CaloTopoTowerAlg.cxx:32
CaloTopoTowerAlg::m_minimumClusterEnergy
double m_minimumClusterEnergy
Definition: CaloTopoTowerAlg.h:76
CaloTopoTowerAlg::~CaloTopoTowerAlg
virtual ~CaloTopoTowerAlg()
Destructor
CaloTopoTowerAlg::m_minimumCellEnergy
double m_minimumCellEnergy
Definition: CaloTopoTowerAlg.h:75
CaloTopoTowerAlg::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition: CaloTopoTowerAlg.h:70
CaloTopoTowerAlg
============================================================ CaloTopoTowerAlg.cxx,...
Definition: CaloTopoTowerAlg.h:49
CaloTopoTowerAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: CaloTopoTowerAlg.cxx:77
CaloTopoTowerAlg::finalize
virtual StatusCode finalize() override
finalize
Definition: CaloTopoTowerAlg.cxx:69