|
Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
|
Low-level interface for event weighing. More...
#include <JEvtWeightInterface.hh>
Public Member Functions | |
| virtual const char *const | getName () const =0 |
| Get name. | |
| virtual void | configure (const JHead &header)=0 |
| Configuration. | |
| virtual bool | check (const JHead &header) const =0 |
| Check whether header is consistent with this event weighter. | |
| virtual double | getWeight (const Evt &evt) const =0 |
| Get weight of given event. | |
| virtual double | getNormalisation () const =0 |
| Get event-weight normalisation factor. | |
| virtual void | setNormalisation (const double normalisation)=0 |
| Set event-weight normalisation factor. | |
Low-level interface for event weighing.
Definition at line 22 of file JEvtWeightInterface.hh.
Get name.
Configuration.
| header | header |
Check whether header is consistent with this event weighter.
| header | header |
Get weight of given event.
| evt | event |
Get event-weight normalisation factor.
Note: the return-value should be multiplied in order to normalise the event-weight
Implemented in JAANET::JEvtWeight.
|
pure virtual |
Set event-weight normalisation factor.
Note: the set-value should be multiplied in order to normalise the event-weight
| normalisation | event-weight normalisation factor. |
Implemented in JAANET::JEvtWeight.