LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
rwgt::NuReweight Class Reference

#include "NuReweight.h"

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

Public Member Functions

 NuReweight ()
 <constructor More...
 
 ~NuReweight ()
 
double CalcWeight (const simb::MCTruth &truth, const simb::GTruth &gtruth) const
 
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 15 of file NuReweight.h.

Constructor & Destructor Documentation

rwgt::NuReweight::NuReweight ( )

<constructor

destructor

Definition at line 103 of file NuReweight.cxx.

rwgt::NuReweight::~NuReweight ( )

Definition at line 108 of file NuReweight.cxx.

108  {
109  // Don't delete fWcalc here. The GENIEReweight parent class handles it.
110  }

Member Function Documentation

double rwgt::GENIEReweight::CalculateSigma ( ReweightLabel_t  label,
double  value 
)
inherited

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.

References rwgt::fReweightCCQEMomDistroFGtoSF, rwgt::fReweightDISNuclMod, rwgt::fReweightTheta_Delta2Npi, rwgt::GENIEReweight::NominalParameterValue(), pmtana::sign(), and value.

Referenced by rwgt::GENIEReweight::ConfigureParameters().

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

Definition at line 926 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::fWcalc.

Referenced by CalcWeight().

930  {
931  //genie::EventRecord evr = this->RetrieveGHEP(truth, gtruth);
double rwgt::NuReweight::CalcWeight ( const simb::MCTruth truth,
const simb::GTruth gtruth 
) const

Definition at line 112 of file NuReweight.cxx.

References rwgt::GENIEReweight::CalculateWeight(), and evgb::RetrieveGHEP().

Referenced by rwgt::ReweightAna::analyze().

112  {
113 
114  genie::EventRecord* evr = evgb::RetrieveGHEP(truth, gtruth);
115 
116  double wgt = this->CalculateWeight(*evr);
117 
118  delete evr;
119  //mf::LogVerbatim("GENIEReweight") << "New Event Weight is: " << wgt;
120  return wgt;
121  }
genie::EventRecord * RetrieveGHEP(const simb::MCTruth &truth, const simb::GTruth &gtruth, bool useFirstTrajPosition=true)
return genie::EventRecord pointer; callee takes possession
Definition: GENIE2ART.cxx:540
double CalculateWeight(const genie::EventRecord &evr) const
void rwgt::GENIEReweight::CCRESrate ( )
inlineinherited

Definition at line 80 of file GENIEReweight.h.

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

Definition at line 79 of file GENIEReweight.h.

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

Configure the NC weight calculator.

Definition at line 822 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::Configure ( )
inherited

Reconfigure the weight calculators.

Definition at line 349 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::ConfgureResDecay(), rwgt::GENIEReweight::ConfigureAGKY(), rwgt::GENIEReweight::ConfigureCCRes(), rwgt::GENIEReweight::ConfigureCoh(), rwgt::GENIEReweight::ConfigureDIS(), rwgt::GENIEReweight::ConfigureDISNucMod(), rwgt::GENIEReweight::ConfigureFGM(), rwgt::GENIEReweight::ConfigureFZone(), rwgt::GENIEReweight::ConfigureINuke(), rwgt::GENIEReweight::ConfigureNC(), rwgt::GENIEReweight::ConfigureNCEL(), rwgt::GENIEReweight::ConfigureNCRes(), rwgt::GENIEReweight::ConfigureParameters(), rwgt::GENIEReweight::ConfigureQEMA(), rwgt::GENIEReweight::ConfigureQEVec(), rwgt::GENIEReweight::ConfigureResBkg(), rwgt::GENIEReweight::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, rwgt::GENIEReweight::fReweightCCRes, rwgt::GENIEReweight::fReweightCoh, rwgt::fReweightCV1uBY, rwgt::fReweightCV1uBYshape, rwgt::fReweightCV2uBY, rwgt::fReweightCV2uBYshape, rwgt::GENIEReweight::fReweightDIS, rwgt::fReweightDISNuclMod, rwgt::GENIEReweight::fReweightDISNucMod, rwgt::fReweightEtaNCEL, rwgt::GENIEReweight::fReweightFGM, rwgt::fReweightFormZone, rwgt::fReweightFrAbs_N, rwgt::fReweightFrAbs_pi, rwgt::fReweightFrCEx_N, rwgt::fReweightFrCEx_pi, rwgt::fReweightFrInel_N, rwgt::fReweightFrInel_pi, rwgt::fReweightFrPiProd_N, rwgt::fReweightFrPiProd_pi, rwgt::GENIEReweight::fReweightFZone, rwgt::GENIEReweight::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, rwgt::GENIEReweight::fReweightNC, rwgt::GENIEReweight::fReweightNCEL, rwgt::GENIEReweight::fReweightNCRes, rwgt::fReweightNormCCQE, rwgt::fReweightNormCCQEenu, rwgt::fReweightNormCCRES, rwgt::fReweightNormDISCC, rwgt::fReweightNormNCRES, rwgt::GENIEReweight::fReweightQEMA, rwgt::GENIEReweight::fReweightQEVec, rwgt::fReweightR0COHpi, rwgt::GENIEReweight::fReweightResBkg, rwgt::GENIEReweight::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, rwgt::GENIEReweight::fReweightZexp, rwgt::fReweightZExpA1CCQE, rwgt::fReweightZExpA2CCQE, rwgt::fReweightZExpA3CCQE, rwgt::fReweightZExpA4CCQE, rwgt::fReweightZNormCCQE, and rwgt::GENIEReweight::fReWgtParameterName.

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

void rwgt::GENIEReweight::ConfigureAGKY ( )
inherited

Configure the DIS nuclear model weight calculator.

Definition at line 854 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureCCRes ( )
inherited

Configure the NCRES calculator.

Definition at line 788 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::fMaCCResShape, and rwgt::GENIEReweight::fWcalc.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureCoh ( )
inherited

Configure the hadronization (AGKY) weight calculator.

Definition at line 848 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureDIS ( )
inherited

Configure the Coherant model weight calculator.

Definition at line 834 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::fDISshape, and rwgt::GENIEReweight::fWcalc.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureDISNucMod ( )
inherited

Configure the FG model weight calculator.

Definition at line 860 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureFGM ( )
inherited

Configure the Formation Zone weight calculator.

Definition at line 866 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureFZone ( )
inherited

Configure the intranuke weight calculator.

Definition at line 872 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureINuke ( )
inherited

configure the weight parameters being used

Definition at line 878 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureNC ( )
inherited

Configure the DIS (Bodek-Yang) weight calculator.

Definition at line 828 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureNCEL ( )
inherited

Configure the MaQE weight calculator.

Definition at line 757 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure(), and rwgt::GENIEReweight::ReweightFGM().

void rwgt::GENIEReweight::ConfigureNCRes ( )
inherited

Configure the ResBkg (kno) weight calculator.

Definition at line 802 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::fMaNCResShape, and rwgt::GENIEReweight::fWcalc.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureParameters ( )
inherited

Definition at line 884 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::CalculateSigma(), rwgt::GENIEReweight::fReWgtParameterName, rwgt::GENIEReweight::fReWgtParameterValue, rwgt::GENIEReweight::fUseSigmaDef, and rwgt::GENIEReweight::fWcalc.

Referenced by rwgt::GENIEReweight::Configure().

888  {
889  GSystSet & syst = fWcalc->Systematics();
890  for(unsigned int i = 0; i < fReWgtParameterName.size(); i++) {
891  LOG_INFO("GENIEReweight") << "Configuring GENIEReweight parameter: " << genie::rew::GSyst::AsString(genie::rew::EGSyst(fReWgtParameterName[i])) << " with value: " << fReWgtParameterValue[i];
892  if(fUseSigmaDef) {
893  syst.Set( (GSyst_t)fReWgtParameterName[i], fReWgtParameterValue[i]);
894  }
895  else {
897  syst.Set( (GSyst_t)fReWgtParameterName[i], parameter);
enum rwgt::EReweightLabel ReweightLabel_t
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 ( )
inherited

Configure the QE vector FF weight calculator.

Definition at line 763 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::fMaQEshape, rwgt::GENIEReweight::fReweightZexp, and rwgt::GENIEReweight::fWcalc.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureQEVec ( )
inherited

Configure the CCRES calculator.

Definition at line 782 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::ConfigureResBkg ( )
inherited

Configure the ResDecay weight calculator.

Definition at line 816 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::Configure().

void rwgt::GENIEReweight::DIS_BYrate ( )
inlineinherited

Definition at line 86 of file GENIEReweight.h.

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

Definition at line 85 of file GENIEReweight.h.

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

Definition at line 77 of file GENIEReweight.h.

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

Definition at line 76 of file GENIEReweight.h.

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

Definition at line 83 of file GENIEReweight.h.

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

Definition at line 82 of file GENIEReweight.h.

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

Return the configured value of the given parameter.

Definition at line 292 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::fNominalParameters.

Referenced by rwgt::GENIEReweight::CalculateSigma().

void rwgt::GENIEReweight::Reconfigure ( )
inherited

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.

References rwgt::GENIEReweight::Configure(), and rwgt::GENIEReweight::fWcalc.

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

Simple Configuration of the Intranuke Nuclear model.

Definition at line 702 of file GENIEReweight.cxx.

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

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

Simple Configurtion of the NC Resonance weight calculator.

Definition at line 567 of file GENIEReweight.cxx.

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

void rwgt::GENIEReweight::ReweightDIS ( double  aht,
double  bht,
double  cv1u,
double  cv2u 
)
inherited
void rwgt::GENIEReweight::ReweightDISnucl ( bool  mode)
inherited

Simple Configuration of the DIS AGKY hadronization model.

Definition at line 695 of file GENIEReweight.cxx.

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

void rwgt::GENIEReweight::ReweightFGM ( double  kF,
double  sf 
)
inherited

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.

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

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

Simple Configuration of the Fermigas model reweight calculator.

Definition at line 741 of file GENIEReweight.cxx.

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

void rwgt::GENIEReweight::ReweightIntraNuke ( int  name,
double  sigma 
)
inherited
void rwgt::GENIEReweight::ReweightNC ( double  norm)
inherited

Simple Configuration of the DIS FF model weight calculator.

Definition at line 669 of file GENIEReweight.cxx.

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

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

Simple Configurtion of the CCQE axial weight calculator.

Definition at line 529 of file GENIEReweight.cxx.

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

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

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.

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

void rwgt::GENIEReweight::ReweightNonResRvbarp1pi ( double  sigma)
inherited

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.

Referenced by rwgt::GENIEReweight::ReweightCoh().

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

Simple Configuration of the Resonance decay model weight calculator.

Definition at line 644 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::ReweightNonResRvp2pi().

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

Simple Configuration of the Non-Resonance Background weight calculator.

Definition at line 612 of file GENIEReweight.cxx.

Referenced by rwgt::GENIEReweight::ReweightCoh().

double rwgt::GENIEReweight::ReweightParameterValue ( ReweightLabel_t  rLabel)
inherited

Add reweight parameters to the list.

Definition at line 299 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::fReWgtParameterName, and rwgt::GENIEReweight::fReWgtParameterValue.

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

Simple Configuration of the CCQE vector weight calculator.

Definition at line 541 of file GENIEReweight.cxx.

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

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

Definition at line 549 of file GENIEReweight.cxx.

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

551  {
552  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.
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 
)
inherited
void rwgt::GENIEReweight::ReweightResDecay ( double  gamma,
double  eta,
double  theta 
)
inherited
void rwgt::GENIEReweight::ReweightResGanged ( double  ma,
double  mv = 0.0 
)
inherited
void rwgt::GENIEReweight::SetNominalValues ( )
inherited

Return the nominal value for the given parameter.

Definition at line 166 of file GENIEReweight.cxx.

References rwgt::GENIEReweight::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::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 rwgt::GENIEReweight::GENIEReweight().

void rwgt::GENIEReweight::UseSigmaDef ( )
inlineinherited

Definition at line 88 of file GENIEReweight.h.

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

Definition at line 89 of file GENIEReweight.h.

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

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
protectedinherited
bool rwgt::GENIEReweight::fMaCCResShape
protectedinherited
bool rwgt::GENIEReweight::fMaNCResShape
protectedinherited
bool rwgt::GENIEReweight::fMaQEshape
protectedinherited
std::map<int, double> rwgt::GENIEReweight::fNominalParameters
protectedinherited
bool rwgt::GENIEReweight::fReweightAGKY
protectedinherited

Definition at line 128 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightCCRes
protectedinherited

Definition at line 121 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightCoh
protectedinherited

Definition at line 127 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightDIS
protectedinherited

Definition at line 126 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightDISNucMod
protectedinherited

Definition at line 129 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightFGM
protectedinherited

Definition at line 130 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightFZone
protectedinherited

Definition at line 131 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightINuke
protectedinherited

Definition at line 132 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightMEC
protectedinherited

Definition at line 134 of file GENIEReweight.h.

bool rwgt::GENIEReweight::fReweightNC
protectedinherited

Definition at line 125 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightNCEL
protectedinherited

Definition at line 118 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightNCRes
protectedinherited

Definition at line 122 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightQEMA
protectedinherited

Definition at line 119 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightQEVec
protectedinherited

Definition at line 120 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightResBkg
protectedinherited

Definition at line 123 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightResDecay
protectedinherited

Definition at line 124 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::Configure().

bool rwgt::GENIEReweight::fReweightZexp
protectedinherited
std::vector<double> rwgt::GENIEReweight::fReWgtParameterValue
protectedinherited
bool rwgt::GENIEReweight::fUseSigmaDef
protectedinherited

Definition at line 141 of file GENIEReweight.h.

Referenced by rwgt::GENIEReweight::ConfigureParameters().


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