#include <GENIEReweight.h>
Public Member Functions | |
GENIEReweight () | |
<constructor More... | |
~GENIEReweight () | |
Set the nominal values for the reweight parameters. More... | |
void | AddReweightValue (ReweightLabel_t rLabel, double value) |
Change a reweight parameter. If it hasn't been added yet add it. More... | |
void | ChangeParameterValue (ReweightLabel_t rLabel, double value) |
Configure the weight calculators. More... | |
double | NominalParameterValue (ReweightLabel_t rLabel) |
Return the configured value of the given parameter. More... | |
double | ReweightParameterValue (ReweightLabel_t rLabel) |
Add reweight parameters to the list. More... | |
genie::rew::GReWeight * | WeightCalculator () |
void | Configure () |
Reconfigure the weight calculators. More... | |
void | Reconfigure () |
Simple Configuration functions for configuring a single weight calculator. More... | |
void | ReweightNCEL (double ma, double eta) |
Simple Configurtion of the CCQE axial weight calculator. More... | |
void | ReweightQEMA (double ma) |
Simple Configuration of the CCQE vector weight calculator. More... | |
void | ReweightQEVec (double mv) |
void | ReweightQEZExp (double norm, double a1, double a2, double a3, double a4) |
Simple Configuration of the CC Resonance weight calculator. More... | |
void | ReweightResGanged (double ma, double mv=0.0) |
Simple Configuration of the Coherant weight calculator. More... | |
void | ReweightCCRes (double ma, double mv=0.0) |
Simple Configurtion of the NC Resonance weight calculator. More... | |
void | ReweightNCRes (double ma, double mv=0.0) |
Simple Configuration of the NC and CC Resonance weight calculator with the axial mass parameter for NC/CC ganged together. More... | |
void | ReweightCoh (double ma, double r0) |
Simple Configuration of the Non-Resonance Background weight calculator. More... | |
void | ReweightNonResRvp1pi (double sigma) |
Simple Configuration of the Non-Resonance Background weight calculator. More... | |
void | ReweightNonResRvbarp1pi (double sigma) |
Simple Configuration of the Non-Resonance Background weight calculator. Here it is being configured for v+p and vbar + n (2 pi) type interactions. More... | |
void | ReweightNonResRvp2pi (double sigma) |
Simple Configuration of the Non-Resonance Background weight calculator. More... | |
void | ReweightNonResRvbarp2pi (double sigma) |
Simple Configuration of the Resonance decay model weight calculator. More... | |
void | ReweightResDecay (double gamma, double eta, double theta) |
Simple Configuration of the Total NC cross section. More... | |
void | ReweightNC (double norm) |
Simple Configuration of the DIS FF model weight calculator. More... | |
void | ReweightDIS (double aht, double bht, double cv1u, double cv2u) |
Simple Configuration of the DIS nuclear model. More... | |
void | ReweightDISnucl (bool mode) |
Simple Configuration of the DIS AGKY hadronization model. More... | |
void | ReweightAGKY (double xF, double pT) |
Simple Configuration of the Intranuke Nuclear model. More... | |
void | ReweightFormZone (double sigma) |
Simple Configuration of the Fermigas model reweight calculator. More... | |
void | ReweightFGM (double kF, double sf) |
End of Simple Reweight Configurations. More... | |
void | ReweightIntraNuke (ReweightLabel_t name, double sigma) |
Simple Configuration of the Formation Zone reweight calculator. More... | |
void | ReweightIntraNuke (int name, double sigma) |
void | MaQEshape () |
void | MaQErate () |
void | CCRESshape () |
void | CCRESrate () |
void | NCRESshape () |
void | NCRESrate () |
void | DIS_BYshape () |
void | DIS_BYrate () |
void | UseSigmaDef () |
void | UseStandardDef () |
void | SetNominalValues () |
Return the nominal value for the given parameter. More... | |
double | CalculateSigma (ReweightLabel_t label, double value) |
Calculate the weights. More... | |
double | CalculateWeight (const genie::EventRecord &evr) const |
void | ConfigureNCEL () |
Configure the MaQE weight calculator. More... | |
void | ConfigureQEMA () |
Configure the QE vector FF weight calculator. More... | |
void | ConfigureQEVec () |
Configure the CCRES calculator. More... | |
void | ConfigureCCRes () |
Configure the NCRES calculator. More... | |
void | ConfigureNCRes () |
Configure the ResBkg (kno) weight calculator. More... | |
void | ConfigureResBkg () |
Configure the ResDecay weight calculator. More... | |
void | ConfgureResDecay () |
Configure the NC weight calculator. More... | |
void | ConfigureNC () |
Configure the DIS (Bodek-Yang) weight calculator. More... | |
void | ConfigureDIS () |
Configure the Coherant model weight calculator. More... | |
void | ConfigureCoh () |
Configure the hadronization (AGKY) weight calculator. More... | |
void | ConfigureAGKY () |
Configure the DIS nuclear model weight calculator. More... | |
void | ConfigureDISNucMod () |
Configure the FG model weight calculator. More... | |
void | ConfigureFGM () |
Configure the Formation Zone weight calculator. More... | |
void | ConfigureFZone () |
Configure the intranuke weight calculator. More... | |
void | ConfigureINuke () |
configure the weight parameters being used More... | |
void | ConfigureParameters () |
Protected Attributes | |
bool | fReweightNCEL |
bool | fReweightQEMA |
bool | fReweightQEVec |
bool | fReweightCCRes |
bool | fReweightNCRes |
bool | fReweightResBkg |
bool | fReweightResDecay |
bool | fReweightNC |
bool | fReweightDIS |
bool | fReweightCoh |
bool | fReweightAGKY |
bool | fReweightDISNucMod |
bool | fReweightFGM |
bool | fReweightFZone |
bool | fReweightINuke |
bool | fReweightZexp |
bool | fReweightMEC |
bool | fMaQEshape |
bool | fMaCCResShape |
bool | fMaNCResShape |
bool | fDISshape |
bool | fUseSigmaDef |
std::vector< int > | fReWgtParameterName |
std::vector< double > | fReWgtParameterValue |
std::map< int, double > | fNominalParameters |
genie::rew::GReWeight * | fWcalc |
Definition at line 26 of file GENIEReweight.h.
rwgt::GENIEReweight::GENIEReweight | ( | ) |
rwgt::GENIEReweight::~GENIEReweight | ( | ) |
Set the nominal values for the reweight parameters.
Definition at line 161 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::AddReweightValue | ( | ReweightLabel_t | rLabel, |
double | value | ||
) |
Change a reweight parameter. If it hasn't been added yet add it.
Definition at line 325 of file GENIEReweight.cxx.
double rwgt::GENIEReweight::CalculateSigma | ( | ReweightLabel_t | label, |
double | value | ||
) |
Calculate the weights.
Used in parameter value mode (instead of parameter sigma mode) Given a user passed parameter value calculate the corresponding sigma value that needs to be passed to genie to give the same weight.
Definition at line 901 of file GENIEReweight.cxx.
double rwgt::GENIEReweight::CalculateWeight | ( | const genie::EventRecord & | evr | ) | const |
Definition at line 926 of file GENIEReweight.cxx.
|
inline |
Definition at line 80 of file GENIEReweight.h.
|
inline |
Definition at line 79 of file GENIEReweight.h.
void rwgt::GENIEReweight::ChangeParameterValue | ( | ReweightLabel_t | rLabel, |
double | value | ||
) |
Configure the weight calculators.
Definition at line 334 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfgureResDecay | ( | ) |
Configure the NC weight calculator.
Definition at line 822 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::Configure | ( | void | ) |
Reconfigure the weight calculators.
Definition at line 349 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureAGKY | ( | ) |
Configure the DIS nuclear model weight calculator.
Definition at line 854 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureCCRes | ( | ) |
Configure the NCRES calculator.
Definition at line 788 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureCoh | ( | ) |
Configure the hadronization (AGKY) weight calculator.
Definition at line 848 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureDIS | ( | ) |
Configure the Coherant model weight calculator.
Definition at line 834 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureDISNucMod | ( | ) |
Configure the FG model weight calculator.
Definition at line 860 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureFGM | ( | ) |
Configure the Formation Zone weight calculator.
Definition at line 866 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureFZone | ( | ) |
Configure the intranuke weight calculator.
Definition at line 872 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureINuke | ( | ) |
configure the weight parameters being used
Definition at line 878 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureNC | ( | ) |
Configure the DIS (Bodek-Yang) weight calculator.
Definition at line 828 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureNCEL | ( | ) |
Configure the MaQE weight calculator.
Definition at line 757 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureNCRes | ( | ) |
Configure the ResBkg (kno) weight calculator.
Definition at line 802 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureParameters | ( | ) |
Definition at line 884 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureQEMA | ( | ) |
Configure the QE vector FF weight calculator.
Definition at line 763 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureQEVec | ( | ) |
Configure the CCRES calculator.
Definition at line 782 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ConfigureResBkg | ( | ) |
Configure the ResDecay weight calculator.
Definition at line 816 of file GENIEReweight.cxx.
|
inline |
Definition at line 86 of file GENIEReweight.h.
|
inline |
Definition at line 85 of file GENIEReweight.h.
|
inline |
Definition at line 77 of file GENIEReweight.h.
|
inline |
Definition at line 76 of file GENIEReweight.h.
|
inline |
Definition at line 83 of file GENIEReweight.h.
|
inline |
Definition at line 82 of file GENIEReweight.h.
double rwgt::GENIEReweight::NominalParameterValue | ( | ReweightLabel_t | rLabel | ) |
Return the configured value of the given parameter.
Definition at line 292 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::Reconfigure | ( | ) |
Simple Configuration functions for configuring a single weight calculator.
Simple Configuraiton of the NC elastic weight calculator
Definition at line 522 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightAGKY | ( | double | xF, |
double | pT | ||
) |
Simple Configuration of the Intranuke Nuclear model.
Definition at line 702 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightCCRes | ( | double | ma, |
double | mv = 0.0 |
||
) |
Simple Configurtion of the NC Resonance weight calculator.
Definition at line 567 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightCoh | ( | double | ma, |
double | r0 | ||
) |
Simple Configuration of the Non-Resonance Background weight calculator.
Definition at line 603 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightDIS | ( | double | aht, |
double | bht, | ||
double | cv1u, | ||
double | cv2u | ||
) |
Simple Configuration of the DIS nuclear model.
Definition at line 676 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightDISnucl | ( | bool | mode | ) |
Simple Configuration of the DIS AGKY hadronization model.
Definition at line 695 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightFGM | ( | double | kF, |
double | sf | ||
) |
End of Simple Reweight Configurations.
Private Member functions to configure individual weight calculators. Configure the NCEL weight calculator
Definition at line 748 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightFormZone | ( | double | sigma | ) |
Simple Configuration of the Fermigas model reweight calculator.
Definition at line 741 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightIntraNuke | ( | ReweightLabel_t | name, |
double | sigma | ||
) |
Simple Configuration of the Formation Zone reweight calculator.
Definition at line 714 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightIntraNuke | ( | int | name, |
double | sigma | ||
) |
void rwgt::GENIEReweight::ReweightNC | ( | double | norm | ) |
Simple Configuration of the DIS FF model weight calculator.
Definition at line 669 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightNCEL | ( | double | ma, |
double | eta | ||
) |
Simple Configurtion of the CCQE axial weight calculator.
Definition at line 529 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightNCRes | ( | double | ma, |
double | mv = 0.0 |
||
) |
Simple Configuration of the NC and CC Resonance weight calculator with the axial mass parameter for NC/CC ganged together.
Definition at line 578 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightNonResRvbarp1pi | ( | double | sigma | ) |
Simple Configuration of the Non-Resonance Background weight calculator. Here it is being configured for v+p and vbar + n (2 pi) type interactions.
Definition at line 623 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightNonResRvbarp2pi | ( | double | sigma | ) |
Simple Configuration of the Resonance decay model weight calculator.
Definition at line 644 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightNonResRvp1pi | ( | double | sigma | ) |
Simple Configuration of the Non-Resonance Background weight calculator.
Definition at line 612 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightNonResRvp2pi | ( | double | sigma | ) |
Simple Configuration of the Non-Resonance Background weight calculator.
Definition at line 633 of file GENIEReweight.cxx.
double rwgt::GENIEReweight::ReweightParameterValue | ( | ReweightLabel_t | rLabel | ) |
Add reweight parameters to the list.
Definition at line 299 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightQEMA | ( | double | ma | ) |
Simple Configuration of the CCQE vector weight calculator.
Definition at line 541 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightQEVec | ( | double | mv | ) |
Definition at line 549 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightQEZExp | ( | double | norm, |
double | a1, | ||
double | a2, | ||
double | a3, | ||
double | a4 | ||
) |
Simple Configuration of the CC Resonance weight calculator.
Definition at line 555 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightResDecay | ( | double | gamma, |
double | eta, | ||
double | theta | ||
) |
Simple Configuration of the Total NC cross section.
Definition at line 654 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::ReweightResGanged | ( | double | ma, |
double | mv = 0.0 |
||
) |
Simple Configuration of the Coherant weight calculator.
Definition at line 589 of file GENIEReweight.cxx.
void rwgt::GENIEReweight::SetNominalValues | ( | ) |
Return the nominal value for the given parameter.
Definition at line 166 of file GENIEReweight.cxx.
|
inline |
Definition at line 88 of file GENIEReweight.h.
|
inline |
Definition at line 89 of file GENIEReweight.h.
|
inline |
Definition at line 40 of file GENIEReweight.h.
|
protected |
Definition at line 141 of file GENIEReweight.h.
|
protected |
Definition at line 139 of file GENIEReweight.h.
|
protected |
Definition at line 140 of file GENIEReweight.h.
|
protected |
Definition at line 138 of file GENIEReweight.h.
|
protected |
Definition at line 148 of file GENIEReweight.h.
|
protected |
Definition at line 130 of file GENIEReweight.h.
|
protected |
Definition at line 123 of file GENIEReweight.h.
|
protected |
Definition at line 129 of file GENIEReweight.h.
|
protected |
Definition at line 128 of file GENIEReweight.h.
|
protected |
Definition at line 131 of file GENIEReweight.h.
|
protected |
Definition at line 132 of file GENIEReweight.h.
|
protected |
Definition at line 133 of file GENIEReweight.h.
|
protected |
Definition at line 134 of file GENIEReweight.h.
|
protected |
Definition at line 136 of file GENIEReweight.h.
|
protected |
Definition at line 127 of file GENIEReweight.h.
|
protected |
Definition at line 120 of file GENIEReweight.h.
|
protected |
Definition at line 124 of file GENIEReweight.h.
|
protected |
Definition at line 121 of file GENIEReweight.h.
|
protected |
Definition at line 122 of file GENIEReweight.h.
|
protected |
Definition at line 125 of file GENIEReweight.h.
|
protected |
Definition at line 126 of file GENIEReweight.h.
|
protected |
Definition at line 135 of file GENIEReweight.h.
|
protected |
Definition at line 145 of file GENIEReweight.h.
|
protected |
Definition at line 146 of file GENIEReweight.h.
|
protected |
Definition at line 143 of file GENIEReweight.h.
|
protected |
Definition at line 150 of file GENIEReweight.h.