Jpp  19.1.0
the software that should make you happy
JConstantFlux.hh
Go to the documentation of this file.
1 #ifndef __JAANET__JCONSTANTFLUX__
2 #define __JAANET__JCONSTANTFLUX__
3 
4 #include "JAAnet/JFlux.hh"
6 
7 
8 /**
9  * \author bjung
10  */
11 
12 namespace JAANET {}
13 namespace JPP { using namespace JAANET; }
14 
15 namespace JAANET {
16 
17 
18  /**
19  * Function object for constant fluxes.
20  */
21  struct JConstantFlux final :
22  public JEvtWeightFactorConstant<JFlux>
23  {
24  /**
25  * Default constructor.
26  */
29  {}
30 
31 
32  /**
33  * Constructor.
34  *
35  * \param flux [GeV * m^-2 * sr^-1 * s^-1]
36  */
37  JConstantFlux(const double flux) :
39  {}
40  };
41 }
42 
43 #endif
Extensions to Evt data format.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Function object for constant fluxes.
JConstantFlux()
Default constructor.
JConstantFlux(const double flux)
Constructor.
Class for constant event-weight factors.
Neutrino flux.
Definition: JHead.hh:906