A class to manage and drive the weight calculation procedure. More...
#include <ReweightDriver.h>
Public Member Functions | |
ReweightDriver (int iuniv, const ParameterTable &cv_pars, const ParameterTable &univ_pars, std::string fileIn) | |
~ReweightDriver () | |
double | calculateWeight (const InteractionChainData &icd) |
Private Member Functions | |
void | Configure () |
void | ParseOptions () |
Private Attributes | |
int | iUniv |
const ParameterTable & | cvPars |
const ParameterTable & | univPars |
std::string | fileOptions |
A class to manage and drive the weight calculation procedure.
There is a one-to-one correspondence between ReweightDrivers and universes.
Definition at line 33 of file ReweightDriver.h.
NeutrinoFluxReweight::ReweightDriver::ReweightDriver | ( | int | iuniv, |
const ParameterTable & | cv_pars, | ||
const ParameterTable & | univ_pars, | ||
std::string | fileIn | ||
) |
the constructor
Definition at line 9 of file ReweightDriver.cpp.
NeutrinoFluxReweight::ReweightDriver::~ReweightDriver | ( | ) |
Definition at line 263 of file ReweightDriver.cpp.
double NeutrinoFluxReweight::ReweightDriver::calculateWeight | ( | const InteractionChainData & | icd | ) |
Calculate weight for this event, given a set of central value parameters and a set of randomly varied parameters corresponding to the universe that this ReweightDriver is responsible for.
--— PROCESS INTERACTION NODES --— ///
Definition at line 56 of file ReweightDriver.cpp.
|
private |
Configures each of the reweighing tools.
Definition at line 17 of file ReweightDriver.cpp.
|
private |
Parse the option to select which reweighter use
Definition at line 43 of file ReweightDriver.cpp.
double NeutrinoFluxReweight::ReweightDriver::abs_dpip_wgt |
Definition at line 65 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::abs_dvol_wgt |
Definition at line 66 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::abs_ic_wgt |
Absorption weight
Definition at line 64 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::abs_nucleon_wgt |
Definition at line 67 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::abs_other_wgt |
Definition at line 68 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::att_wgt |
Target attenuation weight
Definition at line 61 of file ReweightDriver.h.
|
private |
Definition at line 123 of file ReweightDriver.h.
bool NeutrinoFluxReweight::ReweightDriver::doMIPPNumi |
Definition at line 111 of file ReweightDriver.h.
|
private |
Definition at line 126 of file ReweightDriver.h.
|
private |
Definition at line 122 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::meson_inc_wgt |
Meson incident weights
Definition at line 87 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::mipp_kaon_wgt |
MIPP NuMI kaons yield weight
Definition at line 58 of file ReweightDriver.h.
MIPPNumiKaonYieldsReweighter* NeutrinoFluxReweight::ReweightDriver::MIPP_NUMI_KAON_Universe |
Definition at line 93 of file ReweightDriver.h.
MIPPNumiPionYieldsReweighter* NeutrinoFluxReweight::ReweightDriver::MIPP_NUMI_PION_Universe |
Definition at line 92 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::mipp_pion_wgt |
MIPP NuMI yield weight
Definition at line 55 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::nC_pi_wgt |
Thin target neutron on carbon producing pions weights
Definition at line 78 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::nuA_wgt |
nuA
Definition at line 84 of file ReweightDriver.h.
OtherReweighter* NeutrinoFluxReweight::ReweightDriver::OTHER_Universe |
Definition at line 108 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::other_wgt |
Any other hadronic interaction not corrected yet
Definition at line 90 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::pC_k_wgt |
Thin target proton on carbon producing kaons weights
Definition at line 75 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::pC_nu_wgt |
Thin target proton on carbon producing nucleons weights
Definition at line 81 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::pC_pi_wgt |
Thin target proton on carbon producing pions weights
Definition at line 72 of file ReweightDriver.h.
TargetAttenuationReweighter* NeutrinoFluxReweight::ReweightDriver::TARG_ATT_Universe |
Definition at line 94 of file ReweightDriver.h.
ThinTargetMesonIncidentReweighter* NeutrinoFluxReweight::ReweightDriver::THINTARGET_MESON_INCIDENT_Universe |
Definition at line 104 of file ReweightDriver.h.
ThinTargetnCPionReweighter* NeutrinoFluxReweight::ReweightDriver::THINTARGET_NC_PION_Universe |
Definition at line 102 of file ReweightDriver.h.
ThinTargetnucleonAReweighter* NeutrinoFluxReweight::ReweightDriver::THINTARGET_NUCLEON_A_Universe |
Definition at line 106 of file ReweightDriver.h.
ThinTargetpCKaonReweighter* NeutrinoFluxReweight::ReweightDriver::THINTARGET_PC_KAON_Universe |
Definition at line 101 of file ReweightDriver.h.
ThinTargetpCNucleonReweighter* NeutrinoFluxReweight::ReweightDriver::THINTARGET_PC_NUCLEON_Universe |
Definition at line 103 of file ReweightDriver.h.
ThinTargetpCPionReweighter* NeutrinoFluxReweight::ReweightDriver::THINTARGET_PC_PION_Universe |
Definition at line 100 of file ReweightDriver.h.
double NeutrinoFluxReweight::ReweightDriver::tot_abs_wgt |
Definition at line 69 of file ReweightDriver.h.
|
private |
Definition at line 124 of file ReweightDriver.h.
AbsorptionDPIPReweighter* NeutrinoFluxReweight::ReweightDriver::VOL_ABS_DPIP_Universe |
Definition at line 96 of file ReweightDriver.h.
AbsorptionDVOLReweighter* NeutrinoFluxReweight::ReweightDriver::VOL_ABS_DVOL_Universe |
Definition at line 97 of file ReweightDriver.h.
AbsorptionICReweighter* NeutrinoFluxReweight::ReweightDriver::VOL_ABS_IC_Universe |
Definition at line 95 of file ReweightDriver.h.
NucleonAbsorptionOutOfTargetReweighter* NeutrinoFluxReweight::ReweightDriver::VOL_ABS_NUCLEON_Universe |
Definition at line 98 of file ReweightDriver.h.
OtherAbsorptionOutOfTargetReweighter* NeutrinoFluxReweight::ReweightDriver::VOL_ABS_OTHER_Universe |
Definition at line 99 of file ReweightDriver.h.