35 using namespace genie;
89 if(!tweaked)
return 1.;
95 bool is_qel =
event.Summary()->ProcInfo().IsQuasiElastic();
96 if(is_qel && !
fRewQE)
return 1.;
98 bool is_res =
event.Summary()->ProcInfo().IsResonant();
99 if(is_res && !
fRewRES)
return 1.;
101 bool is_dis =
event.Summary()->ProcInfo().IsDeepInelastic();
102 if(is_dis && !
fRewDIS)
return 1.;
void SetSystematic(GSyst_t syst, double val)
update the value for the specified nuisance param
#include "Numerical/GSFunc.h"
bool IsHandled(GSyst_t syst)
does the current weight calculator handle the input nuisance param?
bool fRewDIS
reweight NC DIS?
bool fRewRES
reweight NC RES?
Summary information for an interaction.
bool IsWeakNC(void) const
double fNCTwkDial
tweaking dial
bool fRewQE
reweight NC elastic?
bool fRewNumu
reweight nu_mu?
static const double kASmallNum
An enumeration of systematic parameters.
bool fRewNue
reweight nu_e?
void Reset(void)
set all nuisance parameters to default values
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
void Reconfigure(void)
propagate updated nuisance parameter values to actual MC, etc
double CalcWeight(const EventRecord &event)
calculate a weight for the input event using the current nuisance param values
const InitialState & InitState(void) const
const ProcessInfo & ProcInfo(void) const
bool fRewNuebar
reweight nu_e_bar?
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
Event finding and building.
bool fRewNumubar
reweight nu_mu_bar?