LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
rwgt::GENIEReweight Class Reference

#include "GENIEReweight.h"

Inheritance diagram for rwgt::GENIEReweight:
rwgt::NuReweight

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
 

Detailed Description

Definition at line 26 of file GENIEReweight.h.

Constructor & Destructor Documentation

rwgt::GENIEReweight::GENIEReweight ( )

<constructor

destructor

Definition at line 77 of file GENIEReweight.cxx.

References fWcalc, LOG_INFO, and SetNominalValues().

rwgt::GENIEReweight::~GENIEReweight ( )

Set the nominal values for the reweight parameters.

Definition at line 108 of file GENIEReweight.cxx.

References fWcalc.

Member Function Documentation

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 836 of file GENIEReweight.cxx.

References rwgt::fReweightCCQEMomDistroFGtoSF, rwgt::fReweightDISNuclMod, rwgt::fReweightTheta_Delta2Npi, NominalParameterValue(), pmtana::sign(), and fhicl::detail::atom::value().

Referenced by ConfigureParameters().

double rwgt::GENIEReweight::CalculateWeight ( const genie::EventRecord &  evr) const

Definition at line 861 of file GENIEReweight.cxx.

References fWcalc.

Referenced by rwgt::NuReweight::CalcWeight().

865  {
866  //genie::EventRecord evr = this->RetrieveGHEP(truth, gtruth);
void rwgt::GENIEReweight::CCRESrate ( )
inline

Definition at line 80 of file GENIEReweight.h.

80 {fMaCCResShape=false;}
void rwgt::GENIEReweight::CCRESshape ( )
inline

Definition at line 79 of file GENIEReweight.h.

79 {fMaCCResShape=true;}
void rwgt::GENIEReweight::ChangeParameterValue ( ReweightLabel_t  rLabel,
double  value 
)

Configure the weight calculators.

Definition at line 277 of file GENIEReweight.cxx.

References AddReweightValue(), fReWgtParameterName, fReWgtParameterValue, and fhicl::detail::atom::value().

void rwgt::GENIEReweight::ConfgureResDecay ( )

Configure the NC weight calculator.

Definition at line 757 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::Configure ( )

Reconfigure the weight calculators.

Definition at line 292 of file GENIEReweight.cxx.

References ConfgureResDecay(), ConfigureAGKY(), ConfigureCCRes(), ConfigureCoh(), ConfigureDIS(), ConfigureDISNucMod(), ConfigureFGM(), ConfigureFZone(), ConfigureINuke(), ConfigureNC(), ConfigureNCEL(), ConfigureNCRes(), ConfigureParameters(), ConfigureQEMA(), ConfigureQEVec(), ConfigureResBkg(), fReweightAGKY, rwgt::fReweightAGKY_pT1pi, rwgt::fReweightAGKY_xF1pi, rwgt::fReweightAhtBY, rwgt::fReweightAhtBYshape, rwgt::fReweightAxFFCCQEshape, rwgt::fReweightBhtBY, rwgt::fReweightBhtBYshape, rwgt::fReweightBR1eta, rwgt::fReweightBR1gamma, rwgt::fReweightCCQEMomDistroFGtoSF, rwgt::fReweightCCQEPauliSupViaKF, fReweightCCRes, fReweightCoh, rwgt::fReweightCV1uBY, rwgt::fReweightCV1uBYshape, rwgt::fReweightCV2uBY, rwgt::fReweightCV2uBYshape, fReweightDIS, rwgt::fReweightDISNuclMod, fReweightDISNucMod, rwgt::fReweightEtaNCEL, fReweightFGM, rwgt::fReweightFormZone, rwgt::fReweightFrAbs_N, rwgt::fReweightFrAbs_pi, rwgt::fReweightFrCEx_N, rwgt::fReweightFrCEx_pi, rwgt::fReweightFrElas_N, rwgt::fReweightFrElas_pi, rwgt::fReweightFrInel_N, rwgt::fReweightFrInel_pi, rwgt::fReweightFrPiProd_N, rwgt::fReweightFrPiProd_pi, fReweightFZone, fReweightINuke, rwgt::fReweightMaCCQE, rwgt::fReweightMaCCQEshape, rwgt::fReweightMaCCRES, rwgt::fReweightMaCCRESshape, rwgt::fReweightMaCOHpi, rwgt::fReweightMaNCEL, rwgt::fReweightMaNCRES, rwgt::fReweightMaNCRESshape, rwgt::fReweightMFP_N, rwgt::fReweightMFP_pi, rwgt::fReweightMvCCRES, rwgt::fReweightMvCCRESshape, rwgt::fReweightMvNCRES, rwgt::fReweightMvNCRESshape, rwgt::fReweightNC, fReweightNC, fReweightNCEL, fReweightNCRes, rwgt::fReweightNormCCQE, rwgt::fReweightNormCCQEenu, rwgt::fReweightNormCCRES, rwgt::fReweightNormDISCC, rwgt::fReweightNormNCRES, fReweightQEMA, fReweightQEVec, rwgt::fReweightR0COHpi, fReweightResBkg, fReweightResDecay, rwgt::fReweightRnubarnuCC, rwgt::fReweightRvbarnCC1pi, rwgt::fReweightRvbarnCC2pi, rwgt::fReweightRvbarnNC1pi, rwgt::fReweightRvbarnNC2pi, rwgt::fReweightRvbarpCC1pi, rwgt::fReweightRvbarpCC2pi, rwgt::fReweightRvbarpNC1pi, rwgt::fReweightRvbarpNC2pi, rwgt::fReweightRvnCC1pi, rwgt::fReweightRvnCC2pi, rwgt::fReweightRvnNC1pi, rwgt::fReweightRvnNC2pi, rwgt::fReweightRvpCC1pi, rwgt::fReweightRvpCC2pi, rwgt::fReweightRvpNC1pi, rwgt::fReweightRvpNC2pi, rwgt::fReweightTheta_Delta2Npi, rwgt::fReweightVecCCQEshape, fReweightZexp, rwgt::fReweightZExpA1CCQE, rwgt::fReweightZExpA2CCQE, rwgt::fReweightZExpA3CCQE, rwgt::fReweightZExpA4CCQE, rwgt::fReweightZNormCCQE, fReWgtParameterName, and LOG_INFO.

Referenced by rwgt::ReweightAna::beginJob(), Reconfigure(), ReweightAGKY(), ReweightCCRes(), ReweightCoh(), ReweightDIS(), ReweightDISnucl(), ReweightFGM(), ReweightFormZone(), ReweightIntraNuke(), ReweightNC(), ReweightNCEL(), ReweightNCRes(), ReweightNonResRvp2pi(), ReweightQEMA(), ReweightQEVec(), ReweightQEZExp(), ReweightResDecay(), and ReweightResGanged().

void rwgt::GENIEReweight::ConfigureAGKY ( )

Configure the DIS nuclear model weight calculator.

Definition at line 789 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureCCRes ( )

Configure the NCRES calculator.

Definition at line 723 of file GENIEReweight.cxx.

References fMaCCResShape, fWcalc, and LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureCoh ( )

Configure the hadronization (AGKY) weight calculator.

Definition at line 783 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureDIS ( )

Configure the Coherant model weight calculator.

Definition at line 769 of file GENIEReweight.cxx.

References fDISshape, fWcalc, and LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureDISNucMod ( )

Configure the FG model weight calculator.

Definition at line 795 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureFGM ( )

Configure the Formation Zone weight calculator.

Definition at line 801 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureFZone ( )

Configure the intranuke weight calculator.

Definition at line 807 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureINuke ( )

configure the weight parameters being used

Definition at line 813 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureNC ( )

Configure the DIS (Bodek-Yang) weight calculator.

Definition at line 763 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureNCEL ( )

Configure the MaQE weight calculator.

Definition at line 692 of file GENIEReweight.cxx.

Referenced by Configure(), and ReweightFGM().

void rwgt::GENIEReweight::ConfigureNCRes ( )

Configure the ResBkg (kno) weight calculator.

Definition at line 737 of file GENIEReweight.cxx.

References fMaNCResShape, fWcalc, and LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureParameters ( )

Definition at line 819 of file GENIEReweight.cxx.

References CalculateSigma(), fReWgtParameterName, fReWgtParameterValue, fUseSigmaDef, fWcalc, and LOG_INFO.

Referenced by Configure().

823  {
824  GSystSet & syst = fWcalc->Systematics();
825  for(unsigned int i = 0; i < fReWgtParameterName.size(); i++) {
826  LOG_INFO("GENIEReweight") << "Configuring GENIEReweight parameter: " << genie::rew::GSyst::AsString(genie::rew::EGSyst(fReWgtParameterName[i])) << " with value: " << fReWgtParameterValue[i];
827  if(fUseSigmaDef) {
828  syst.Set( (GSyst_t)fReWgtParameterName[i], fReWgtParameterValue[i]);
829  }
830  else {
832  syst.Set( (GSyst_t)fReWgtParameterName[i], parameter);
enum rwgt::EReweightLabel ReweightLabel_t
#define LOG_INFO(category)
std::vector< int > fReWgtParameterName
genie::rew::GReWeight * fWcalc
std::vector< double > fReWgtParameterValue
double CalculateSigma(ReweightLabel_t label, double value)
Calculate the weights.
void rwgt::GENIEReweight::ConfigureQEMA ( )

Configure the QE vector FF weight calculator.

Definition at line 698 of file GENIEReweight.cxx.

References fMaQEshape, fReweightZexp, fWcalc, and LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureQEVec ( )

Configure the CCRES calculator.

Definition at line 717 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::ConfigureResBkg ( )

Configure the ResDecay weight calculator.

Definition at line 751 of file GENIEReweight.cxx.

References LOG_INFO.

Referenced by Configure().

void rwgt::GENIEReweight::DIS_BYrate ( )
inline

Definition at line 86 of file GENIEReweight.h.

86 {fDISshape=false;}
void rwgt::GENIEReweight::DIS_BYshape ( )
inline

Definition at line 85 of file GENIEReweight.h.

85 {fDISshape=true;}
void rwgt::GENIEReweight::MaQErate ( )
inline

Definition at line 77 of file GENIEReweight.h.

77 {fMaQEshape=false;}
void rwgt::GENIEReweight::MaQEshape ( )
inline

Definition at line 76 of file GENIEReweight.h.

76 {fMaQEshape=true;}
void rwgt::GENIEReweight::NCRESrate ( )
inline

Definition at line 83 of file GENIEReweight.h.

83 {fMaNCResShape=false;}
void rwgt::GENIEReweight::NCRESshape ( )
inline

Definition at line 82 of file GENIEReweight.h.

82 {fMaNCResShape=true;}
double rwgt::GENIEReweight::NominalParameterValue ( ReweightLabel_t  rLabel)

Return the configured value of the given parameter.

Definition at line 235 of file GENIEReweight.cxx.

References fNominalParameters.

Referenced by CalculateSigma().

void rwgt::GENIEReweight::Reconfigure ( )

Simple Configuration functions for configuring a single weight calculator.

Simple Configuraiton of the NC elastic weight calculator

Definition at line 461 of file GENIEReweight.cxx.

References Configure(), and fWcalc.

void rwgt::GENIEReweight::ReweightAGKY ( double  xF,
double  pT 
)

Simple Configuration of the Intranuke Nuclear model.

Definition at line 641 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightAGKY_pT1pi, rwgt::fReweightAGKY_xF1pi, and LOG_INFO.

void rwgt::GENIEReweight::ReweightCCRes ( double  ma,
double  mv = 0.0 
)

Simple Configurtion of the NC Resonance weight calculator.

Definition at line 506 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), fMaCCResShape, rwgt::fReweightMaCCRES, rwgt::fReweightMvCCRES, and LOG_INFO.

void rwgt::GENIEReweight::ReweightDIS ( double  aht,
double  bht,
double  cv1u,
double  cv2u 
)

Simple Configuration of the DIS nuclear model.

Definition at line 615 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), fDISshape, rwgt::fReweightAhtBY, rwgt::fReweightBhtBY, rwgt::fReweightCV1uBY, rwgt::fReweightCV2uBY, and LOG_INFO.

void rwgt::GENIEReweight::ReweightDISnucl ( bool  mode)

Simple Configuration of the DIS AGKY hadronization model.

Definition at line 634 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightDISNuclMod, and LOG_INFO.

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 683 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), ConfigureNCEL(), rwgt::fReweightCCQEMomDistroFGtoSF, rwgt::fReweightCCQEPauliSupViaKF, and LOG_INFO.

void rwgt::GENIEReweight::ReweightFormZone ( double  sigma)

Simple Configuration of the Fermigas model reweight calculator.

Definition at line 676 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightFormZone, and LOG_INFO.

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 608 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightNC, and LOG_INFO.

void rwgt::GENIEReweight::ReweightNCEL ( double  ma,
double  eta 
)

Simple Configurtion of the CCQE axial weight calculator.

Definition at line 468 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightEtaNCEL, rwgt::fReweightMaNCEL, and LOG_INFO.

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 517 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), fMaNCResShape, rwgt::fReweightMaNCRES, rwgt::fReweightMvNCRES, and LOG_INFO.

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 562 of file GENIEReweight.cxx.

