29 class JEvtWeightFactorUndefined
final :
37 JEvtWeightFactorUndefined()
47 double getFactor(
const Evt& evt)
const override final
51 THROW(
JNoValue,
"JEvtWeightFactorUndefined::getFactor(): No weight defined.");
62 return JEvtWeightFactorUndefinedHelper(*
this,
eqpars);
73 return JEvtWeightFactorUndefinedHelper(*
this,
eqpars);
82 struct JEvtWeightFactorUndefinedHelper :
91 template<
class JEvtWeightFactorUndefined_t>
96 (*this)[JEvtWeightFactor::getTypeKey()] =
"undefined";
132 catch(
const exception& error) {
139 if (
scanners.setEvtWeightFactor(factors) == 0) {
152 if (p ==
NULL) {
continue; }
172 "======================================================" <<
endl);
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
General purpose messaging.
#define DEBUG(A)
Message macros.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
I/O formatting auxiliaries.
ROOT TTree parameter settings of various packages.
Template specialisation for a map between event categories and event-weight factor products.
const JOscProbHelper & getOscProb() const
Get oscillation probability calculator.
const JHead & getHeader() const
Get header.
Utility class to parse parameter values.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
Exception for missing value.
Template definition of a multi-dimensional oscillation probability interpolation table.
JEvtCategorySet getCategories(const JHead &header)
Auxiliary method to retrieve the unique event categories corresponding to a MC header.
JProperties & getProperties(T &object, const JEquationParameters ¶meters=JEquationParameters(), const int debug=1)
Get properties of a given object.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
Container for a set of event categories.
Helper class for event-weight factor.
Abstract base class for event weighing.
Template class for object cloning.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class for organising Monte Carlo file scanners associated with event weighters.
Auxiliary base class for list of file names.