GENIEGenerator
|
An implementation of the neutrino - (free) nucleon [inverse beta decay] cross section, valid from the threshold energy (1.806MeV) up to hundreds of MeV. Currently cut off at 1/2 nucleon mass. Based on the Strumia/Vissani paper Phys.Lett.B564:42-54,2003. More...
#include <StrumiaVissaniIBDPXSec.h>
Public Member Functions | |
StrumiaVissaniIBDPXSec () | |
StrumiaVissaniIBDPXSec (string config) | |
virtual | ~StrumiaVissaniIBDPXSec () |
double | XSec (const Interaction *i, KinePhaseSpace_t k) const |
Compute the cross section for the input interaction. More... | |
double | Integral (const Interaction *i) const |
bool | ValidProcess (const Interaction *i) const |
Can this cross section algorithm handle the input process? More... | |
bool | ValidKinematics (const Interaction *i) const |
Is the input kinematical point a physically allowed one? More... | |
void | Configure (const Registry &config) |
void | Configure (string config) |
Public Member Functions inherited from genie::XSecAlgorithmI | |
virtual | ~XSecAlgorithmI () |
Public Member Functions inherited from genie::Algorithm | |
virtual | ~Algorithm () |
virtual void | FindConfig (void) |
virtual const Registry & | GetConfig (void) const |
Registry * | GetOwnedConfig (void) |
virtual const AlgId & | Id (void) const |
Get algorithm ID. More... | |
virtual AlgStatus_t | GetStatus (void) const |
Get algorithm status. More... | |
virtual bool | AllowReconfig (void) const |
virtual AlgCmp_t | Compare (const Algorithm *alg) const |
Compare with input algorithm. More... | |
virtual void | SetId (const AlgId &id) |
Set algorithm ID. More... | |
virtual void | SetId (string name, string config) |
const Algorithm * | SubAlg (const RgKey ®istry_key) const |
void | AdoptConfig (void) |
void | AdoptSubstructure (void) |
virtual void | Print (ostream &stream) const |
Print algorithm info. More... | |
Private Member Functions | |
void | LoadConfig (void) |
double | dSigDt (const double sMinusU, const double sMinusMnuc, const double t) const |
double | MtxElm (const double sMinusU, const double t) const |
double | RadiativeCorr (const double Ee) const |
double | FinalStateCorr (const double Ee) const |
Static Private Member Functions | |
static double | MAterm (const double t, const double t2, const double f124, const double f22, const double g124, const double g224meM2, const double f1cf2R8, const double g1cg2R16me, const double g1cFsumR) |
static double | MBterm (const double t, const double f1cf2, const double g1cg2, const double g1cFsumR, const double f22) |
static double | MCterm (const double t, const double f124, const double f22, const double g124) |
Private Attributes | |
double | fCosCabibbo2 |
double | fg1of0 |
double | fMa2 |
double | fMv2 |
double | fNucleonMMDiff |
double | fEpsilon |
const XSecIntegratorI * | fXSecIntegrator |
Additional Inherited Members | |
Static Public Member Functions inherited from genie::Algorithm | |
static string | BuildParamVectKey (const std::string &comm_name, unsigned int i) |
static string | BuildParamVectSizeKey (const std::string &comm_name) |
static string | BuildParamMatKey (const std::string &comm_name, unsigned int i, unsigned int j) |
static string | BuildParamMatRowSizeKey (const std::string &comm_name) |
static string | BuildParamMatColSizeKey (const std::string &comm_name) |
Protected Member Functions inherited from genie::XSecAlgorithmI | |
XSecAlgorithmI () | |
XSecAlgorithmI (string name) | |
XSecAlgorithmI (string name, string config) | |
Protected Member Functions inherited from genie::Algorithm | |
Algorithm () | |
Algorithm (string name) | |
Algorithm (string name, string config) | |
void | Initialize (void) |
void | DeleteConfig (void) |
void | DeleteSubstructure (void) |
Registry * | ExtractLocalConfig (const Registry &in) const |
Registry * | ExtractLowerConfig (const Registry &in, const string &alg_key) const |
Split an incoming configuration Registry into a block valid for the sub-algo identified by alg_key. More... | |
template<class T > | |
bool | GetParam (const RgKey &name, T &p, bool is_top_call=true) const |
template<class T > | |
bool | GetParamDef (const RgKey &name, T &p, const T &def) const |
template<class T > | |
int | GetParamVect (const std::string &comm_name, std::vector< T > &v, bool is_top_call=true) const |
Handle to load vectors of parameters. More... | |
int | GetParamVectKeys (const std::string &comm_name, std::vector< RgKey > &k, bool is_top_call=true) const |
template<class T > | |
int | GetParamMat (const std::string &comm_name, TMatrixT< T > &mat, bool is_top_call=true) const |
Handle to load matrix of parameters. More... | |
template<class T > | |
int | GetParamMatSym (const std::string &comm_name, TMatrixTSym< T > &mat, bool is_top_call=true) const |
int | GetParamMatKeys (const std::string &comm_name, std::vector< RgKey > &k, bool is_top_call=true) const |
int | AddTopRegistry (Registry *rp, bool owns=true) |
add registry with top priority, also update ownership More... | |
int | AddLowRegistry (Registry *rp, bool owns=true) |
add registry with lowest priority, also update ownership More... | |
int | MergeTopRegistry (const Registry &r) |
int | AddTopRegisties (const vector< Registry * > &rs, bool owns=false) |
Add registries with top priority, also udated Ownerships. More... | |
Protected Attributes inherited from genie::Algorithm | |
bool | fAllowReconfig |
bool | fOwnsSubstruc |
true if it owns its substructure (sub-algs,...) More... | |
AlgId | fID |
algorithm name and configuration set More... | |
vector< Registry * > | fConfVect |
vector< bool > | fOwnerships |
ownership for every registry in fConfVect More... | |
AlgStatus_t | fStatus |
algorithm execution status More... | |
AlgMap * | fOwnedSubAlgMp |
local pool for owned sub-algs (taken out of the factory pool) More... | |
An implementation of the neutrino - (free) nucleon [inverse beta decay] cross section, valid from the threshold energy (1.806MeV) up to hundreds of MeV. Currently cut off at 1/2 nucleon mass. Based on the Strumia/Vissani paper Phys.Lett.B564:42-54,2003.
Definition at line 32 of file StrumiaVissaniIBDPXSec.h.
StrumiaVissaniIBDPXSec::StrumiaVissaniIBDPXSec | ( | ) |
Definition at line 27 of file StrumiaVissaniIBDPXSec.cxx.
StrumiaVissaniIBDPXSec::StrumiaVissaniIBDPXSec | ( | string | config | ) |
Definition at line 34 of file StrumiaVissaniIBDPXSec.cxx.
|
virtual |
Definition at line 41 of file StrumiaVissaniIBDPXSec.cxx.
|
virtual |
Configure the algorithm with an external registry The registry is merged with the top level registry if it is owned, Otherwise a copy of it is added with the highest priority
Reimplemented from genie::Algorithm.
Definition at line 158 of file StrumiaVissaniIBDPXSec.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
|
virtual |
Configure the algorithm from the AlgoConfigPool based on param_set string given in input An algorithm contains a vector of registries coming from different xml configuration files, which are loaded according a very precise prioriy This methods will load a number registries in order of priority: 1) "Tunable" parameter set from CommonParametes. This is loaded with the highest prioriry and it is designed to be used for tuning procedure Usage not expected from the user. 2) For every string defined in "CommonParame" the corresponding parameter set will be loaded from CommonParameter.xml 3) parameter set specified by the config string and defined in the xml file of the algorithm 4) if config is not "Default" also the Default parameter set from the same xml file will be loaded Effectively this avoids the repetion of a parameter when it is not changed in the requested configuration
Reimplemented from genie::Algorithm.
Definition at line 164 of file StrumiaVissaniIBDPXSec.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
|
private |
Definition at line 214 of file StrumiaVissaniIBDPXSec.cxx.
References fCosCabibbo2, fEpsilon, genie::constants::kGF2, genie::constants::kPi, and MtxElm().
Referenced by XSec().
|
private |
Definition at line 379 of file StrumiaVissaniIBDPXSec.cxx.
References fEpsilon, genie::constants::kAem, genie::constants::kElectronMass2, and genie::constants::kPi.
Referenced by XSec().
|
virtual |
Integrate the model over the kinematic phase space available to the input interaction (kinematical cuts can be included)
Implements genie::XSecAlgorithmI.
Definition at line 110 of file StrumiaVissaniIBDPXSec.cxx.
References fXSecIntegrator, genie::XSecIntegratorI::Integrate(), ValidKinematics(), and ValidProcess().
|
private |
Definition at line 170 of file StrumiaVissaniIBDPXSec.cxx.
References fCosCabibbo2, fEpsilon, fg1of0, fMa2, fMv2, fNucleonMMDiff, fXSecIntegrator, genie::Algorithm::GetParam(), LOG, pINFO, and genie::Algorithm::SubAlg().
Referenced by Configure().
|
staticprivate |
Definition at line 299 of file StrumiaVissaniIBDPXSec.cxx.
References genie::constants::k4NucMass2, genie::constants::kElectronMass2, genie::constants::kNucleonMass, genie::constants::kNucleonMass2, genie::constants::kNucMassDiff, and genie::constants::kNucMassDiff2.
Referenced by MtxElm().
|
staticprivate |
Definition at line 339 of file StrumiaVissaniIBDPXSec.cxx.
References genie::constants::k4EleMass2, genie::constants::kNucleonMass2, and genie::constants::kNucMassDiff.
Referenced by MtxElm().
|
staticprivate |
Definition at line 354 of file StrumiaVissaniIBDPXSec.cxx.
References genie::constants::kNucleonMass2.
Referenced by MtxElm().
|
private |
Definition at line 232 of file StrumiaVissaniIBDPXSec.cxx.
References fEpsilon, fg1of0, fMa2, fMv2, fNucleonMMDiff, genie::constants::k4NucMass2, genie::constants::kElectronMass2, genie::constants::kNucleonMass2, genie::constants::kPionMass2, LOG, MAterm(), MBterm(), MCterm(), and pDEBUG.
Referenced by dSigDt().
|
private |
Definition at line 365 of file StrumiaVissaniIBDPXSec.cxx.
References fEpsilon, genie::constants::kAem, genie::constants::kElectronMass, genie::constants::kPi, and genie::constants::kProtonMass.
Referenced by XSec().
|
virtual |
Is the input kinematical point a physically allowed one?
Reimplemented from genie::XSecAlgorithmI.
Definition at line 140 of file StrumiaVissaniIBDPXSec.cxx.
References genie::KPhaseSpace::IsAboveThreshold(), genie::InitialState::IsNuBarP(), genie::InitialState::IsNuN(), genie::kISkipKinematicChk, genie::constants::kNucleonMass, genie::kRfHitNucRest, LOG, pERROR, genie::Interaction::PhaseSpace(), and genie::InitialState::ProbeE().
Referenced by Integral(), and XSec().
|
virtual |
Can this cross section algorithm handle the input process?
Implements genie::XSecAlgorithmI.
Definition at line 124 of file StrumiaVissaniIBDPXSec.cxx.
References genie::pdg::IsAntiNuE(), genie::ProcessInfo::IsInverseBetaDecay(), genie::Target::IsNeutron(), genie::pdg::IsNuE(), genie::Target::IsProton(), genie::kISkipProcessChk, LOG, pERROR, genie::InitialState::ProbePdg(), genie::Interaction::ProcInfo(), and genie::InitialState::Tgt().
Referenced by Integral(), and XSec().
|
virtual |
Compute the cross section for the input interaction.
Implements genie::XSecAlgorithmI.
Definition at line 46 of file StrumiaVissaniIBDPXSec.cxx.
References dSigDt(), FinalStateCorr(), genie::Target::IsProton(), genie::utils::mec::J(), genie::utils::kinematics::Jacobian(), genie::constants::kElectronMass2, genie::Interaction::Kine(), genie::constants::kNeutronMass, genie::constants::kNeutronMass2, genie::constants::kProtonMass, genie::constants::kProtonMass2, genie::kPSQ2fE, genie::kPSq2fE, genie::kRfHitNucRest, LOG, pDEBUG, genie::InitialState::ProbeE(), genie::Kinematics::q2(), RadiativeCorr(), genie::InitialState::Tgt(), ValidKinematics(), and ValidProcess().
|
private |
Definition at line 81 of file StrumiaVissaniIBDPXSec.h.
Referenced by dSigDt(), and LoadConfig().
|
private |
Definition at line 86 of file StrumiaVissaniIBDPXSec.h.
Referenced by dSigDt(), FinalStateCorr(), LoadConfig(), MtxElm(), and RadiativeCorr().
|
private |
Definition at line 82 of file StrumiaVissaniIBDPXSec.h.
Referenced by LoadConfig(), and MtxElm().
|
private |
Definition at line 83 of file StrumiaVissaniIBDPXSec.h.
Referenced by LoadConfig(), and MtxElm().
|
private |
Definition at line 84 of file StrumiaVissaniIBDPXSec.h.
Referenced by LoadConfig(), and MtxElm().
|
private |
Definition at line 85 of file StrumiaVissaniIBDPXSec.h.
Referenced by LoadConfig(), and MtxElm().
|
private |
Definition at line 88 of file StrumiaVissaniIBDPXSec.h.
Referenced by Integral(), and LoadConfig().