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-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"
14
46
47class CaloCell_ID;
48
50{
51
52 public:
53 // Initialization: cache DetDescr manager and Cell ID helper
54 StatusCode initialize() override;
55
56 // Calculate logarithmic weighted positions
58 StatusCode execute(const EventContext& ctx,
59 xAOD::CaloCluster* theCluster) const override;
60
61 // Standard AlgTool constructor
62 CaloClusterLogPos(const std::string& type,
63 const std::string& name,
64 const IInterface* parent);
65
66 private:
67 // property: offset for the logarithmic weighting
68 double m_offset;
69
70};
71
72
73#endif
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
CaloClusterLogPos(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
StatusCode initialize() override
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.