ATLAS Offline Software
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-2021 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 
13 #include "CaloEvent/CaloCluster.h"
15 
48 class CaloCell_ID;
49 
51 {
52 
53  public:
54  // Initialization: cache DetDescr manager and Cell ID helper
55  StatusCode initialize() override;
56 
57  // Calculate logarithmic weighted positions
59  StatusCode execute(const EventContext& ctx,
60  xAOD::CaloCluster* theCluster) const override;
61 
62  // Standard AlgTool constructor
63  CaloClusterLogPos(const std::string& type,
64  const std::string& name,
65  const IInterface* parent);
66 
67  private:
68  // property: offset for the logarithmic weighting
69  double m_offset;
70 
71 };
72 
73 
74 #endif
CaloClusterProcessor.h
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
CaloClusterProcessor
Definition: CaloClusterProcessor.h:33
CaloClusterLogPos::execute
StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
Definition: CaloClusterLogPos.cxx:31
CaloClusterLogPos::initialize
StatusCode initialize() override
Definition: CaloClusterLogPos.cxx:24
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterLogPos::CaloClusterLogPos
CaloClusterLogPos(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
Definition: CaloClusterLogPos.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloClusterLogPos
Cluster correction tool to compute the logarithmically weighted centroid.
Definition: CaloClusterLogPos.h:51
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloClusterLogPos::m_offset
double m_offset
Definition: CaloClusterLogPos.h:69
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IOVSvcDefs.h
defines and typedefs for IOVSvc
CaloClusterProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.