ATLAS Offline Software
Loading...
Searching...
No Matches
IClusterCellWeightTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5//Dear emacs, this is -*-c++--*-
6#ifndef CALOINTERFACE_ICLUSTERCELLWEIGHTTOOL_H
7#define CALOINTERFACE_ICLUSTERCELLWEIGHTTOOL_H
18
19#include "GaudiKernel/IAlgTool.h"
21
22class EventContext;
23
24class IClusterCellWeightTool : virtual public IAlgTool
25{
26 public:
27
28 static const InterfaceID& interfaceID() {
29 static const InterfaceID IID_IClusterCellWeightTool("IClusterCellWeightTool", 1 , 0);
30 return IID_IClusterCellWeightTool;
31 }
32
33
40 virtual StatusCode weight(xAOD::CaloCluster* thisCluster, const EventContext& ctx) const = 0;
41
42};
43#endif
44
Interface class for tools weighting cells in CaloCluster objects.
static const InterfaceID & interfaceID()
virtual StatusCode weight(xAOD::CaloCluster *thisCluster, const EventContext &ctx) const =0
method to weight the cells in a cluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.