4 #include "nugen/NuReweight/art/NuReweight.h"
5 #include "nusimdata/SimulationBase/MCFlux.h"
6 #include "nusimdata/SimulationBase/MCTruth.h"
9 #include "art/Framework/Principal/Event.h"
17 #include "TDecompChol.h"
28 CLHEP::HepRandomEngine& engine)
override;
34 std::vector<float>
GetWeight(art::Event&
e,
size_t inu)
override;
45 std::pair<bool, double>
PHNWeightCalc (simb::MCFlux flux,
float rand);
46 std::pair<bool, double>
PHFSWeightCalc (simb::MCFlux flux, std::vector<float> rand);
47 std::pair<bool, double>
PHSWWeightCalc (simb::MCFlux flux, std::vector<float> rand);
48 std::pair<bool, double>
PHSWCSVWeightCalc(simb::MCFlux flux, std::vector<float> rand);
63 double fCV[4][4][200];
#define DECLARE_WEIGHTCALC(wghcalc)
std::vector< double > FitVal
std::vector< double > HARPmomentumBounds
std::string fGeneratorModuleLabel
std::pair< bool, double > PHSWCSVWeightCalc(simb::MCFlux flux, std::vector< float > rand)
double UnisimWeightCalc(double enu, int ptype, int ntype, double randomN, bool noNeg)
std::pair< bool, double > PHSWWeightCalc(simb::MCFlux flux, std::vector< float > rand)
std::vector< double > SWParam
std::vector< double > ConvertToVector(TArrayD const *array)
std::vector< double > HARPthetaBounds
void Configure(fhicl::ParameterSet const &p, CLHEP::HepRandomEngine &engine) override
std::pair< bool, double > PHNWeightCalc(simb::MCFlux flux, float rand)
std::pair< bool, double > PHFSWeightCalc(simb::MCFlux flux, std::vector< float > rand)
std::vector< int > fprimaryHad
std::vector< float > GetWeight(art::Event &e, size_t inu) override