#ifndef analysis_IVWeighter_hxx #define analysis_IVWeighter_hxx #include #include namespace COMET{ class IVWeighter; } class COMET::IVWeighter{ public: IVWeighter(const std::string& name, const std::string& type ): fName(name),fType(type){ } virtual ~IVWeighter(){} virtual double CalculateWeight(const COMET::ICOMETEvent& event)=0; std::string GetName()const{return fName;}; std::string GetType()const{return fType;}; private: std::string fName; std::string fType; }; #endif // analysis_IVWeighter_hxx