ThinTargetMesonIncidentReweighter.h
Go to the documentation of this file.
1 
2 #ifndef THINTARGETMESONINCIDENTREWEIGHTER_H
3 #define THINTARGETMESONINCIDENTREWEIGHTER_H
4 
6 
7 #include <vector>
8 
9 #if defined __clang__
10  #pragma clang diagnostic push
11  #pragma clang diagnostic ignored "-Wunused-private-field"
12 #endif
13 namespace NeutrinoFluxReweight{
14 
15  /*! \class ThinTargetMesonIncidentReweighter
16  * \brief Reweighter of thin target meson production
17  */
18 
20  public:
21  ThinTargetMesonIncidentReweighter(int iuniv, const ParameterTable& cv_pars, const ParameterTable& univ_pars);
23  virtual bool canReweight(const InteractionData& aa);
24  virtual double calculateWeight(const InteractionData& aa);
25 
32  private:
33  int iUniv;
36 
37  };
38 
39 
40 }
41 #if defined __clang__
42  #pragma clang diagnostic pop
43 #endif
44 
45 #endif
A list/table of parameter names and values.
The information about a hadronic interaction needed to calculate weights.
virtual double calculateWeight(const InteractionData &aa)
calculate a weight for this interaction given the central value parameters and the parameters for thi...
ThinTargetMesonIncidentReweighter(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?