Referenced by ReweightCoh().

void rwgt::GENIEReweight::ReweightNonResRvbarp2pi ( double  sigma)

Simple Configuration of the Resonance decay model weight calculator.

Definition at line 583 of file GENIEReweight.cxx.

Referenced by ReweightNonResRvp2pi().

void rwgt::GENIEReweight::ReweightNonResRvp1pi ( double  sigma)

Simple Configuration of the Non-Resonance Background weight calculator.

Definition at line 551 of file GENIEReweight.cxx.

Referenced by ReweightCoh().

void rwgt::GENIEReweight::ReweightNonResRvp2pi ( double  sigma)
double rwgt::GENIEReweight::ReweightParameterValue ( ReweightLabel_t  rLabel)

Add reweight parameters to the list.

Definition at line 242 of file GENIEReweight.cxx.

References fReWgtParameterName, and fReWgtParameterValue.

void rwgt::GENIEReweight::ReweightQEMA ( double  ma)

Simple Configuration of the CCQE vector weight calculator.

Definition at line 480 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), fMaQEshape, rwgt::fReweightMaCCQE, and LOG_INFO.

void rwgt::GENIEReweight::ReweightQEVec ( double  mv)

Definition at line 488 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightVecCCQEshape, and LOG_INFO.

490  {
491  LOG_INFO("GENIEReweight") << "Configuring GENIEReweight for QE Vector Mass Reweighting";
void AddReweightValue(ReweightLabel_t rLabel, double value)
Change a reweight parameter. If it hasn&#39;t been added yet add it.
#define LOG_INFO(category)
tweak elastic nucleon form factors (BBA/default -> dipole) - shape only effect of dsigma(CCQE)/dQ2 ...
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 494 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightZExpA1CCQE, rwgt::fReweightZExpA2CCQE, rwgt::fReweightZExpA3CCQE, rwgt::fReweightZExpA4CCQE, rwgt::fReweightZNormCCQE, and LOG_INFO.

void rwgt::GENIEReweight::ReweightResDecay ( double  gamma,
double  eta,
double  theta 
)

Simple Configuration of the Total NC cross section.

Definition at line 593 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), rwgt::fReweightBR1eta, rwgt::fReweightBR1gamma, rwgt::fReweightTheta_Delta2Npi, and LOG_INFO.

