ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloLCOutOfClusterTool.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_CALOLCOUTOFCLUSTERTOOL_H
6
#define CALOUTILS_CALOLCOUTOFCLUSTERTOOL_H
20
21
#include "
CaloInterface/IClusterCellWeightTool.h
"
22
#include "
CaloConditions/CaloLocalHadCoeff.h
"
23
#include "
StoreGate/ReadCondHandleKey.h
"
24
#include "
AthenaBaseComps/AthAlgTool.h
"
25
#include "GaudiKernel/EventContext.h"
26
27
class
CaloLCOutOfClusterTool
:
public
extends<AthAlgTool, IClusterCellWeightTool>
28
{
29
public
:
30
31
using
base_class::base_class;
32
virtual
~CaloLCOutOfClusterTool
();
33
34
virtual
StatusCode
weight
(
xAOD::CaloCluster
* theCluster,
const
EventContext& ctx)
const override
;
35
virtual
StatusCode
initialize
()
override
;
36
37
private
:
38
41
SG::ReadCondHandleKey<CaloLocalHadCoeff>
m_key
{
this
,
"CorrectionKey"
,
"OOCCorrection"
};
42
49
Gaudi::Property<bool>
m_useEmProbability
{
this
,
"UseEmProbability"
,
false
};
50
57
Gaudi::Property<bool>
m_useHadProbability
{
this
,
"UseHadProbability"
,
false
};
58
66
Gaudi::Property<std::vector<std::string>>
m_invalidSamplingNames
{this
67
,
"InvalidSamplings"
68
, {
"PreSamplerB"
,
"PreSamplerE"
,
"TileGap3"
}
69
};
70
76
std::set<int>
m_invalidSamplings
;
77
80
Gaudi::Property<bool>
m_interpolate
{
this
,
"Interpolate"
,
false
};
81
84
Gaudi::Property<bool>
m_updateSamplingVars
{
this
,
"UpdateSamplingVars"
,
false
};
85
88
Gaudi::Property<std::vector<std::string>>
m_interpolateDimensionNames
{this
89
,
"InterpolateDimensionNames"
90
, {
"DIMO_ENER"
,
"DIMO_ETA"
,
"DIMO_LAMBDA"
}
91
};
92
95
std::vector<int>
m_interpolateDimensions
;
96
97
};
98
99
#endif
100
101
AthAlgTool.h
CaloLocalHadCoeff.h
IClusterCellWeightTool.h
ReadCondHandleKey.h
CaloLCOutOfClusterTool
calculates out-of-cluster corrections based on cluster quantities
Definition
CaloLCOutOfClusterTool.h:28
CaloLCOutOfClusterTool::m_invalidSamplingNames
Gaudi::Property< std::vector< std::string > > m_invalidSamplingNames
vector of names of the calorimeter samplings not to use when applying the out-of-cluster weights.
Definition
CaloLCOutOfClusterTool.h:66
CaloLCOutOfClusterTool::m_interpolate
Gaudi::Property< bool > m_interpolate
interpolate correction coefficients
Definition
CaloLCOutOfClusterTool.h:80
CaloLCOutOfClusterTool::m_updateSamplingVars
Gaudi::Property< bool > m_updateSamplingVars
update also sampling variables
Definition
CaloLCOutOfClusterTool.h:84
CaloLCOutOfClusterTool::m_interpolateDimensions
std::vector< int > m_interpolateDimensions
actual set of dimension id's to interpolate
Definition
CaloLCOutOfClusterTool.h:95
CaloLCOutOfClusterTool::weight
virtual StatusCode weight(xAOD::CaloCluster *theCluster, const EventContext &ctx) const override
Definition
CaloLCOutOfClusterTool.cxx:98
CaloLCOutOfClusterTool::m_interpolateDimensionNames
Gaudi::Property< std::vector< std::string > > m_interpolateDimensionNames
vector of names of dimensions in look-up tables to interpolate
Definition
CaloLCOutOfClusterTool.h:88
CaloLCOutOfClusterTool::initialize
virtual StatusCode initialize() override
Definition
CaloLCOutOfClusterTool.cxx:36
CaloLCOutOfClusterTool::m_useHadProbability
Gaudi::Property< bool > m_useHadProbability
look for em-probability moment and apply relative weight only
Definition
CaloLCOutOfClusterTool.h:57
CaloLCOutOfClusterTool::m_key
SG::ReadCondHandleKey< CaloLocalHadCoeff > m_key
name of the key for out-of-cluster weights
Definition
CaloLCOutOfClusterTool.h:41
CaloLCOutOfClusterTool::~CaloLCOutOfClusterTool
virtual ~CaloLCOutOfClusterTool()
CaloLCOutOfClusterTool::m_useEmProbability
Gaudi::Property< bool > m_useEmProbability
look for em-probability moment and apply relative weight only
Definition
CaloLCOutOfClusterTool.h:49
CaloLCOutOfClusterTool::m_invalidSamplings
std::set< int > m_invalidSamplings
actual set of samplings to be ignored for out-of-cluster weights
Definition
CaloLCOutOfClusterTool.h:76
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
Generated on
for ATLAS Offline Software by
1.17.0