ATLAS Offline Software
Loading...
Searching...
No Matches
IWeightTool.h
Go to the documentation of this file.
1
2// Interface for a per-event weight computation
3// The getWeight() function computes and returns the weight
4//
5// Author: Olivier Arnaez <olivier.arnaez@cern.ch>
7// $Id: IWeightTool.h $
8#ifndef PATINTERFACES_IWEIGHTTOOL_H
9#define PATINTERFACES_IWEIGHTTOOL_H
10
11// System include(s):
12
13// Framework include(s):
14#include "AsgTools/IAsgTool.h"
15
16// Forward declaration
17
18
21class IWeightTool : virtual public asg::IAsgTool {
22
25
26 public:
27
29 virtual ~IWeightTool(){};
30
32 virtual double getWeight() const = 0;
33
34
35 }; // class IWeightTool
36
37
38#endif // PATINTERFACES_IWEIGHTTOOL_H
#define ASG_TOOL_INTERFACE(CLASSNAME)
Interface for tools that want to calculate a weight from different event information.
Definition IWeightTool.h:21
virtual double getWeight() const =0
returns: the value that was calculated from the usual Athena storegate
virtual ~IWeightTool()
Declare the interface that this class provides.
Definition IWeightTool.h:29
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41