void rwgt::GENIEReweight::ReweightResGanged ( double  ma,
double  mv = 0.0 
)

Simple Configuration of the Coherant weight calculator.

Definition at line 528 of file GENIEReweight.cxx.

References AddReweightValue(), Configure(), fMaCCResShape, fMaNCResShape, rwgt::fReweightMaCCRES, rwgt::fReweightMaNCRES, rwgt::fReweightMvCCRES, rwgt::fReweightMvNCRES, and LOG_INFO.

void rwgt::GENIEReweight::SetNominalValues ( )

Return the nominal value for the given parameter.

Definition at line 113 of file GENIEReweight.cxx.

References fNominalParameters, rwgt::fReweightAGKY_pT1pi, rwgt::fReweightAGKY_xF1pi, rwgt::fReweightAhtBY, rwgt::fReweightAhtBYshape, rwgt::fReweightBhtBY, rwgt::fReweightBhtBYshape, rwgt::fReweightBR1eta, rwgt::fReweightBR1gamma, rwgt::fReweightCCQEMomDistroFGtoSF, rwgt::fReweightCCQEPauliSupViaKF, rwgt::fReweightCV1uBY, rwgt::fReweightCV1uBYshape, rwgt::fReweightCV2uBY, rwgt::fReweightCV2uBYshape, rwgt::fReweightDISNuclMod, rwgt::fReweightEtaNCEL, rwgt::fReweightFormZone, rwgt::fReweightFrAbs_N, rwgt::fReweightFrAbs_pi, rwgt::fReweightFrCEx_N, rwgt::fReweightFrCEx_pi, rwgt::fReweightFrElas_N, rwgt::fReweightFrElas_pi, rwgt::fReweightFrInel_N, rwgt::fReweightFrInel_pi, rwgt::fReweightFrPiProd_N, rwgt::fReweightFrPiProd_pi, rwgt::fReweightMaCCQE, rwgt::fReweightMaCCQEshape, rwgt::fReweightMaCCRES, rwgt::fReweightMaCCRESshape, rwgt::fReweightMaCOHpi, rwgt::fReweightMaNCEL, rwgt::fReweightMaNCRES, rwgt::fReweightMaNCRESshape, rwgt::fReweightMFP_N, rwgt::fReweightMFP_pi, rwgt::fReweightMvCCRES, rwgt::fReweightMvCCRESshape, rwgt::fReweightMvNCRES, rwgt::fReweightMvNCRESshape, rwgt::fReweightNC, rwgt::fReweightNormCCQE, rwgt::fReweightNormCCQEenu, rwgt::fReweightNormCCRES, rwgt::fReweightNormDISCC, rwgt::fReweightNormNCRES, rwgt::fReweightR0COHpi, rwgt::fReweightRnubarnuCC, rwgt::fReweightRvbarnCC1pi, rwgt::fReweightRvbarnCC2pi, rwgt::fReweightRvbarnNC1pi, rwgt::fReweightRvbarnNC2pi, rwgt::fReweightRvbarpCC1pi, rwgt::fReweightRvbarpCC2pi, rwgt::fReweightRvbarpNC1pi, rwgt::fReweightRvbarpNC2pi, rwgt::fReweightRvnCC1pi, rwgt::fReweightRvnCC2pi, rwgt::fReweightRvnNC1pi, rwgt::fReweightRvnNC2pi, rwgt::fReweightRvpCC1pi, rwgt::fReweightRvpCC2pi, rwgt::fReweightRvpNC1pi, rwgt::fReweightRvpNC2pi, rwgt::fReweightTheta_Delta2Npi, and rwgt::fReweightVecCCQEshape.

