ATLAS Offline Software
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
8 
19 #include "GaudiKernel/IAlgTool.h"
21 
22 class EventContext;
23 
24 class 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 
IClusterCellWeightTool::weight
virtual StatusCode weight(xAOD::CaloCluster *thisCluster, const EventContext &ctx) const =0
method to weight the cells in a cluster
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterFwd.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IClusterCellWeightTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IClusterCellWeightTool.h:28
IClusterCellWeightTool
Interface class for tools weighting cells in CaloCluster objects.
Definition: IClusterCellWeightTool.h:25