ATLAS Offline Software
Loading...
Searching...
No Matches
IClusterCellWeightTool Class Referenceabstract

Interface class for tools weighting cells in CaloCluster objects. More...

#include <IClusterCellWeightTool.h>

Inheritance diagram for IClusterCellWeightTool:
Collaboration diagram for IClusterCellWeightTool:

Public Member Functions

virtual StatusCode weight (xAOD::CaloCluster *thisCluster, const EventContext &ctx) const =0
 method to weight the cells in a cluster

Static Public Member Functions

static const InterfaceID & interfaceID ()

Detailed Description

Interface class for tools weighting cells in CaloCluster objects.

Version
$Id: IClusterCellWeightTool.h,v 1.1.1.1 2009-01-27 09:00:56 gunal Exp $
Author
Sven Menke menke.nosp@m.@mpp.nosp@m.mu.mp.nosp@m.g.de
Date
27-February-2007

Each CellWeight tool has to derive from this class and provide the method: weight(CaloCluster*) which should loop over the cluster constituents and weight them.

Definition at line 24 of file IClusterCellWeightTool.h.

Member Function Documentation

◆ interfaceID()

const InterfaceID & IClusterCellWeightTool::interfaceID ( )
inlinestatic

Definition at line 28 of file IClusterCellWeightTool.h.

28 {
29 static const InterfaceID IID_IClusterCellWeightTool("IClusterCellWeightTool", 1 , 0);
30 return IID_IClusterCellWeightTool;
31 }

◆ weight()

virtual StatusCode IClusterCellWeightTool::weight ( xAOD::CaloCluster * thisCluster,
const EventContext & ctx ) const
pure virtual

method to weight the cells in a cluster

Parameters
theClusterthe pointer to the CaloCluster to be weighted

this method is purely virtual because every derived class needs to implement it.

Implemented in CaloLCDeadMaterialTool, CaloLCOutOfClusterTool, and CaloLCWeightTool.


The documentation for this class was generated from the following file: