Jpp
15.0.1-rc.1-highqe
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JAAnet
JFlux.hh
Go to the documentation of this file.
1
#ifndef __JAANET__JFLUX__
2
#define __JAANET__JFLUX__
3
4
#include "
JAAnet/JEvtWeightFactor.hh
"
5
#include "
JAAnet/JEvtWeightFactorHelper.hh
"
6
#include "
JAAnet/JEvtWeightFactorFunction.hh
"
7
#include "
JAAnet/JEvtWeightFactorMultiParticle.hh
"
8
9
/**
10
* \author bjung
11
*/
12
13
namespace
JAANET {
14
15
/**
16
* Alias for flux function interface.
17
*/
18
using
JFlux
=
JEvtWeightFactor
;
19
20
/**
21
* Alias for flux function interface helper.
22
*/
23
using
JFluxHelper
=
JEvtWeightFactorHelper
;
24
25
/**
26
* Alias for pointer to flux function.
27
*/
28
using
pFlux
=
pEvtWeightFactor
;
29
30
/**
31
* Alias for implementation of flux function interface for functors.
32
*/
33
template
<
class
JFunction_t>
34
using
JFluxFunction
=
JEvtWeightFactorFunction<JFunction_t>
;
35
36
/**
37
* Alias for implementation of an interface to multiple flux functions.
38
*/
39
using
JFluxMultiParticle
=
JEvtWeightFactorMultiParticle
;
40
41
/**
42
* Auxiliary method for creating an interface to a flux function.
43
*
44
* \param function function object
45
* \return event-weight factor interface
46
*/
47
template
<
class
JFunction_t>
48
inline
JFluxFunction<JFunction_t>
make_fluxFunction
(
const
JFunction_t&
function
) {
49
return
JFluxFunction<JFunction_t>
(
function
);
50
}
51
52
/**
53
* Auxiliary method for creating an interface to a flux function.
54
*
55
* \param function function pointer
56
* \return event-weight factor interface
57
*/
58
inline
JFluxFunction<pFlux>
make_fluxFunction
(
pFlux
function
) {
59
return
JFluxFunction<pFlux>
(
function
);
60
}
61
}
62
63
#endif
JAANET::JEvtWeightFactorFunction
Implementation of event-weight factor interface.
Definition:
JEvtWeightFactorFunction.hh:24
JEvtWeightFactorFunction.hh
JEvtWeightFactor.hh
JAANET::pFlux
pEvtWeightFactor pFlux
Alias for pointer to flux function.
Definition:
JFlux.hh:28
JAANET::JEvtWeightFactorMultiParticle
Implementation of event-weight factor for multiple particle types.
Definition:
JEvtWeightFactorMultiParticle.hh:29
JAANET::JEvtWeightFactorHelper
Helper class for event-weight factor.
Definition:
JEvtWeightFactorHelper.hh:23
JEvtWeightFactorHelper.hh
JEvtWeightFactorMultiParticle.hh
JAANET::make_fluxFunction
JFluxFunction< JFunction_t > make_fluxFunction(const JFunction_t &function)
Auxiliary method for creating an interface to a flux function.
Definition:
JFlux.hh:48
JAANET::JEvtWeightFactor
Low-level interface for retrieving a specifiable multiplication factor corresponding to a given event...
Definition:
JEvtWeightFactor.hh:23
JAANET::pEvtWeightFactor
double(* pEvtWeightFactor)(const Evt &)
Type definition of pointer to event-weight factor.
Definition:
JEvtWeightFactorFunction.hh:57
Generated by
1.8.5