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