Jpp  17.3.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JEvtWeightFactor.hh
Go to the documentation of this file.
1 #ifndef __JAANET__JEVTWEIGHTFACTOR__
2 #define __JAANET__JEVTWEIGHTFACTOR__
3 
5 
6 #include "JLang/JClonable.hh"
7 
8 
9 /**
10  * \author bjung
11  */
12 
13 namespace JAANET {
14 
15  using JLANG::JClonable;
16 
17 
18  /**
19  * Low-level interface for retrieving a specifiable multiplication factor\n
20  * corresponding to a given event.
21  */
23  public JClonable<JEvtWeightFactor>
24  {
25  /**
26  * Virtual destructor.
27  */
29  {}
30 
31 
32  /**
33  * Get multiplication factor of given event.
34  *
35  * \param evt event
36  * \return multiplication factor
37  */
38  virtual double getFactor(const Evt& evt) const = 0;
39  };
40 }
41 
42 #endif
virtual double getFactor(const Evt &evt) const =0
Get multiplication factor of given event.
virtual ~JEvtWeightFactor()
Virtual destructor.
Template class for object cloning.
Definition: JClonable.hh:20
Low-level interface for retrieving a specifiable multiplication factor corresponding to a given event...
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
Definition: Evt.hh:20