Jpp
master_rocky-40-g5f0272dcd
the software that should make you happy
software
JAAnet
JConstantFlux.hh
Go to the documentation of this file.
1
#ifndef __JAANET__JCONSTANTFLUX__
2
#define __JAANET__JCONSTANTFLUX__
3
4
#include "
JAAnet/JFlux.hh
"
5
#include "
JAAnet/JEvtWeightFactorConstant.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
*/
27
JConstantFlux
() :
28
JEvtWeightFactorConstant
()
29
{}
30
31
32
/**
33
* Constructor.
34
*
35
* \param flux [GeV * m^-2 * sr^-1 * s^-1]
36
*/
37
JConstantFlux
(
const
double
flux
) :
38
JEvtWeightFactorConstant
(
flux
)
39
{}
40
};
41
}
42
43
#endif
JEvtWeightFactorConstant.hh
JFlux.hh
JAANET
Extensions to Evt data format.
Definition:
JAAnetToolkit.hh:42
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition:
JAAnetToolkit.hh:43
JAANET::JConstantFlux
Function object for constant fluxes.
Definition:
JConstantFlux.hh:23
JAANET::JConstantFlux::JConstantFlux
JConstantFlux()
Default constructor.
Definition:
JConstantFlux.hh:27
JAANET::JConstantFlux::JConstantFlux
JConstantFlux(const double flux)
Constructor.
Definition:
JConstantFlux.hh:37
JAANET::JEvtWeightFactorConstant
Class for constant event-weight factors.
Definition:
JEvtWeightFactorConstant.hh:37
JAANET::flux
Neutrino flux.
Definition:
JHead.hh:906
Generated by
1.9.1