#ifndef __JAANET__JEVTWEIGHTFACTOR__ #define __JAANET__JEVTWEIGHTFACTOR__ #include "km3net-dataformat/offline/Evt.hh" #include "JLang/JClonable.hh" /** * \author bjung */ namespace JAANET {} namespace JPP { using namespace JAANET; } namespace JAANET { using JLANG::JClonable; /** * Low-level interface for retrieving a specifiable multiplication factor\n * corresponding to a given event. */ struct JEvtWeightFactor : public JClonable { /** * Virtual destructor. */ virtual ~JEvtWeightFactor() {} /** * Get multiplication factor of given event. * * \param evt event * \return multiplication factor */ virtual double getFactor(const Evt& evt) const = 0; }; } #endif