Reweighter of no thin target and no MIPP interactions. More...
#include <OtherReweighter.h>
Public Member Functions | |
OtherReweighter (int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars) | |
virtual | ~OtherReweighter () |
virtual bool | canReweight (const InteractionData &aa) |
can the particular instance of this class reweight this interaction? More... | |
virtual double | calculateWeight (const InteractionData &inter_data) |
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 () |
Public Attributes | |
const ParameterTable & | cvPars |
const ParameterTable & | univPars |
Private Attributes | |
int | iUniv |
float | inel_A_scaling |
Reweighter of no thin target and no MIPP interactions.
Definition at line 19 of file OtherReweighter.h.
NeutrinoFluxReweight::OtherReweighter::OtherReweighter | ( | int | iuniv, |
const ParameterTable & | cv_pars, | ||
const ParameterTable & | univ_pars | ||
) |
Definition at line 7 of file OtherReweighter.cpp.
|
virtual |
Definition at line 14 of file OtherReweighter.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 OtherReweighter.cpp.
|
virtual |
can the particular instance of this class reweight this interaction?
Implements NeutrinoFluxReweight::IInteractionReweighting.
Definition at line 17 of file OtherReweighter.cpp.
const ParameterTable& NeutrinoFluxReweight::OtherReweighter::cvPars |
Definition at line 26 of file OtherReweighter.h.
|
private |
Definition at line 31 of file OtherReweighter.h.
|
private |
Definition at line 30 of file OtherReweighter.h.
const ParameterTable& NeutrinoFluxReweight::OtherReweighter::univPars |
Definition at line 27 of file OtherReweighter.h.