1 #ifndef __JAANET__JFLATFLUX__
2 #define __JAANET__JFLATFLUX__
14 namespace JPP {
using namespace JAANET; }
93 out <<
FIXED(5,3) <<
object.flux;
Implementation of event-weight factor interface.
JFlatFlux(const double flux)
Constructor.
Auxiliary data structure for floating point format specification.
JEvtWeightFactorFunction< JFunction_t, JFlux > make_fluxFunction(const JFunction_t &flux)
Auxiliary method for creating an interface to a flux function.
bool less(const JFlatFlux &object) const
Check if this flux is less than given flux.
flux()
Default constructor.
friend std::istream & operator>>(std::istream &in, JFlatFlux &object)
Stream input.
friend std::ostream & operator<<(std::ostream &out, const JFlatFlux &object)
Write flux to output stream.
double operator()(const Evt &evt) const
Get flux of given event.
Template definition of auxiliary base class for comparison of data structures.
Function object for constant fluxes.
double flux
flux [GeV * m^-2 * sr^-1 * s^-1]
JFlatFlux()
Default constructor.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
JEvtWeightFactorFunction< JFlatFlux, JFlux > make_flatFluxFunction(const double flux)
Auxiliary method for creating an interface to a flat flux function.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.