Jpp
debug
the software that should make you happy
|
Function object for constant fluxes. More...
#include <JConstantFlux.hh>
Public Types | |
typedef JEvtWeightFactorConstant< JFlux > | JEvtWeightFactorConstant_t |
typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
JConstantFlux () | |
Default constructor. More... | |
JConstantFlux (const double flux) | |
Constructor. More... | |
bool | is_valid () const override final |
Check whether this constant event-weight factor is valid. More... | |
double | getFactor (const Evt &evt) const override final |
Get event-weight factor of given event. More... | |
bool | less (const JEvtWeightFactorConstant_t &object) const |
Check if this event-weight constant is less than given event-weight constant. More... | |
JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final |
Get properties of this class. More... | |
JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final |
Get properties of this class. More... | |
std::istream & | read (std::istream &in) override final |
Stream input. More... | |
std::ostream & | write (std::ostream &out) const override final |
Write event-weight factor to output. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Private Attributes | |
double | constant |
constant value More... | |
Function object for constant fluxes.
Definition at line 21 of file JConstantFlux.hh.
|
inherited |
Definition at line 38 of file JEvtWeightFactorConstant.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 27 of file JConstantFlux.hh.
|
inline |
Constructor.
flux | [GeV * m^-2 * sr^-1 * s^-1] |
Definition at line 37 of file JConstantFlux.hh.
|
inlinefinaloverrideinherited |
Check whether this constant event-weight factor is valid.
Definition at line 66 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverrideinherited |
Get event-weight factor of given event.
evt | event |
Definition at line 78 of file JEvtWeightFactorConstant.hh.
|
inlineinherited |
Check if this event-weight constant is less than given event-weight constant.
object | event-weight constant |
Definition at line 90 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverrideinherited |
Get properties of this class.
eqpars | equation parameters |
Definition at line 101 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverrideinherited |
Get properties of this class.
eqpars | equation parameters |
Definition at line 112 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverrideinherited |
Stream input.
in | input stream |
Definition at line 124 of file JEvtWeightFactorConstant.hh.
|
inlinefinaloverrideinherited |
Write event-weight factor to output.
out | output stream |
Definition at line 152 of file JEvtWeightFactorConstant.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
Definition at line 69 of file JClonable.hh.
|
privateinherited |
constant value
Definition at line 186 of file JEvtWeightFactorConstant.hh.