Reweight a chain of interactions that are covered by the NuMI target K/pi ratios measured by MIPP. More...
#include <MIPPNumiKaonYieldsReweighter.h>
Public Member Functions | |
MIPPNumiKaonYieldsReweighter (int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars) | |
virtual | ~MIPPNumiKaonYieldsReweighter () |
virtual std::vector< bool > | canReweight (const InteractionChainData &aa) |
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 &aa) |
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... | |
Public Member Functions inherited from NeutrinoFluxReweight::IInteractionChainReweighting | |
virtual | ~IInteractionChainReweighting () |
Public Attributes | |
const ParameterTable & | cvPars |
const ParameterTable & | univPars |
Private Attributes | |
int | iUniv |
float | prt_no_inter |
std::vector< float > | vbin_datacv_pip |
std::vector< float > | vbin_datacv_pim |
std::vector< float > | vbin_datasys_pip |
std::vector< float > | vbin_datasys_pim |
std::vector< float > | vbin_datasta_pip |
std::vector< float > | vbin_datasta_pim |
std::vector< float > | vbin_datacv_kap_pip |
std::vector< float > | vbin_datacv_kam_pim |
std::vector< float > | vbin_datasys_kap_pip |
std::vector< float > | vbin_datasys_kam_pim |
std::vector< float > | vbin_datasta_kap_pip |
std::vector< float > | vbin_datasta_kam_pim |
float | aux_par |
Reweight a chain of interactions that are covered by the NuMI target K/pi ratios measured by MIPP.
Definition at line 15 of file MIPPNumiKaonYieldsReweighter.h.
NeutrinoFluxReweight::MIPPNumiKaonYieldsReweighter::MIPPNumiKaonYieldsReweighter | ( | int | iuniv, |
const ParameterTable & | cv_pars, | ||
const ParameterTable & | univ_pars | ||
) |
The constructor. Note, we pass central value and single universe parameters in this constructor only. There is thus a 1 to 1 correspondence between an instance of this class and a given universe.
Definition at line 11 of file MIPPNumiKaonYieldsReweighter.cpp.
|
virtual |
Definition at line 83 of file MIPPNumiKaonYieldsReweighter.cpp.
|
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()
Implements NeutrinoFluxReweight::IInteractionChainReweighting.
Definition at line 135 of file MIPPNumiKaonYieldsReweighter.cpp.
|
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.
Implements NeutrinoFluxReweight::IInteractionChainReweighting.
Definition at line 86 of file MIPPNumiKaonYieldsReweighter.cpp.
|
private |
Definition at line 35 of file MIPPNumiKaonYieldsReweighter.h.
const ParameterTable& NeutrinoFluxReweight::MIPPNumiKaonYieldsReweighter::cvPars |
Definition at line 27 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 31 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 32 of file MIPPNumiKaonYieldsReweighter.h.
const ParameterTable& NeutrinoFluxReweight::MIPPNumiKaonYieldsReweighter::univPars |
Definition at line 28 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 34 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 34 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 33 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 33 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 34 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 34 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 33 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 33 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 34 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 34 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 33 of file MIPPNumiKaonYieldsReweighter.h.
|
private |
Definition at line 33 of file MIPPNumiKaonYieldsReweighter.h.