ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
CaloClusterTritonAlg.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
#ifndef CALOREC_CALOCLUSTERTRITONALG_H
6
#define CALOREC_CALOCLUSTERTRITONALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteDecorHandleKey.h
"
12
#include "
xAODCaloEvent/CaloClusterContainer.h
"
13
#include "
CaloEvent/CaloCellContainer.h
"
14
#include "
CaloInterface/ICaloClusterTritonTool.h
"
15
16
#include <vector>
17
26
class
CaloClusterTritonAlg
:
public
AthReentrantAlgorithm
{
27
public
:
28
CaloClusterTritonAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
29
~CaloClusterTritonAlg
()
override
=
default
;
30
31
StatusCode
initialize
()
override
;
32
StatusCode
execute
(
const
EventContext& ctx)
const override
;
33
StatusCode
finalize
()
override
;
34
35
private
:
36
ToolHandle<ICaloClusterTritonTool>
m_calibTool
{
37
this
,
"CaloClusterTritonTool"
,
"CaloClusterTritonTool"
};
38
39
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterContainerKey
{
40
this
,
"ClusterContainer"
,
"CaloCalTopoClusters"
,
"Cluster container key"
};
41
42
// Cell container referenced by the cluster cell links. Declared so the
43
// scheduler makes it available before this algorithm runs.
44
SG::ReadHandleKey<CaloCellContainer>
m_cellContainerKey
{
45
this
,
"CellContainer"
,
"AllCalo"
,
"Cell container referenced by the cluster cell links"
};
46
47
SG::WriteDecorHandleKey<xAOD::CaloClusterContainer>
m_clusterGNNCalibEnergyDecorKey
{
48
this
,
"ClusterGNNCalibratedEnergyKeyName"
,
"CaloCalTopoClusters.GNNCalibratedEnergy"
,
49
"GNN calibrated cluster energy decoration"
};
50
51
Gaudi::Property<std::vector<float>>
m_rapidityRange
{
52
this
,
"RapidityRange"
, {-2.5, 2.5},
"Rapidity range of validity of the GNN calibration"
};
53
54
// Minimum cluster energy in MeV above which GNN calibration will be applied.
55
Gaudi::Property<double>
m_minClusterEnergy
{
56
this
,
"MinClusterEnergy"
, 300.0,
"Minimum cluster energy (MeV) to apply GNN calibration"
};
57
};
58
59
#endif
// CALOREC_CALOCLUSTERTRITONALG_H
AthReentrantAlgorithm.h
CaloCellContainer.h
CaloClusterContainer.h
ICaloClusterTritonTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloClusterTritonAlg::m_rapidityRange
Gaudi::Property< std::vector< float > > m_rapidityRange
Definition
CaloClusterTritonAlg.h:51
CaloClusterTritonAlg::m_clusterGNNCalibEnergyDecorKey
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_clusterGNNCalibEnergyDecorKey
Definition
CaloClusterTritonAlg.h:47
CaloClusterTritonAlg::CaloClusterTritonAlg
CaloClusterTritonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CaloClusterTritonAlg.cxx:10
CaloClusterTritonAlg::m_clusterContainerKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
Definition
CaloClusterTritonAlg.h:39
CaloClusterTritonAlg::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition
CaloClusterTritonAlg.h:44
CaloClusterTritonAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
CaloClusterTritonAlg.cxx:39
CaloClusterTritonAlg::m_minClusterEnergy
Gaudi::Property< double > m_minClusterEnergy
Definition
CaloClusterTritonAlg.h:55
CaloClusterTritonAlg::finalize
StatusCode finalize() override
Definition
CaloClusterTritonAlg.cxx:33
CaloClusterTritonAlg::initialize
StatusCode initialize() override
Definition
CaloClusterTritonAlg.cxx:15
CaloClusterTritonAlg::~CaloClusterTritonAlg
~CaloClusterTritonAlg() override=default
CaloClusterTritonAlg::m_calibTool
ToolHandle< ICaloClusterTritonTool > m_calibTool
Definition
CaloClusterTritonAlg.h:36
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
Generated on
for ATLAS Offline Software by
1.17.0