ThinTargetnCPionReweighter.h
Go to the documentation of this file.
1 
2 #ifndef THINTARGETNCPIONREWEIGHTER_H
3 #define THINTARGETNCPIONREWEIGHTER_H
4 
7 
8 #include <vector>
9 
10 #if defined __clang__
11  #pragma clang diagnostic push
12  #pragma clang diagnostic ignored "-Wunused-private-field"
13 #endif
14 namespace NeutrinoFluxReweight{
15 
16  /*! \class ThinTargetnCPionReweighter
17  * \brief Reweighter of thin target nC interactions
18  */
19 
21  public:
22  ThinTargetnCPionReweighter(int iuniv, const ParameterTable& cv_pars, const ParameterTable& univ_pars);
24  virtual bool canReweight(const InteractionData& aa);
25  virtual double calculateWeight(const InteractionData& aa);
26 
27 
28  private:
29  int iUniv;
32 
34  // InteractionData* aux_aa;
35 
36  };
37 
38 
39 }
40 #if defined __clang__
41  #pragma clang diagnostic pop
42 #endif
43 
44 #endif
A list/table of parameter names and values.
ThinTargetnCPionReweighter(int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars)
Reweighter of thin target nC interactions.
Reweighter of thin target pion production.
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...
virtual bool canReweight(const InteractionData &aa)
can the particular instance of this class reweight this interaction?