1#ifndef AMPGEN_CHI2ESTIMATOR_H
2#define AMPGEN_CHI2ESTIMATOR_H
30 template <
typename... argument_types>
31 Chi2Estimator(
const EventList_type& dataEvents,
const EventList_type& mcEvents,
32 const std::function<
double(
const Event& )>&
fcn,
33 const argument_types&... args ) : m_binning(dataEvents.begin(), dataEvents.end(),
ArgumentPack(args...) )
41 void doChi2(
const EventList_type& dataEvents,
const EventList_type& mcEvents,
42 const std::function<
double(
const Event& )>&
fcn );
Container for a set of arguments Contains a set of arguments packed from a variadic constructor,...
Chi2Estimator(const EventList_type &dataEvents, const EventList_type &mcEvents, const std::function< double(const Event &)> &fcn, const argument_types &... args)
void doChi2(const EventList_type &dataEvents, const EventList_type &mcEvents, const std::function< double(const Event &)> &fcn)
void writeBinningToFile(const std::string &filename)
Encapsulates the final state particles of a single event.
Deals with final state configuration of events, specifically dealing with the ordering of particles i...