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

#include <IInteractionReweighting.h>

Inheritance diagram for NeutrinoFluxReweight::IInteractionReweighting:
NeutrinoFluxReweight::OtherReweighter NeutrinoFluxReweight::ThinTargetMesonIncidentReweighter NeutrinoFluxReweight::ThinTargetnCPionReweighter NeutrinoFluxReweight::ThinTargetnucleonAReweighter NeutrinoFluxReweight::ThinTargetpCKaonReweighter NeutrinoFluxReweight::ThinTargetpCNucleonReweighter NeutrinoFluxReweight::ThinTargetpCPionReweighter NeutrinoFluxReweight::ThinTargetpipCReweighter

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...
 

Detailed Description

Definition at line 15 of file IInteractionReweighting.h.

Constructor & Destructor Documentation

virtual NeutrinoFluxReweight::IInteractionReweighting::~IInteractionReweighting ( )
inlinevirtual

Definition at line 17 of file IInteractionReweighting.h.

17 {};

Member Function Documentation

virtual double NeutrinoFluxReweight::IInteractionReweighting::calculateWeight ( const InteractionData inter_data)
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.

virtual bool NeutrinoFluxReweight::IInteractionReweighting::canReweight ( const InteractionData aa)
pure virtual

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