#include <IInteractionChainReweighting.h>
Public Member Functions | |
virtual | ~IInteractionChainReweighting () |
virtual std::vector< bool > | canReweight (const InteractionChainData &)=0 |
Look through the InteractionChainData input and identify those Interactions that can be reweighted as part of a chain. We return a vector indicating which elements will be assigned a weight by calculateWeight. More... | |
virtual double | calculateWeight (const InteractionChainData &)=0 |
calculate a weight for this interaction chain 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. Note, canReweight() should be called to determine which elements of the chain are covered by the weight returned by calculateWeight() More... | |
Definition at line 17 of file IInteractionChainReweighting.h.
|
inlinevirtual |
Definition at line 20 of file IInteractionChainReweighting.h.
|
pure virtual |
calculate a weight for this interaction chain 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. Note, canReweight() should be called to determine which elements of the chain are covered by the weight returned by calculateWeight()
Implemented in NeutrinoFluxReweight::AbsorptionDPIPReweighter, NeutrinoFluxReweight::AbsorptionDVOLReweighter, NeutrinoFluxReweight::AbsorptionICReweighter, NeutrinoFluxReweight::NucleonAbsorptionOutOfTargetReweighter, NeutrinoFluxReweight::OtherAbsorptionOutOfTargetReweighter, NeutrinoFluxReweight::TargetAttenuationReweighter, NeutrinoFluxReweight::MIPPNumiKaonYieldsReweighter, and NeutrinoFluxReweight::MIPPNumiPionYieldsReweighter.
|
pure virtual |
Look through the InteractionChainData input and identify those Interactions that can be reweighted as part of a chain. We return a vector indicating which elements will be assigned a weight by calculateWeight.
Implemented in NeutrinoFluxReweight::AbsorptionDPIPReweighter, NeutrinoFluxReweight::TargetAttenuationReweighter, NeutrinoFluxReweight::AbsorptionDVOLReweighter, NeutrinoFluxReweight::AbsorptionICReweighter, NeutrinoFluxReweight::NucleonAbsorptionOutOfTargetReweighter, NeutrinoFluxReweight::OtherAbsorptionOutOfTargetReweighter, NeutrinoFluxReweight::MIPPNumiKaonYieldsReweighter, and NeutrinoFluxReweight::MIPPNumiPionYieldsReweighter.