18 #include "dk2nu/tree/dkmeta.h" 19 #include "dk2nu/tree/dk2nu.h" void doTheJob(InteractionChainData *icd)
std::vector< double > GetWeights(std::string nameReweighter)
get the vector of the weights for a given reweighter
A class to make the reweight event by event.
double GetCVWeight()
get the cv weights
Information about the chain of interactions leading to a neutrino.
static MakeReweight * getInstance()
A class to manage and drive the weight calculation procedure.
std::vector< ParameterTable > cvPars
int GetNumberOfUniversesUsed()
number of universes used in this run
static MakeReweight * instance
std::string mippCorrOption
static void resetInstance()
void calculateWeights(nu_g4numi *nu, const char *tgtcfg, const char *horncfg)
std::vector< ReweightDriver * > vec_rws
vector of Reweighter Drivers, one per universe
std::map< std::string, std::vector< double > > map_rew_wgts
std::vector< ParameterTable > univPars
ReweightDriver * cv_rw
Reweighter Drivers for the central value.
std::vector< double > vec_wgts
std::vector< double > GetTotalWeights()
total weights
void SetOptions(std::string fileIn)