Public Member Functions | List of all members
NeutrinoFluxReweight::IInteractionChainReweighting Class Referenceabstract

#include <IInteractionChainReweighting.h>

Inheritance diagram for NeutrinoFluxReweight::IInteractionChainReweighting:
NeutrinoFluxReweight::AbsorptionDPIPReweighter NeutrinoFluxReweight::AbsorptionDVOLReweighter NeutrinoFluxReweight::AbsorptionICReweighter NeutrinoFluxReweight::MIPPNumiKaonYieldsReweighter NeutrinoFluxReweight::MIPPNumiPionYieldsReweighter NeutrinoFluxReweight::NucleonAbsorptionOutOfTargetReweighter NeutrinoFluxReweight::OtherAbsorptionOutOfTargetReweighter NeutrinoFluxReweight::TargetAttenuationReweighter

Public Member Functions

virtual ~IInteractionChainReweighting ()
 
virtual std::vector< boolcanReweight (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...
 

Detailed Description

Definition at line 17 of file IInteractionChainReweighting.h.

Constructor & Destructor Documentation

virtual NeutrinoFluxReweight::IInteractionChainReweighting::~IInteractionChainReweighting ( )
inlinevirtual

Definition at line 20 of file IInteractionChainReweighting.h.

20 {};

Member Function Documentation

virtual double NeutrinoFluxReweight::IInteractionChainReweighting::calculateWeight ( const InteractionChainData )
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.

virtual std::vector<bool> NeutrinoFluxReweight::IInteractionChainReweighting::canReweight ( const InteractionChainData )
pure virtual

The documentation for this class was generated from the following file: