OtherReweighter.h
Go to the documentation of this file.
1 
2 #ifndef OTHERTREWEIGHTER_H
3 #define OTHERTREWEIGHTER_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 OtherReweighter
16  * \brief Reweighter of no thin target and no MIPP interactions
17  */
18 
20  public:
21  OtherReweighter(int iuniv, const ParameterTable& cv_pars, const ParameterTable& univ_pars);
22  virtual ~OtherReweighter();
23  virtual bool canReweight(const InteractionData& aa);
24  virtual double calculateWeight(const InteractionData& inter_data);
25 
28 
29  private:
30  int iUniv;
32  };
33 
34 
35 }
36 #if defined __clang__
37  #pragma clang diagnostic pop
38 #endif
39 
40 #endif
A list/table of parameter names and values.
virtual double calculateWeight(const InteractionData &inter_data)
calculate a weight for this interaction given the central value parameters and the parameters for thi...
Reweighter of no thin target and no MIPP interactions.
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.
OtherReweighter(int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars)