ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloClusterLogPos.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: CaloClusterLogPos.h,v 1.3 2009-04-22 17:26:21 ssnyder Exp $
8
#ifndef CALOUTILS_CALOCLUSTERLOGPOS_H
9
#define CALOUTILS_CALOCLUSTERLOGPOS_H
10
11
12
#include "
CaloUtils/CaloClusterProcessor.h
"
13
#include "CaloEvent/CaloCluster.h"
14
46
47
class
CaloClusterLogPos
:
public
CaloClusterProcessor
48
{
49
50
public
:
51
// Initialization: cache DetDescr manager and Cell ID helper
52
StatusCode
initialize
()
override
;
53
54
// Calculate logarithmic weighted positions
55
using
CaloClusterProcessor::execute
;
56
StatusCode
execute
(
const
EventContext& ctx,
57
xAOD::CaloCluster
* theCluster)
const override
;
58
59
// Standard AlgTool constructor
60
CaloClusterLogPos
(
const
std::string&
type
,
61
const
std::string& name,
62
const
IInterface* parent);
63
64
private
:
65
// property: offset for the logarithmic weighting
66
Gaudi::Property<double>
m_offset
{
this
,
"LogPosOffset"
, 4.7};
67
};
68
69
70
#endif
CaloClusterProcessor.h
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
CaloClusterLogPos::CaloClusterLogPos
CaloClusterLogPos(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
Definition
CaloClusterLogPos.cxx:14
CaloClusterLogPos::initialize
StatusCode initialize() override
Definition
CaloClusterLogPos.cxx:22
CaloClusterLogPos::m_offset
Gaudi::Property< double > m_offset
Definition
CaloClusterLogPos.h:66
CaloClusterLogPos::execute
StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
Definition
CaloClusterLogPos.cxx:29
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