ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
CaloClusterCorrection
CaloClusterLocalCalib.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
//Dear emacs, this is -*-c++-*-
6
7
#ifndef CALOUTILS_CALOCLUSTERLOCALCALIB_H
8
#define CALOUTILS_CALOCLUSTERLOCALCALIB_H
9
10
11
#include "
CaloUtils/CaloClusterProcessor.h
"
12
#include "
xAODCaloEvent/CaloCluster.h
"
13
#include "
CaloEvent/CaloRecoStatus.h
"
14
#include "
CaloInterface/IClusterCellWeightTool.h
"
15
#include "
CaloInterface/IClusterClassificationTool.h
"
16
17
#include "GaudiKernel/ToolHandle.h"
18
30
31
32
class
CaloClusterLocalCalib
:
public
CaloClusterProcessor
{
33
34
public
:
35
37
virtual
StatusCode
initialize
()
override
;
38
40
using
CaloClusterProcessor::execute
;
41
virtual
StatusCode
execute
(
const
EventContext& ctx,
42
xAOD::CaloCluster
* theCluster)
const override
;
43
45
CaloClusterLocalCalib
(
const
std::string&
type
,
46
const
std::string& name,
47
const
IInterface* parent);
48
49
private
:
50
52
ToolHandleArray<IClusterClassificationTool>
m_classificationTool
{
this
,
"ClusterClassificationTool"
, {}};
53
//Remark: This handle should be 0 or 1 entries. Our configurable framework can't handle
54
//a not-assigned ToolHandle, therefore this is an array.
55
57
ToolHandleArray<IClusterCellWeightTool>
m_calibTools
{
this
,
"LocalCalibTools"
, {}};
58
// std::vector < IClusterCellWeightTool *> m_calibToolPointers ;
59
62
Gaudi::Property<std::vector<int>>
m_recoStatus
{
this
,
"ClusterRecoStatus"
, {}};
63
65
Gaudi::Property<bool>
m_absOpt
{
this
,
"WeightingOfNegClusters"
,
false
};
66
};
67
68
69
#endif
CaloClusterProcessor.h
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
CaloRecoStatus.h
CaloCluster.h
IClusterCellWeightTool.h
IClusterClassificationTool.h
CaloClusterLocalCalib::m_calibTools
ToolHandleArray< IClusterCellWeightTool > m_calibTools
property: Array of IClusterCellWeightTool
Definition
CaloClusterLocalCalib.h:57
CaloClusterLocalCalib::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
Definition
CaloClusterLocalCalib.cxx:50
CaloClusterLocalCalib::CaloClusterLocalCalib
CaloClusterLocalCalib(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
Definition
CaloClusterLocalCalib.cxx:18
CaloClusterLocalCalib::m_recoStatus
Gaudi::Property< std::vector< int > > m_recoStatus
property: vector of valid Reco Statuses for the clusters in order to be calibrated
Definition
CaloClusterLocalCalib.h:62
CaloClusterLocalCalib::m_classificationTool
ToolHandleArray< IClusterClassificationTool > m_classificationTool
property: Classification tools
Definition
CaloClusterLocalCalib.h:52
CaloClusterLocalCalib::initialize
virtual StatusCode initialize() override
Tool initialization: load calibration tools specified by jobOptions.
Definition
CaloClusterLocalCalib.cxx:26
CaloClusterLocalCalib::m_absOpt
Gaudi::Property< bool > m_absOpt
if set to true, negative clusters are weighted as well
Definition
CaloClusterLocalCalib.h:65
CaloClusterProcessor::CaloClusterProcessor
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition
CaloClusterProcessor.cxx:26
CaloClusterProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
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