Jpp  19.0.0
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 namespace JPP { using namespace JAANET; }
15 
16 namespace JAANET {
17 
18  using JLANG::JClonable;
19 
20 
21  /**
22  * Low-level interface for retrieving a specifiable multiplication factor\n
23  * corresponding to a given event.
24  */
26  public JClonable<JEvtWeightFactor>
27  {
28  /**
29  * Virtual destructor.
30  */
32  {}
33 
34 
35  /**
36  * Get multiplication factor of given event.
37  *
38  * \param evt event
39  * \return multiplication factor
40  */
41  virtual double getFactor(const Evt& evt) const = 0;
42  };
43 }
44 
45 #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