ThinTargetpipCReweighter.cpp
Go to the documentation of this file.
2 #include <iostream>
3 #include "ThinTargetBins.h"
4 
5 namespace NeutrinoFluxReweight{
6 
7  ThinTargetpipCReweighter::ThinTargetpipCReweighter(int iuniv, const ParameterTable& cv_pars, const ParameterTable& univ_pars):iUniv(iuniv),cvPars(cv_pars),univPars(univ_pars){
8 
10 
11 
12  //1 incident particles, 8 produced particles:
13 
14  }
15 
17 
18  }
20 
21 
22  return false;
23 
24  }
25 
27 
28  double wgt = 1.0;
29 
30  return wgt;
31 
32  }
33 
34 
35 }
virtual double calculateWeight(const InteractionData &aa)
calculate a weight for this interaction given the central value parameters and the parameters for thi...
A class to manage the bin definitions for MIPP Numi Yields.
A list/table of parameter names and values.
virtual bool canReweight(const InteractionData &aa)
can the particular instance of this class reweight this interaction?
The information about a hadronic interaction needed to calculate weights.
ThinTargetpipCReweighter(int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars)
static ThinTargetBins * getInstance()