Referenced by GENIEReweight().

void rwgt::GENIEReweight::UseSigmaDef ( )
inline

Definition at line 88 of file GENIEReweight.h.

88 {fUseSigmaDef=true;}
void rwgt::GENIEReweight::UseStandardDef ( )
inline

Definition at line 89 of file GENIEReweight.h.

89 {fUseSigmaDef=false;}
genie::rew::GReWeight* rwgt::GENIEReweight::WeightCalculator ( )
inline

Definition at line 40 of file GENIEReweight.h.

References a1, a2, a3, a4, and norm.

40 {return fWcalc;}
genie::rew::GReWeight * fWcalc

Member Data Documentation

bool rwgt::GENIEReweight::fDISshape
protected

Definition at line 141 of file GENIEReweight.h.

Referenced by ConfigureDIS(), and ReweightDIS().

bool rwgt::GENIEReweight::fMaCCResShape
protected

Definition at line 139 of file GENIEReweight.h.

Referenced by ConfigureCCRes(), ReweightCCRes(), and ReweightResGanged().

bool rwgt::GENIEReweight::fMaNCResShape
protected

Definition at line 140 of file GENIEReweight.h.

Referenced by ConfigureNCRes(), ReweightNCRes(), and ReweightResGanged().

bool rwgt::GENIEReweight::fMaQEshape
protected

