ATLAS Offline Software
Loading...
Searching...
No Matches
CaloLCClassificationTool.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 CALOUTILS_CALOLCCLASSIFICATIONTOOL_H
6#define CALOUTILS_CALOLCCLASSIFICATIONTOOL_H
20
26
27
29{
30 public:
31
33
34 virtual
36 const override;
37 virtual StatusCode initialize() override;
38
39 CaloLCClassificationTool(const std::string& type,
40 const std::string& name,
41 const IInterface* parent);
42
43 private:
44
47 SG::ReadCondHandleKey<CaloLocalHadCoeff> m_key{this, "ClassificationKey", "EMFracClassify"};
48
59
60 Gaudi::Property<bool> m_useSpread{this, "UseSpread", false};
61
70
71 Gaudi::Property<bool> m_useNormalizedEnergyDensity{this, "UseNormalizedEnergyDensity", true};
72
82
83 Gaudi::Property<double> m_maxProbability{this, "MaxProbability", 0.5};
84
94
95 Gaudi::Property<bool> m_storeClassificationProbabilityInAOD{this, "StoreClassificationProbabilityInAOD", true};
96
99
100 Gaudi::Property<bool> m_interpolate{this, "Interpolate", false};
101
104 Gaudi::Property<std::vector<std::string>> m_interpolateDimensionNames{this, "InterpolateDimensionNames"
105 , {"DIMC_ETA", "DIMC_EDENS", "DIMC_LAMBDA"}};
106
109
110 std::vector<int> m_interpolateDimensions;
111
114
115 Gaudi::Property<bool> m_absOpt{this, "WeightingOfNegClusters", false};
116
117};
118
119#endif
120
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SG::ReadCondHandleKey< CaloLocalHadCoeff > m_key
name of the key for em fraction data
Gaudi::Property< bool > m_useNormalizedEnergyDensity
old data depends on energy density while new data depends on energy density over energy.
virtual StatusCode initialize() override
std::vector< int > m_interpolateDimensions
actual set of dimension id's to interpolate
Gaudi::Property< bool > m_absOpt
is set to true, classify neg.
virtual CaloRecoStatus::StatusIndicator classify(xAOD::CaloCluster *thisCluster) const override
method to return the classification status of a cluster.
Gaudi::Property< bool > m_interpolate
interpolate correction coefficients
Gaudi::Property< std::vector< std::string > > m_interpolateDimensionNames
vector of names of dimensions in look-up tables to interpolate
Gaudi::Property< bool > m_useSpread
if set to true the spread of EM probabilities in each bin is taken into account for classification ot...
virtual ~CaloLCClassificationTool()
Gaudi::Property< bool > m_storeClassificationProbabilityInAOD
if true the phase space probability based on single pions that the current cluster stems from a pi0 i...
Gaudi::Property< double > m_maxProbability
cut value on EM probability below which all clusters are classified as hadronic
CaloLCClassificationTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusIndicator
reconstruction status word
Interface class for tools classifying CaloCluster objects.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.