ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
CaloTopoTowerAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOREC_CALOTOPOTOWERALGORITHM_H
6
#define CALOREC_CALOTOPOTOWERALGORITHM_H
23
24
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
25
#include "GaudiKernel/ToolHandle.h"
26
27
#include "
CaloUtils/CaloTopoTowerBuilderToolBase.h
"
28
#include "
CaloIdentifier/CaloCell_ID.h
"
29
#include "
CaloEvent/CaloCell2ClusterMap.h
"
30
#include <string>
31
#include <vector>
32
33
class
CaloTopoTowerContainer
;
34
class
ICaloTopoTowerBuilderToolBase
;
35
36
class
CaloTopoTowerAlgorithm
:
public
AthReentrantAlgorithm
37
{
38
public
:
39
40
typedef
CaloTopoTowerBuilderToolBase
tool_type
;
41
typedef
std::vector<tool_type*>
tool_store
;
42
typedef
tool_store::const_iterator
tool_iterator
;
43
45
CaloTopoTowerAlgorithm
(
const
std::string& name, ISvcLocator* pService);
46
47
virtual
~CaloTopoTowerAlgorithm
();
48
50
virtual
StatusCode
initialize
()
override
;
51
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
52
virtual
StatusCode
finalize
()
override
;
53
54
protected
:
55
57
// Properties //
59
60
// link output container
61
bool
m_genericLink
;
62
63
// tool collection
64
std::vector<std::string>
m_toolNames
;
65
ToolHandleArray<ICaloTopoTowerBuilderToolBase>
m_ptools
;
66
68
// Stores and Services //
70
71
// list of tools
72
tool_store
m_tools
;
73
75
// CaloTopoTowerContainer variables
76
// Container name strings
77
SG::ReadHandleKey<CaloCellContainer>
m_cellContainerKey
;
78
SG::ReadHandleKey<CaloClusterContainer>
m_clusterKey
;
79
SG::ReadHandleKey<CaloCell2ClusterMap>
m_cellToClusterMapKey
;
80
SG::ReadHandleKey<CaloTowerContainer>
m_towerContainerKey
;
81
SG::WriteHandleKey<CaloTopoTowerContainer>
m_newTowerContainerKey
;
82
83
// Selection criteria
84
double
m_minimumCellEnergy
;
85
double
m_minimumClusterEnergy
;
86
bool
m_useCellWeights
;
87
88
// Noise tool stuff
89
float
m_noiseSigma
;
90
float
m_cellESignificanceThreshold
;
91
92
// Type definitions
93
// typedef Navigable<CaloClusterContainer> nav_t;
94
95
// List of calorimeters from which to use cells
96
std::vector<std::string>
m_includedCalos
;
97
std::vector<CaloCell_ID::SUBCALO>
m_caloIndices
;
98
bool
m_caloSelection
;
99
100
//END CaloTopoTowerContainer variables
102
};
103
#endif
AthReentrantAlgorithm.h
CaloCell2ClusterMap.h
CaloCell_ID.h
CaloTopoTowerBuilderToolBase.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloTopoTowerAlgorithm::m_towerContainerKey
SG::ReadHandleKey< CaloTowerContainer > m_towerContainerKey
Definition
CaloTopoTowerAlgorithm.h:80
CaloTopoTowerAlgorithm::tool_type
CaloTopoTowerBuilderToolBase tool_type
Definition
CaloTopoTowerAlgorithm.h:40
CaloTopoTowerAlgorithm::m_minimumCellEnergy
double m_minimumCellEnergy
Definition
CaloTopoTowerAlgorithm.h:84
CaloTopoTowerAlgorithm::m_cellESignificanceThreshold
float m_cellESignificanceThreshold
Definition
CaloTopoTowerAlgorithm.h:90
CaloTopoTowerAlgorithm::tool_iterator
tool_store::const_iterator tool_iterator
Definition
CaloTopoTowerAlgorithm.h:42
CaloTopoTowerAlgorithm::m_toolNames
std::vector< std::string > m_toolNames
Definition
CaloTopoTowerAlgorithm.h:64
CaloTopoTowerAlgorithm::m_useCellWeights
bool m_useCellWeights
Definition
CaloTopoTowerAlgorithm.h:86
CaloTopoTowerAlgorithm::tool_store
std::vector< tool_type * > tool_store
Definition
CaloTopoTowerAlgorithm.h:41
CaloTopoTowerAlgorithm::initialize
virtual StatusCode initialize() override
inherited from Algorithm
Definition
CaloTopoTowerAlgorithm.cxx:69
CaloTopoTowerAlgorithm::m_noiseSigma
float m_noiseSigma
Definition
CaloTopoTowerAlgorithm.h:89
CaloTopoTowerAlgorithm::m_caloSelection
bool m_caloSelection
Definition
CaloTopoTowerAlgorithm.h:98
CaloTopoTowerAlgorithm::m_clusterKey
SG::ReadHandleKey< CaloClusterContainer > m_clusterKey
Definition
CaloTopoTowerAlgorithm.h:78
CaloTopoTowerAlgorithm::m_caloIndices
std::vector< CaloCell_ID::SUBCALO > m_caloIndices
Definition
CaloTopoTowerAlgorithm.h:97
CaloTopoTowerAlgorithm::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition
CaloTopoTowerAlgorithm.h:77
CaloTopoTowerAlgorithm::m_tools
tool_store m_tools
Definition
CaloTopoTowerAlgorithm.h:72
CaloTopoTowerAlgorithm::m_genericLink
bool m_genericLink
Definition
CaloTopoTowerAlgorithm.h:61
CaloTopoTowerAlgorithm::CaloTopoTowerAlgorithm
CaloTopoTowerAlgorithm(const std::string &name, ISvcLocator *pService)
Algorithm constructor.
Definition
CaloTopoTowerAlgorithm.cxx:17
CaloTopoTowerAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CaloTopoTowerAlgorithm.cxx:173
CaloTopoTowerAlgorithm::m_minimumClusterEnergy
double m_minimumClusterEnergy
Definition
CaloTopoTowerAlgorithm.h:85
CaloTopoTowerAlgorithm::m_ptools
ToolHandleArray< ICaloTopoTowerBuilderToolBase > m_ptools
Definition
CaloTopoTowerAlgorithm.h:65
CaloTopoTowerAlgorithm::m_cellToClusterMapKey
SG::ReadHandleKey< CaloCell2ClusterMap > m_cellToClusterMapKey
Definition
CaloTopoTowerAlgorithm.h:79
CaloTopoTowerAlgorithm::m_includedCalos
std::vector< std::string > m_includedCalos
Definition
CaloTopoTowerAlgorithm.h:96
CaloTopoTowerAlgorithm::m_newTowerContainerKey
SG::WriteHandleKey< CaloTopoTowerContainer > m_newTowerContainerKey
Definition
CaloTopoTowerAlgorithm.h:81
CaloTopoTowerAlgorithm::~CaloTopoTowerAlgorithm
virtual ~CaloTopoTowerAlgorithm()
CaloTopoTowerAlgorithm::finalize
virtual StatusCode finalize() override
Definition
CaloTopoTowerAlgorithm.cxx:315
CaloTopoTowerBuilderToolBase
CaloTopoTowerBuilderToolBase is abstract base class for tower builders.
Definition
CaloTopoTowerBuilderToolBase.h:20
CaloTopoTowerContainer
Storable container class for CaloTower.
Definition
CaloTopoTowerContainer.h:51
ICaloTopoTowerBuilderToolBase
Definition
ICaloTopoTowerBuilderToolBase.h:32
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