Jpp  15.0.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JFlux.hh
Go to the documentation of this file.
1 #ifndef __JAANET__JFLUX__
2 #define __JAANET__JFLUX__
3 
8 
9 /**
10  * \author bjung
11  */
12 
13 namespace JAANET {
14 
15  /**
16  * Alias for flux function interface.
17  */
19 
20  /**
21  * Alias for flux function interface helper.
22  */
24 
25  /**
26  * Alias for pointer to flux function.
27  */
29 
30  /**
31  * Alias for implementation of flux function interface for functors.
32  */
33  template<class JFunction_t>
35 
36  /**
37  * Alias for implementation of an interface to multiple flux functions.
38  */
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  */
59  return JFluxFunction<pFlux>(function);
60  }
61 }
62 
63 #endif
Implementation of event-weight factor interface.
pEvtWeightFactor pFlux
Alias for pointer to flux function.
Definition: JFlux.hh:28
Implementation of event-weight factor for multiple particle types.
Helper class for event-weight factor.
JFluxFunction< JFunction_t > make_fluxFunction(const JFunction_t &function)
Auxiliary method for creating an interface to a flux function.
Definition: JFlux.hh:48
Low-level interface for retrieving a specifiable multiplication factor corresponding to a given event...
double(* pEvtWeightFactor)(const Evt &)
Type definition of pointer to event-weight factor.