| 
    Jpp master_rocky-44-g75b7c4f75
    
   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.   | |
| JConstantFlux (const double flux) | |
| Constructor.   | |
| bool | is_valid () const override final | 
| Check whether this constant event-weight factor is valid.   | |
| double | getFactor (const Evt &evt) const override final | 
| Get event-weight factor of given event.   | |
| bool | less (const JEvtWeightFactorConstant_t &object) const | 
| Check if this event-weight constant is less than given event-weight constant.   | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final | 
| Get properties of this class.   | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final | 
| Get properties of this class.   | |
| std::istream & | read (std::istream &in) override final | 
| Stream input.   | |
| std::ostream & | write (std::ostream &out) const override final | 
| Write event-weight factor to output.   | |
| virtual clone_type | clone () const override | 
| Get clone of this object.   | |
Private Attributes | |
| double | constant | 
| constant value   | |
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 JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, and JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
Definition at line 69 of file JClonable.hh.
      
  | 
  privateinherited | 
constant value
Definition at line 186 of file JEvtWeightFactorConstant.hh.