ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
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"
39
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
40
41
#include "CaloEvent/CaloClusterContainer.h"
42
#include "
CaloEvent/CaloCell2ClusterMap.h
"
43
44
#include "
CaloConditions/CaloNoise.h
"
45
#include "
StoreGate/ReadCondHandleKey.h
"
46
47
48
class
CaloTopoTowerAlg
:
public
AthReentrantAlgorithm
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
69
SG::ReadHandleKey<CaloCell2ClusterMap>
m_cellToClusterMapKey
;
70
SG::ReadHandleKey<CaloCellContainer>
m_cellContainerKey
;
71
SG::ReadHandleKey<CaloTowerContainer>
m_towerContainerKey
;
72
SG::WriteHandleKey<CaloTowerContainer>
m_newTowerContainerKey
;
73
74
// Selection criteria
75
double
m_minimumCellEnergy
;
76
double
m_minimumClusterEnergy
;
77
bool
m_useCellWeights
;
78
81
SG::ReadCondHandleKey<CaloNoise>
m_noiseCDOKey
{
this
,
"CaloNoiseKey"
,
"totalNoise"
,
"SG Key of CaloNoise data object"
};
82
83
float
m_cellESignificanceThreshold
;
84
85
// Type definitions
86
typedef
Navigable<CaloClusterContainer>
nav_t
;
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
;
91
bool
m_caloSelection
;
92
93
};
94
#endif
AthReentrantAlgorithm.h
CaloCell2ClusterMap.h
CaloNoise.h
ReadCondHandleKey.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloTopoTowerAlg::CaloTopoTowerAlg
CaloTopoTowerAlg(const std::string &name, ISvcLocator *pSvcLocator)
AlgTool constructor.
Definition
CaloTopoTowerAlg.cxx:32
CaloTopoTowerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition
CaloTopoTowerAlg.cxx:128
CaloTopoTowerAlg::m_minimumClusterEnergy
double m_minimumClusterEnergy
Definition
CaloTopoTowerAlg.h:76
CaloTopoTowerAlg::initialize
virtual StatusCode initialize() override
initialize
Definition
CaloTopoTowerAlg.cxx:77
CaloTopoTowerAlg::nav_t
Navigable< CaloClusterContainer > nav_t
Definition
CaloTopoTowerAlg.h:86
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::m_includedCalos
std::vector< std::string > m_includedCalos
Definition
CaloTopoTowerAlg.h:89
CaloTopoTowerAlg::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition
CaloTopoTowerAlg.h:70
CaloTopoTowerAlg::m_caloSelection
bool m_caloSelection
Definition
CaloTopoTowerAlg.h:91
CaloTopoTowerAlg::m_newTowerContainerKey
SG::WriteHandleKey< CaloTowerContainer > m_newTowerContainerKey
Definition
CaloTopoTowerAlg.h:72
CaloTopoTowerAlg::~CaloTopoTowerAlg
virtual ~CaloTopoTowerAlg()
Destructor.
CaloTopoTowerAlg::m_towerContainerKey
SG::ReadHandleKey< CaloTowerContainer > m_towerContainerKey
Definition
CaloTopoTowerAlg.h:71
CaloTopoTowerAlg::m_minimumCellEnergy
double m_minimumCellEnergy
Definition
CaloTopoTowerAlg.h:75
CaloTopoTowerAlg::finalize
virtual StatusCode finalize() override
finalize
Definition
CaloTopoTowerAlg.cxx:69
CaloTopoTowerAlg::m_useCellWeights
bool m_useCellWeights
Definition
CaloTopoTowerAlg.h:77
CaloTopoTowerAlg::m_cellToClusterMapKey
SG::ReadHandleKey< CaloCell2ClusterMap > m_cellToClusterMapKey
Definition
CaloTopoTowerAlg.h:69
CaloTopoTowerAlg::m_cellESignificanceThreshold
float m_cellESignificanceThreshold
Definition
CaloTopoTowerAlg.h:83
Navigable
Navigable template generalization to handle navigation.
Definition
Navigable.h:93
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0