ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
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
21
#include "
CaloInterface/IClusterClassificationTool.h
"
22
#include "
CaloConditions/CaloLocalHadCoeff.h
"
23
#include "
CaloConditions/CaloLocalHadDefs.h
"
24
#include "
StoreGate/ReadCondHandleKey.h
"
25
#include "
AthenaBaseComps/AthAlgTool.h
"
26
27
28
class
CaloLCClassificationTool
:
public
AthAlgTool
,
virtual
public
IClusterClassificationTool
29
{
30
public
:
31
32
virtual
~CaloLCClassificationTool
();
33
34
virtual
35
CaloRecoStatus::StatusIndicator
classify
(
xAOD::CaloCluster
* thisCluster)
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.h
CaloLocalHadCoeff.h
CaloLocalHadDefs.h
IClusterClassificationTool.h
ReadCondHandleKey.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloLCClassificationTool::m_key
SG::ReadCondHandleKey< CaloLocalHadCoeff > m_key
name of the key for em fraction data
Definition
CaloLCClassificationTool.h:47
CaloLCClassificationTool::m_useNormalizedEnergyDensity
Gaudi::Property< bool > m_useNormalizedEnergyDensity
old data depends on energy density while new data depends on energy density over energy.
Definition
CaloLCClassificationTool.h:71
CaloLCClassificationTool::initialize
virtual StatusCode initialize() override
Definition
CaloLCClassificationTool.cxx:38
CaloLCClassificationTool::m_interpolateDimensions
std::vector< int > m_interpolateDimensions
actual set of dimension id's to interpolate
Definition
CaloLCClassificationTool.h:110
CaloLCClassificationTool::m_absOpt
Gaudi::Property< bool > m_absOpt
is set to true, classify neg.
Definition
CaloLCClassificationTool.h:115
CaloLCClassificationTool::classify
virtual CaloRecoStatus::StatusIndicator classify(xAOD::CaloCluster *thisCluster) const override
method to return the classification status of a cluster.
Definition
CaloLCClassificationTool.cxx:63
CaloLCClassificationTool::m_interpolate
Gaudi::Property< bool > m_interpolate
interpolate correction coefficients
Definition
CaloLCClassificationTool.h:100
CaloLCClassificationTool::m_interpolateDimensionNames
Gaudi::Property< std::vector< std::string > > m_interpolateDimensionNames
vector of names of dimensions in look-up tables to interpolate
Definition
CaloLCClassificationTool.h:104
CaloLCClassificationTool::m_useSpread
Gaudi::Property< bool > m_useSpread
if set to true the spread of EM probabilities in each bin is taken into account for classification ot...
Definition
CaloLCClassificationTool.h:60
CaloLCClassificationTool::~CaloLCClassificationTool
virtual ~CaloLCClassificationTool()
CaloLCClassificationTool::m_storeClassificationProbabilityInAOD
Gaudi::Property< bool > m_storeClassificationProbabilityInAOD
if true the phase space probability based on single pions that the current cluster stems from a pi0 i...
Definition
CaloLCClassificationTool.h:95
CaloLCClassificationTool::m_maxProbability
Gaudi::Property< double > m_maxProbability
cut value on EM probability below which all clusters are classified as hadronic
Definition
CaloLCClassificationTool.h:83
CaloLCClassificationTool::CaloLCClassificationTool
CaloLCClassificationTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
CaloLCClassificationTool.cxx:30
CaloRecoStatus::StatusIndicator
StatusIndicator
reconstruction status word
Definition
CaloRecoStatus.h:37
IClusterClassificationTool
Interface class for tools classifying CaloCluster objects.
Definition
IClusterClassificationTool.h:25
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
type
Generated on
for ATLAS Offline Software by
1.17.0