00001 00002 // Interface for a per-event weight computation 00003 // The getWeight() function computes and returns the weight 00004 // 00005 // Author: Olivier Arnaez <olivier.arnaez@cern.ch> 00007 // $Id: IWeightTool.h $ 00008 #ifndef PATINTERFACES_IWEIGHTTOOL_H 00009 #define PATINTERFACES_IWEIGHTTOOL_H 00010 00011 // System include(s): 00012 00013 // Framework include(s): 00014 #include "AsgTools/IAsgTool.h" 00015 00016 // Forward declaration 00017 00018 00021 class IWeightTool : virtual public asg::IAsgTool { 00022 00024 ASG_TOOL_INTERFACE( IWeightTool ) 00025 00026 public: 00027 00029 virtual ~IWeightTool(){}; 00030 00032 virtual double getWeight() const = 0; 00033 00034 00035 }; // class IWeightTool 00036 00037 00038 #endif // PATINTERFACES_IWEIGHTTOOL_H