#include <IInteractionReweighting.h>
Public Member Functions | |
virtual | ~IInteractionReweighting () |
virtual bool | canReweight (const InteractionData &aa)=0 |
can the particular instance of this class reweight this interaction? More... | |
virtual double | calculateWeight (const InteractionData &inter_data)=0 |
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... | |
Definition at line 15 of file IInteractionReweighting.h.
|
inlinevirtual |
Definition at line 17 of file IInteractionReweighting.h.
|
pure 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
Implemented in NeutrinoFluxReweight::ThinTargetnucleonAReweighter, NeutrinoFluxReweight::ThinTargetnCPionReweighter, NeutrinoFluxReweight::OtherReweighter, NeutrinoFluxReweight::ThinTargetMesonIncidentReweighter, NeutrinoFluxReweight::ThinTargetpipCReweighter, NeutrinoFluxReweight::ThinTargetpCPionReweighter, NeutrinoFluxReweight::ThinTargetpCKaonReweighter, and NeutrinoFluxReweight::ThinTargetpCNucleonReweighter.
|
pure virtual |
can the particular instance of this class reweight this interaction?
Implemented in NeutrinoFluxReweight::ThinTargetnucleonAReweighter, NeutrinoFluxReweight::ThinTargetnCPionReweighter, NeutrinoFluxReweight::OtherReweighter, NeutrinoFluxReweight::ThinTargetMesonIncidentReweighter, NeutrinoFluxReweight::ThinTargetpipCReweighter, NeutrinoFluxReweight::ThinTargetpCPionReweighter, NeutrinoFluxReweight::ThinTargetpCKaonReweighter, and NeutrinoFluxReweight::ThinTargetpCNucleonReweighter.