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"
15
47
48class 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
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
defines and typedefs for IOVSvc
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.