| 
    Jpp
    master_rocky-37-gf0c5bc59d
    
   the software that should make you happy 
   | 
 
Implementation of event weighing for miscellaneous data
such as a merged offline file containing neutrinos and atmospheric muons.  
 More...
#include <JEvtWeightMiscellaneous.hh>
  
Public Types | |
| typedef std::shared_ptr< JEvtWeightFactor > | pointer_type | 
| typedef JClonable< JClonable_t >::clone_type | clone_type | 
Public Member Functions | |
| JEvtWeightMiscellaneous () | |
| Default constructor.  More... | |
| JEvtWeightMiscellaneous (const JHead &header) | |
| Constructor.  More... | |
| JEvtWeightMiscellaneous (const JHead &header, const JEvtWeightFactor &factor) | |
| Constructor.  More... | |
| const char *const | getName () const override final | 
| Get name.  More... | |
| void | configure (const JHead &header) override final | 
| Configuration.  More... | |
| bool | check (const JHead &header) const override final | 
| Check whether header is consistent with this event weighter.  More... | |
| double | getWeight (const Evt &evt) const override final | 
| Get weight of given event.  More... | |
| void | configure (const pointer_type &p) | 
| Configure event-weight factor.  More... | |
| void | configure (const JEvtWeightFactor &factor) | 
| Configure event-weight factor.  More... | |
| JEvtWeightFactor & | getFactor () const | 
| Get reference to event-weight factor.  More... | |
| double | getFactor (const Evt &evt) const | 
| Get weight-factor of given event.  More... | |
| bool | is_valid () const | 
| Check whether this event-weight factor is valid.  More... | |
| double | operator() (const Evt &evt) const | 
| Get weight-factor of given event.  More... | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) | 
| Get properties of this class.  More... | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const | 
| Get properties of this class.  More... | |
| virtual clone_type | clone () const override | 
| Get clone of this object.  More... | |
Implementation of event weighing for miscellaneous data
such as a merged offline file containing neutrinos and atmospheric muons. 
A uniform weight of 1.0 is applied to all events. 
Definition at line 36 of file JEvtWeightMiscellaneous.hh.
      
  | 
  inherited | 
Definition at line 31 of file JEvtWeightFactorHelper.hh.
      
  | 
  inherited | 
Definition at line 61 of file JClonable.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 43 of file JEvtWeightMiscellaneous.hh.
      
  | 
  inline | 
Constructor.
| header | header | 
Definition at line 53 of file JEvtWeightMiscellaneous.hh.
      
  | 
  inline | 
Constructor.
| header | header | 
| factor | factor | 
Definition at line 66 of file JEvtWeightMiscellaneous.hh.
      
  | 
  inlinefinaloverride | 
      
  | 
  inlinefinaloverride | 
Configuration.
| header | header | 
Definition at line 91 of file JEvtWeightMiscellaneous.hh.
      
  | 
  inlinefinaloverride | 
Check whether header is consistent with this event weighter.
| header | header | 
Definition at line 112 of file JEvtWeightMiscellaneous.hh.
      
  | 
  inlinefinaloverride | 
Get weight of given event.
| evt | event | 
Definition at line 124 of file JEvtWeightMiscellaneous.hh.
      
  | 
  inlineinherited | 
Configure event-weight factor.
| p | pointer to event-weight factor | 
Definition at line 68 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineinherited | 
Configure event-weight factor.
| factor | event-weight factor | 
Definition at line 79 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineinherited | 
Get reference to event-weight factor.
Definition at line 98 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineinherited | 
Get weight-factor of given event.
| evt | event | 
Definition at line 129 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineinherited | 
Check whether this event-weight factor is valid.
Definition at line 115 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineinherited | 
Get weight-factor of given event.
| evt | event | 
Definition at line 143 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineinherited | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 154 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineinherited | 
Get properties of this class.
| eqpars | equation parameters | 
Definition at line 167 of file JEvtWeightFactorHelper.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.