1#ifndef __JAANET__JEVTWEIGHTFACTORDICTIONARY__
2#define __JAANET__JEVTWEIGHTFACTORDICTIONARY__
34 public std::map<int, JEvtWeightFactorHelper>
64 for (JFluxDictionary::const_iterator i = fluxdict.cbegin(); i != fluxdict.cend(); ++i) {
69 this->insert(make_pair(
MUPAGE_TFORMULA, make_shared<JEvtWeightFactorMupage>()));
70 this->insert(make_pair(
GSEAGEN_TFORMULA, make_shared<JEvtWeightFactorGSeaGen>()));
71 this->insert(make_pair(
MEFF_RATIO, make_shared<JEvtWeightFactorTriggerEfficiencyRatio>()));
93 const_iterator i = this->find(identifier);
95 if (i != this->cend()) {
110 return this->
at(identifier);
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Dictionary to map distinct event-weight factors to unique identifiers.
JEvtWeightFactorDictionary()
Default constructor.
JEvtWeightFactorDictionary(const JOscProbHelper &oscProb)
Default constructor.
const JEvtWeightFactor & at(const int identifier) const
Look-up function.
const JEvtWeightFactor & operator[](const int identifier) const
Look-up operator.
factors
Indices of event-weight factors in event-weight factor dictionary.
@ CUSTOM_FACTORS_BEGIN
Start of custom event-weight factors.
@ CUSTOM_FACTORS_END
End of custom event-weight factors.
@ CONSTANT
Constant event-weight factor.
@ MUPAGE_TFORMULA
MUPAGE TFormula-based event-weight factor.
@ GSEAGEN_TFORMULA
gSeaGen TFormula-based event-weight factor
@ MEFF_RATIO
Effective mass ratio.
Dictionary to map distinct flux function categories to unique identifiers.
Exception for accessing a value in a collection that is outside of its range.
Extensions to Evt data format.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Class for constant event-weight factors.
Abstract base class for specifiable event-weight factors.
Helper class for oscillation probability calculators.