Low-level interface for event weighing.
More...
#include <JEvtWeightInterface.hh>
Low-level interface for event weighing.
Definition at line 22 of file JEvtWeightInterface.hh.
◆ getName()
virtual const char* const JAANET::JEvtWeightInterface::getName |
( |
| ) |
const |
|
pure virtual |
◆ configure()
virtual void JAANET::JEvtWeightInterface::configure |
( |
const JHead & |
header | ) |
|
|
pure virtual |
Configuration.
- Parameters
-
◆ check()
virtual bool JAANET::JEvtWeightInterface::check |
( |
const JHead & |
header | ) |
const |
|
pure virtual |
Check whether header is consistent with this event weighter.
- Parameters
-
- Returns
- true if consistent; else false
◆ getWeight()
virtual double JAANET::JEvtWeightInterface::getWeight |
( |
const Evt & |
evt | ) |
const |
|
pure virtual |
Get weight of given event.
- Parameters
-
- Returns
- weight [Hz]
◆ getNormalisation()
virtual double JAANET::JEvtWeightInterface::getNormalisation |
( |
| ) |
const |
|
pure virtual |
Get event-weight normalisation factor.
Note: the return-value should be multiplied in order to normalise the event-weight
- Returns
- event-weight normalisation factor.
Implemented in JAANET::JEvtWeight.
◆ setNormalisation()
virtual void JAANET::JEvtWeightInterface::setNormalisation |
( |
const double |
normalisation | ) |
|
|
pure virtual |
Set event-weight normalisation factor.
Note: the set-value should be multiplied in order to normalise the event-weight
- Parameters
-
normalisation | event-weight normalisation factor. |
Implemented in JAANET::JEvtWeight.
The documentation for this struct was generated from the following file: