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-2020 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
34
#include "
CaloIdentifier/CaloCell_ID.h
"
35
36
class
CaloClusterCellLinkContainer
;
37
class
IChronoStatSvc;
38
39
class
CaloTopoTowerMaker
:
public
AthReentrantAlgorithm
40
{
41
42
public
:
43
44
CaloTopoTowerMaker
(
const
std::string& name, ISvcLocator* pSvcLocator);
45
virtual
~CaloTopoTowerMaker
()
override
;
46
virtual
StatusCode
initialize
()
override
;
47
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
48
virtual
StatusCode
finalize
()
override
;
49
50
const
std::string&
getOutputContainerName
()
const
;
51
52
private
:
53
58
StatusCode
makeContainer
();
59
62
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_towerOutput
;
63
66
SG::WriteHandleKey<CaloClusterCellLinkContainer>
m_towerCellLinkOutput
;
67
73
ToolHandle<CaloTowerCollectionProcessor>
m_towerMakerTool
;
74
80
ToolHandleArray<CaloClusterCollectionProcessor>
m_towerCorrectionTools
;
81
85
ToolHandle<CaloTowerCollectionProcessor>
m_towerCalibratorTool
;
86
88
ServiceHandle<IChronoStatSvc>
m_chrono
;
89
94
//MT-unfriendly:bool m_keep_each_correction;
95
101
bool
m_saveSignalState
= {
true
};
102
104
bool
m_chronoTools
= {
false
};
105
107
bool
m_useLCWCalibration
= {
true
};
108
109
111
const
CaloCell_ID
*
m_caloCellID
=
nullptr
;
112
113
};
114
#endif
// CALOREC_CALOTOPOTOWERMAKER_H
115
116
117
AthReentrantAlgorithm.h
CaloCellClusterWeights.h
CaloCell_ID.h
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloTowerCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
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
CaloClusterCellLinkContainer
Container class for CaloCellLink.
Definition
CaloClusterCellLinkContainer.h:24
CaloTopoTowerMaker::m_towerCalibratorTool
ToolHandle< CaloTowerCollectionProcessor > m_towerCalibratorTool
Tower calibrator(s).
Definition
CaloTopoTowerMaker.h:85
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:62
CaloTopoTowerMaker::m_towerMakerTool
ToolHandle< CaloTowerCollectionProcessor > m_towerMakerTool
Tower makers.
Definition
CaloTopoTowerMaker.h:73
CaloTopoTowerMaker::m_caloCellID
const CaloCell_ID * m_caloCellID
Identifier helper.
Definition
CaloTopoTowerMaker.h:111
CaloTopoTowerMaker::makeContainer
StatusCode makeContainer()
Method to create a CaloClusterContainer together with it's AuxStore and Link container.
CaloTopoTowerMaker::m_useLCWCalibration
bool m_useLCWCalibration
Use LCW calibration for topo-towers (default is true).
Definition
CaloTopoTowerMaker.h:107
CaloTopoTowerMaker::initialize
virtual StatusCode initialize() override
Definition
CaloTopoTowerMaker.cxx:96
CaloTopoTowerMaker::m_towerCellLinkOutput
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_towerCellLinkOutput
the name of the key in StoreGate for the output CaloClusterCellLinkContainer
Definition
CaloTopoTowerMaker.h:66
CaloTopoTowerMaker::getOutputContainerName
const std::string & getOutputContainerName() const
Definition
CaloTopoTowerMaker.cxx:215
CaloTopoTowerMaker::CaloTopoTowerMaker
CaloTopoTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CaloTopoTowerMaker.cxx:56
CaloTopoTowerMaker::m_towerCorrectionTools
ToolHandleArray< CaloClusterCollectionProcessor > m_towerCorrectionTools
Tower (cluster) moment makers.
Definition
CaloTopoTowerMaker.h:80
CaloTopoTowerMaker::finalize
virtual StatusCode finalize() override
Definition
CaloTopoTowerMaker.cxx:146
CaloTopoTowerMaker::m_chronoTools
bool m_chronoTools
Use ChronotStatSvc to monitor each tool.
Definition
CaloTopoTowerMaker.h:104
CaloTopoTowerMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CaloTopoTowerMaker.cxx:152
CaloTopoTowerMaker::m_saveSignalState
bool m_saveSignalState
Keep the individual results of each correction.
Definition
CaloTopoTowerMaker.h:101
CaloTopoTowerMaker::m_chrono
ServiceHandle< IChronoStatSvc > m_chrono
Handle to the ChronoStatSvc.
Definition
CaloTopoTowerMaker.h:88
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