ATLAS Offline Software
Loading...
Searching...
No Matches
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
13#include "CaloEvent/CaloCluster.h"
14
46
48{
49
50 public:
51 // Initialization: cache DetDescr manager and Cell ID helper
52 StatusCode initialize() override;
53
54 // Calculate logarithmic weighted positions
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
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
CaloClusterLogPos(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
StatusCode initialize() override
Gaudi::Property< double > m_offset
StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.