Definition at line 138 of file GENIEReweight.h.

Referenced by ConfigureQEMA(), and ReweightQEMA().

std::map<int, double> rwgt::GENIEReweight::fNominalParameters
protected

Definition at line 148 of file GENIEReweight.h.

Referenced by NominalParameterValue(), and SetNominalValues().

bool rwgt::GENIEReweight::fReweightAGKY
protected

Definition at line 130 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightCCRes
protected

Definition at line 123 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightCoh
protected

Definition at line 129 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightDIS
protected

Definition at line 128 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightDISNucMod
protected

Definition at line 131 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightFGM
protected

Definition at line 132 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightFZone
protected

Definition at line 133 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightINuke
protected

Definition at line 134 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightMEC
protected

Definition at line 136 of file GENIEReweight.h.

bool rwgt::GENIEReweight::fReweightNC
protected

Definition at line 127 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightNCEL
protected

Definition at line 120 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightNCRes
protected

Definition at line 124 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightQEMA
protected

Definition at line 121 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightQEVec
protected

Definition at line 122 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightResBkg
protected

Definition at line 125 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightResDecay
protected

Definition at line 126 of file GENIEReweight.h.

Referenced by Configure().

bool rwgt::GENIEReweight::fReweightZexp
protected

Definition at line 135 of file GENIEReweight.h.

Referenced by Configure(), and ConfigureQEMA().

std::vector<int> rwgt::GENIEReweight::fReWgtParameterName
protected
std::vector<double> rwgt::GENIEReweight::fReWgtParameterValue
protected
bool rwgt::GENIEReweight::fUseSigmaDef
protected

Definition at line 143 of file GENIEReweight.h.

Referenced by ConfigureParameters().

genie::rew::GReWeight* rwgt::GENIEReweight::fWcalc
protected

The documentation for this class was generated from the following files: