ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include "GaudiKernel/ToolHandle.h"
15
16#include <vector>
17
27public:
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
35private:
36 ToolHandle<ICaloClusterTritonTool> m_calibTool{
37 this, "CaloClusterTritonTool", "CaloClusterTritonTool"};
38
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.
45 this, "CellContainer", "AllCalo", "Cell container referenced by the cluster cell links"};
46
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< std::vector< float > > m_rapidityRange
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_clusterGNNCalibEnergyDecorKey
CaloClusterTritonAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< double > m_minClusterEnergy
StatusCode finalize() override
StatusCode initialize() override
~CaloClusterTritonAlg() override=default
ToolHandle< ICaloClusterTritonTool > m_calibTool
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.