Look-up table for event weighters.
More...
#include <JEvtWeightToolkit.hh>
Look-up table for event weighters.
Definition at line 51 of file JEvtWeightToolkit.hh.
◆ JEvtWeighter()
JAANET::JEvtWeighter::JEvtWeighter |
( |
| ) |
|
|
inline |
Constructor.
Definition at line 57 of file JEvtWeightToolkit.hh.
Implementation of event weighting for Corsika data.
Implementation of event weighing for DAQ data.
Implementation of event weighting for GSeaGen data.
Implementation of event weighting for Genhen data.
Implementation of event weighting for KM3BUU data.
Implementation of event weighing for miscellaneous data such as a merged offline file containing neut...
Implementation of event weighing for MUPAGE data.
◆ operator()()
const JEvtWeight& JAANET::JEvtWeighter::operator() |
( |
const JHead & |
header | ) |
const |
|
inline |
Get event weighter corresponding to given header.
- Parameters
-
- Returns
- event weighter
Definition at line 75 of file JEvtWeightToolkit.hh.
80 for (const_iterator i = this->begin(); i != this->end(); ++i) {
82 if ((*i)->check(header)) {
87 THROW(
JValueOutOfRange,
"JEvtWeighter::operator(): No event weighter found for given header:" << endl << header);
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Exception for accessing a value in a collection that is outside of its range.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
The documentation for this struct was generated from the following file: