ThinTargetnucleonAReweighter.h
Go to the documentation of this file.
1 
2 #ifndef THINTARGETNUCLEONAREWEIGHTER_H
3 #define THINTARGETNUCLEONAREWEIGHTER_H
4 
9 
10 #include <vector>
11 
12 #if defined __clang__
13  #pragma clang diagnostic push
14  #pragma clang diagnostic ignored "-Wunused-private-field"
15 #endif
16 namespace NeutrinoFluxReweight{
17 
18  /*! \class ThinTargetnucleonAReweighter
19  * \brief Reweighter of thin target nucleonA interactions
20  */
21 
23  public:
24  ThinTargetnucleonAReweighter(int iuniv, const ParameterTable& cv_pars, const ParameterTable& univ_pars);
26  virtual bool canReweight(const InteractionData& aa);
27  virtual double calculateWeight(const InteractionData& aa);
29  double data_prod_xs;
33  private:
34  int iUniv;
37 
41 
42  // InteractionData* aux_aa;
43 
44  };
45 
46 
47 }
48 #if defined __clang__
49  #pragma clang diagnostic pop
50 #endif
51 
52 #endif
A list/table of parameter names and values.
Reweighter of thin target nucleonA interactions.
Reweighter of thin target nC interactions.
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.
ThinTargetnucleonAReweighter(int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars)
The information about a hadronic interaction needed to calculate weights.
virtual bool canReweight(const InteractionData &aa)
can the particular instance of this class reweight this interaction?