ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
CaloTopoTowerMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//Dear emacs, this is -*-c++-*-
6
7
#ifndef CALOREC_CALOTOPOTOWERMAKER_H
8
#define CALOREC_CALOTOPOTOWERMAKER_H
9
23
24
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
25
26
#include "GaudiKernel/ToolHandle.h"
27
#include "GaudiKernel/ServiceHandle.h"
28
29
// -- interfaces
30
#include "
CaloUtils/CaloClusterCollectionProcessor.h
"
31
#include "
CaloTowerCollectionProcessor.h
"
32
#include "
CaloEvent/CaloCellClusterWeights.h
"
33
#include "
CaloEvent/CaloClusterCellLinkContainer.h
"
34
#include "
StoreGate/WriteHandleKey.h
"
35
36
#include "
CaloIdentifier/CaloCell_ID.h
"
37
38
class
IChronoStatSvc;
39
40
class
CaloTopoTowerMaker
:
public
AthReentrantAlgorithm
41
{
42
43
public
:
44
45
CaloTopoTowerMaker
(
const
std::string& name, ISvcLocator* pSvcLocator);
46
virtual
~CaloTopoTowerMaker
()
override
;
47
virtual
StatusCode
initialize
()
override
;
48
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
49
virtual
StatusCode
finalize
()
override
;
50
51
const
std::string&
getOutputContainerName
()
const
;
52
53
private
:
54
59
StatusCode
makeContainer
();
60
63
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_towerOutput
{
this
,
"TowersOutputName"
,
""
};
64
67
SG::WriteHandleKey<CaloClusterCellLinkContainer>
m_towerCellLinkOutput
{
this
,
"TowerCellLinkOutputName"
,
""
};
68
74
ToolHandle<CaloTowerCollectionProcessor>
m_towerMakerTool
{
this
,
"TowerMakerTool"
,
""
};
75
81
ToolHandleArray<CaloClusterCollectionProcessor>
m_towerCorrectionTools
{
this
,
"TowerCorrectionTools"
, {}};
82
86
ToolHandle<CaloTowerCollectionProcessor>
m_towerCalibratorTool
{
this
,
"TowerCalibratorTool"
,
""
};
87
89
ServiceHandle<IChronoStatSvc>
m_chrono
;
90
95
//MT-unfriendly:bool m_keep_each_correction;
96
102
Gaudi::Property<bool>
m_saveSignalState
{
this
,
"SaveUncalibratedSignalState"
,
true
};
103
105
Gaudi::Property<bool>
m_chronoTools
{
this
,
"ChronoTools"
,
false
};
106
108
Gaudi::Property<bool>
m_useLCWCalibration
{
this
,
"UseLCWCalibration"
,
true
};
109
110
112
const
CaloCell_ID
*
m_caloCellID
=
nullptr
;
113
114
};
115
#endif
// CALOREC_CALOTOPOTOWERMAKER_H
116
117
118
AthReentrantAlgorithm.h
CaloCellClusterWeights.h
CaloCell_ID.h
CaloClusterCellLinkContainer.h
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloTowerCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloTopoTowerMaker::m_towerCalibratorTool
ToolHandle< CaloTowerCollectionProcessor > m_towerCalibratorTool
Tower calibrator(s).
Definition
CaloTopoTowerMaker.h:86
CaloTopoTowerMaker::~CaloTopoTowerMaker
virtual ~CaloTopoTowerMaker() override
CaloTopoTowerMaker::m_towerOutput
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_towerOutput
the name of the key in StoreGate for the output CaloClusterContainer
Definition
CaloTopoTowerMaker.h:63
CaloTopoTowerMaker::m_towerMakerTool
ToolHandle< CaloTowerCollectionProcessor > m_towerMakerTool
Tower makers.
Definition
CaloTopoTowerMaker.h:74
CaloTopoTowerMaker::m_caloCellID
const CaloCell_ID * m_caloCellID
Identifier helper.
Definition
CaloTopoTowerMaker.h:112
CaloTopoTowerMaker::makeContainer
StatusCode makeContainer()
Method to create a CaloClusterContainer together with it's AuxStore and Link container.
CaloTopoTowerMaker::m_useLCWCalibration
Gaudi::Property< bool > m_useLCWCalibration
Use LCW calibration for topo-towers (default is true).
Definition
CaloTopoTowerMaker.h:108
CaloTopoTowerMaker::initialize
virtual StatusCode initialize() override
Definition
CaloTopoTowerMaker.cxx:68
CaloTopoTowerMaker::m_towerCellLinkOutput
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_towerCellLinkOutput
the name of the key in StoreGate for the output CaloClusterCellLinkContainer
Definition
CaloTopoTowerMaker.h:67
CaloTopoTowerMaker::getOutputContainerName
const std::string & getOutputContainerName() const
Definition
CaloTopoTowerMaker.cxx:187
CaloTopoTowerMaker::CaloTopoTowerMaker
CaloTopoTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CaloTopoTowerMaker.cxx:54
CaloTopoTowerMaker::m_towerCorrectionTools
ToolHandleArray< CaloClusterCollectionProcessor > m_towerCorrectionTools
Tower (cluster) moment makers.
Definition
CaloTopoTowerMaker.h:81
CaloTopoTowerMaker::finalize
virtual StatusCode finalize() override
Definition
CaloTopoTowerMaker.cxx:118
CaloTopoTowerMaker::m_saveSignalState
Gaudi::Property< bool > m_saveSignalState
Keep the individual results of each correction.
Definition
CaloTopoTowerMaker.h:102
CaloTopoTowerMaker::m_chronoTools
Gaudi::Property< bool > m_chronoTools
Use ChronotStatSvc to monitor each tool.
Definition
CaloTopoTowerMaker.h:105
CaloTopoTowerMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CaloTopoTowerMaker.cxx:124
CaloTopoTowerMaker::m_chrono
ServiceHandle< IChronoStatSvc > m_chrono
Handle to the ChronoStatSvc.
Definition
CaloTopoTowerMaker.h:89
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0