ThinTargetpCKaonReweighter.h
Go to the documentation of this file.
1 
2 #ifndef THINTARGETPCKAONREWEIGHTER_H
3 #define THINTARGETPCKAONREWEIGHTER_H
4 
7 
8 #include <vector>
9 
10 namespace NeutrinoFluxReweight{
11 
12  /*! \class ThinTargetpCKaonReweighter
13  * \brief Reweighter of thin target K production
14  */
15 
17  public:
18  ThinTargetpCKaonReweighter(int iuniv, const ParameterTable& cv_pars, const ParameterTable& univ_pars);
20  virtual bool canReweight(const InteractionData& aa);
21  virtual double calculateWeight(const InteractionData& aa);
22 
23  double data_prod_xs;
24  std::vector<float> vbin_data_kap,vbin_data_kam;
26  double calculateDataScale(int inc_pdg, double inc_mom, int prod_pdg,double xf, double pt);
27 
28  private:
29  int iUniv;
33  // InteractionData* aux_aa;
34 
35  };
36 
37 
38 }
39 #endif
A list/table of parameter names and values.
virtual double calculateWeight(const InteractionData &aa)
calculate a weight for this interaction given the central value parameters and the parameters for thi...
Reweighter of thin target pion production.
The information about a hadronic interaction needed to calculate weights.
ThinTargetpCKaonReweighter(int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars)
virtual bool canReweight(const InteractionData &aa)
can the particular instance of this class reweight this interaction?
double calculateDataScale(int inc_pdg, double inc_mom, int prod_pdg, double xf, double pt)