Reweighter of NA61 pip Interactions. More...
#include <ThinTargetpipCReweighter.h>
Public Member Functions | |
ThinTargetpipCReweighter (int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars) | |
virtual | ~ThinTargetpipCReweighter () |
virtual bool | canReweight (const InteractionData &aa) |
can the particular instance of this class reweight this interaction? More... | |
virtual double | calculateWeight (const InteractionData &aa) |
calculate a weight for this interaction given the central value parameters and the parameters for this universe. The weight is something like: f(cv)/f(MC) * f(univ)/f(cv) where cv in this case corresponds to the best value of the parameter, given the data. If univ_pars=cv_pars then we are calculating a central value weight More... | |
Public Member Functions inherited from NeutrinoFluxReweight::IInteractionReweighting | |
virtual | ~IInteractionReweighting () |
Private Attributes | |
int | iUniv |
const ParameterTable & | cvPars |
const ParameterTable & | univPars |
Reweighter of NA61 pip Interactions.
Definition at line 19 of file ThinTargetpipCReweighter.h.
NeutrinoFluxReweight::ThinTargetpipCReweighter::ThinTargetpipCReweighter | ( | int | iuniv, |
const ParameterTable & | cv_pars, | ||
const ParameterTable & | univ_pars | ||
) |
Definition at line 7 of file ThinTargetpipCReweighter.cpp.
|
virtual |
Definition at line 16 of file ThinTargetpipCReweighter.cpp.
|
virtual |
calculate a weight for this interaction given the central value parameters and the parameters for this universe. The weight is something like: f(cv)/f(MC) * f(univ)/f(cv) where cv in this case corresponds to the best value of the parameter, given the data. If univ_pars=cv_pars then we are calculating a central value weight
Implements NeutrinoFluxReweight::IInteractionReweighting.
Definition at line 26 of file ThinTargetpipCReweighter.cpp.
|
virtual |
can the particular instance of this class reweight this interaction?
Implements NeutrinoFluxReweight::IInteractionReweighting.
Definition at line 19 of file ThinTargetpipCReweighter.cpp.
|
private |
Definition at line 29 of file ThinTargetpipCReweighter.h.
|
private |
Definition at line 28 of file ThinTargetpipCReweighter.h.
|
private |
Definition at line 30 of file ThinTargetpipCReweighter.h.