#ifndef __JAANET__JFLUX__ #define __JAANET__JFLUX__ #include "km3net-dataformat/offline/Evt.hh" #include "JAAnet/JEvtWeightFactor.hh" /** * \author bjung */ namespace JAANET {} namespace JPP { using namespace JAANET; } namespace JAANET { /** * Low-level interface for retrieving the flux corresponding to a given event. */ struct JFlux : public JEvtWeightFactor { /** * Virtual destructor. */ virtual ~JFlux() {} /** * Get flux of given event. * * \param evt event * \return flux [GeV^-1 * m^-2 * sr^-1 * s^-1] */ virtual double getFlux(const Evt& evt) const { return getFactor(evt); } }; } #endif