1#ifndef __JAANET__JPOWERLAWFLUX__ 
    2#define __JAANET__JPOWERLAWFLUX__ 
  128    std::istream& 
read(std::istream& in) 
override final 
  132      const streampos         pos   = in.tellg();
 
  133      const ios_base::iostate state = in.rdstate();      
 
 
  165      template<
class JPowerLawFlux_t>
 
 
 
Utility class to parse parameter values.
 
#define gmake_property(A)
macros to convert (template) parameter to JPropertiesElement object
 
Utility class to parse parameter values.
 
Simple data structure to support I/O of equations (see class JLANG::JEquation).
 
Extensions to Evt data format.
 
const Trk & get_primary(const Evt &evt)
Auxiliary function to retrieve the primary track of an event.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
 
static const char *const getTypeKey()
Get type keyword.
 
static JEquationParameters & getEquationParameters()
Get equation parameters.
 
Auxiliary class for I/O of power-law flux.
 
JPowerLawFluxHelper(JPowerLawFlux_t &flux, const JEquationParameters &eqpars)
Constructor.
 
Example function object for computing power-law flux.
 
double spectralIndex
spectral index >= 0
 
double normalisation
normalisation [GeV * m^-2 * sr^-1 * s^-1]
 
JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final
Get properties of this class.
 
double getFactor(const Evt &evt) const override final
Get flux of given event.
 
bool equals(const JPowerLawFlux &object) const
Check if this flux is identical to the given flux.
 
JPowerLawFlux()
Default constructor.
 
JPowerLawFlux(const double normalisation, const double spectralIndex)
Constructor.
 
bool is_valid() const override final
Check whether this power-law flux is valid.
 
JProperties getProperties(const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final
Get properties of this class.
 
std::istream & read(std::istream &in) override final
Stream input.
 
Template class for object cloning.
 
Template definition of auxiliary base class for comparison of data structures.
 
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower.