| 
    Jpp
    master_rocky
    
   the software that should make you happy 
   | 
 
Implementation of event-weight factor interface. More...
#include <JEvtWeightFactorFunction.hh>
  
Public Types | |
| typedef JEvtWeightFactorFunction< JFunction_t, JEvtWeightFactor_t > | JEvtWeightFactorFunction_t | 
| typedef JClonable< JClonable_t >::clone_type | clone_type | 
Public Member Functions | |
| JEvtWeightFactorFunction (const JFunction_t &function) | |
| Constructor.  More... | |
| double | getFactor (const Evt &evt) const override final | 
| Get weight-factor for given event.  More... | |
| virtual clone_type | clone () const override | 
| Get clone of this object.  More... | |
Private Attributes | |
| JFunction_t | function | 
| event-weight factor object.  More... | |
Implementation of event-weight factor interface.
The first template argument refers to a function of which the copy constructor needs to be defined. The second template argument corresponds to the desired event-weight factor interface class.
Definition at line 34 of file JEvtWeightFactorFunction.hh.
| typedef JEvtWeightFactorFunction<JFunction_t, JEvtWeightFactor_t> JAANET::JEvtWeightFactorFunction< JFunction_t, JEvtWeightFactor_t >::JEvtWeightFactorFunction_t | 
Definition at line 38 of file JEvtWeightFactorFunction.hh.
      
  | 
  inherited | 
Definition at line 61 of file JClonable.hh.
      
  | 
  inline | 
Constructor.
| function | function for event-weight factor | 
Definition at line 46 of file JEvtWeightFactorFunction.hh.
      
  | 
  inlinefinaloverride | 
Get weight-factor for given event.
| evt | event | 
Definition at line 57 of file JEvtWeightFactorFunction.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.
      
  | 
  private | 
event-weight factor object.
Definition at line 65 of file JEvtWeightFactorFunction.hh.