22 #ifndef _G_REWEIGHT_NU_XSEC_CCQE_H_ 23 #define _G_REWEIGHT_NU_XSEC_CCQE_H_ 107 #ifdef _G_REWEIGHT_CCQE_DEBUG_ Cross Section Calculation Interface.
bool fRewNuebar
reweight nu_e_bar CC?
#include "Numerical/GSFunc.h"
Reweighting CCQE GENIE neutrino cross sections.
int fZExpCurrIdx
current coefficient index
string fMaPath
M_{A} path in config Registry.
double CalcWeightZExp(const EventRecord &event)
double fZExpCurr[fZExpMaxSyst]
array of current parameter values
bool fRewNumubar
reweight nu_mu_bar CC?
static const int kModeNormAndMaShape
XSecAlgorithmI * fXSecModelDef
default model
static const int kModeZExp
double fZExpTwkDial[fZExpMaxSyst]
double CalcWeightMaShape(const EventRecord &event)
Registry * fXSecModelConfig
config in tweaked model
void SetSystematic(GSyst_t syst, double val)
update the value for the specified nuisance param
An enumeration of systematic parameters.
double CalcWeightMa(const EventRecord &event)
void Reconfigure(void)
propagate updated nuisance parameter values to actual MC, etc
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
void SetZExpPath(string p)
bool fRewNue
reweight nu_e CC?
A registry. Provides the container for algorithm configuration parameters.
string fZExpPath
algorithm path to get coefficients
int fMode
0: Ma, 1: Norm and MaShape, 2: Z-Expansion
bool fRewNumu
reweight nu_mu CC?
double fZExpDef[fZExpMaxSyst]
XSecAlgorithmI * fXSecModel
tweaked model
int fZExpMaxCoef
max number of coefficients to use
double CalcWeight(const EventRecord &event)
calculate a weight for the input event using the current nuisance param values
double CalcWeightNorm(const EventRecord &event)
void Reset(void)
set all nuisance parameters to default values
Event finding and building.
static const int fZExpMaxSyst
maximum number of systematics
GENIE event reweighting engine ABC.
bool IsHandled(GSyst_t syst)
does the current weight calculator handle the input nuisance param?