GENIEGenerator
|
Provides access to the PYTHIA hadronization models.
Is a concrete implementation of the EventRecordVisitorI interface.
More...
#include <Pythia8Hadro2019.h>
Public Member Functions | |
Pythia8Hadro2019 () | |
Pythia8Hadro2019 (string config) | |
virtual | ~Pythia8Hadro2019 () |
void | ProcessEventRecord (GHepRecord *event) const |
void | Configure (const Registry &config) |
void | Configure (string config) |
Public Member Functions inherited from genie::EventRecordVisitorI | |
virtual | ~EventRecordVisitorI () |
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 | |
bool | Hadronize (GHepRecord *event) const |
void | CopyOriginalDecayFlags (void) const |
void | SetDesiredDecayFlags (void) const |
void | RestoreOriginalDecayFlags (void) const |
void | LoadConfig (void) |
void | Initialize (void) |
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::PythiaBaseHadro2019 | |
PythiaBaseHadro2019 () | |
PythiaBaseHadro2019 (string name) | |
PythiaBaseHadro2019 (string name, string config) | |
virtual | ~PythiaBaseHadro2019 () |
virtual void | MakeQuarkDiquarkAssignments (const Interaction *in) const |
virtual bool | AssertValidity (const Interaction *in) const |
Protected Member Functions inherited from genie::EventRecordVisitorI | |
EventRecordVisitorI () | |
EventRecordVisitorI (string name) | |
EventRecordVisitorI (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::PythiaBaseHadro2019 | |
int | fLeadingQuark |
int | fRemnantDiquark |
double | fSSBarSuppression |
ssbar suppression More... | |
double | fGaussianPt2 |
gaussian pt2 distribution width More... | |
double | fNonGaussianPt2Tail |
non gaussian pt2 tail parameterization More... | |
double | fRemainingECutoff |
remaining E cutoff stopping fragmentation More... | |
double | fDiQuarkSuppression |
di-quark suppression parameter More... | |
double | fLightVMesonSuppression |
light vector meson suppression More... | |
double | fSVMesonSuppression |
strange vector meson suppression More... | |
double | fLunda |
Lund a parameter. More... | |
double | fLundb |
Lund b parameter. More... | |
double | fLundaDiq |
adjustment of Lund a for di-quark More... | |
bool | fOriDecayFlag_pi0 |
bool | fOriDecayFlag_K0 |
bool | fOriDecayFlag_K0b |
bool | fOriDecayFlag_L0 |
bool | fOriDecayFlag_L0b |
bool | fOriDecayFlag_Dm |
bool | fOriDecayFlag_D0 |
bool | fOriDecayFlag_Dp |
bool | fOriDecayFlag_Dpp |
bool | fReqDecayFlag_pi0 |
bool | fReqDecayFlag_K0 |
bool | fReqDecayFlag_K0b |
bool | fReqDecayFlag_L0 |
bool | fReqDecayFlag_L0b |
bool | fReqDecayFlag_Dm |
bool | fReqDecayFlag_D0 |
bool | fReqDecayFlag_Dp |
bool | fReqDecayFlag_Dpp |
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... | |
Provides access to the PYTHIA hadronization models.
Is a concrete implementation of the EventRecordVisitorI interface.
Shivesh Mandalia s.p.m Queen Mary University of London anda lia@q mul. ac.uk
Definition at line 37 of file Pythia8Hadro2019.h.
Pythia8Hadro2019::Pythia8Hadro2019 | ( | ) |
Definition at line 44 of file Pythia8Hadro2019.cxx.
References Initialize().
Pythia8Hadro2019::Pythia8Hadro2019 | ( | string | config | ) |
Definition at line 50 of file Pythia8Hadro2019.cxx.
References Initialize().
|
virtual |
Definition at line 56 of file Pythia8Hadro2019.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 320 of file Pythia8Hadro2019.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 326 of file Pythia8Hadro2019.cxx.
References genie::Algorithm::Configure(), and LoadConfig().
|
privatevirtual |
Implements genie::PythiaBaseHadro2019.
Definition at line 260 of file Pythia8Hadro2019.cxx.
References genie::PythiaBaseHadro2019::fOriDecayFlag_D0, genie::PythiaBaseHadro2019::fOriDecayFlag_Dm, genie::PythiaBaseHadro2019::fOriDecayFlag_Dp, genie::PythiaBaseHadro2019::fOriDecayFlag_Dpp, genie::PythiaBaseHadro2019::fOriDecayFlag_K0, genie::PythiaBaseHadro2019::fOriDecayFlag_K0b, genie::PythiaBaseHadro2019::fOriDecayFlag_L0, genie::PythiaBaseHadro2019::fOriDecayFlag_L0b, genie::PythiaBaseHadro2019::fOriDecayFlag_pi0, genie::kPdgAntiK0, genie::kPdgAntiLambda, genie::kPdgK0, genie::kPdgLambda, genie::kPdgP33m1232_Delta0, genie::kPdgP33m1232_DeltaM, genie::kPdgP33m1232_DeltaP, genie::kPdgP33m1232_DeltaPP, genie::kPdgPi0, LOG, and pDEBUG.
|
privatevirtual |
Implements genie::PythiaBaseHadro2019.
Definition at line 79 of file Pythia8Hadro2019.cxx.
References e, genie::PythiaBaseHadro2019::fLeadingQuark, genie::PythiaBaseHadro2019::fRemnantDiquark, genie::Kinematics::HadSystP4(), genie::Interaction::InitState(), genie::pdg::IsChargedLepton(), genie::pdg::IsDiQuark(), genie::pdg::IsNeutralLepton(), genie::Target::IsNucleus(), genie::pdg::IsQuark(), genie::Interaction::Kine(), genie::kIStDISPreFragmHadronicState, genie::kIStHadronInTheNucleus, genie::kIStStableFinalState, genie::kPdgGamma, LOG, pDEBUG, genie::GHepParticle::Pdg(), pERROR, pINFO, pNOTICE, genie::GHepParticle::Status(), genie::InitialState::Tgt(), genie::Kinematics::W(), genie::utils::kinematics::W(), and genie::GHepParticle::X4().
|
privatevirtual |
Reimplemented from genie::PythiaBaseHadro2019.
Definition at line 355 of file Pythia8Hadro2019.cxx.
References genie::RandomGen::GetSeed(), genie::RandomGen::Instance(), LOG, and pINFO.
Referenced by Pythia8Hadro2019().
|
privatevirtual |
Reimplemented from genie::PythiaBaseHadro2019.
Definition at line 332 of file Pythia8Hadro2019.cxx.
References genie::PythiaBaseHadro2019::fDiQuarkSuppression, genie::PythiaBaseHadro2019::fGaussianPt2, genie::PythiaBaseHadro2019::fLightVMesonSuppression, genie::PythiaBaseHadro2019::fLunda, genie::PythiaBaseHadro2019::fLundaDiq, genie::PythiaBaseHadro2019::fLundb, genie::PythiaBaseHadro2019::fNonGaussianPt2Tail, genie::PythiaBaseHadro2019::fRemainingECutoff, genie::PythiaBaseHadro2019::fSSBarSuppression, genie::PythiaBaseHadro2019::fSVMesonSuppression, genie::Algorithm::GetConfig(), genie::PythiaBaseHadro2019::LoadConfig(), LOG, and pDEBUG.
Referenced by Configure().
|
virtual |
Reimplemented from genie::PythiaBaseHadro2019.
Definition at line 63 of file Pythia8Hadro2019.cxx.
References genie::gAbortingInErr, LOG, pFATAL, and genie::PythiaBaseHadro2019::ProcessEventRecord().
|
privatevirtual |
Implements genie::PythiaBaseHadro2019.
Definition at line 305 of file Pythia8Hadro2019.cxx.
References genie::PythiaBaseHadro2019::fOriDecayFlag_D0, genie::PythiaBaseHadro2019::fOriDecayFlag_Dm, genie::PythiaBaseHadro2019::fOriDecayFlag_Dp, genie::PythiaBaseHadro2019::fOriDecayFlag_Dpp, genie::PythiaBaseHadro2019::fOriDecayFlag_K0, genie::PythiaBaseHadro2019::fOriDecayFlag_K0b, genie::PythiaBaseHadro2019::fOriDecayFlag_L0, genie::PythiaBaseHadro2019::fOriDecayFlag_L0b, genie::PythiaBaseHadro2019::fOriDecayFlag_pi0, genie::kPdgAntiK0, genie::kPdgAntiLambda, genie::kPdgK0, genie::kPdgLambda, genie::kPdgP33m1232_Delta0, genie::kPdgP33m1232_DeltaM, genie::kPdgP33m1232_DeltaP, genie::kPdgP33m1232_DeltaPP, and genie::kPdgPi0.
|
privatevirtual |
Implements genie::PythiaBaseHadro2019.
Definition at line 290 of file Pythia8Hadro2019.cxx.
References genie::PythiaBaseHadro2019::fReqDecayFlag_D0, genie::PythiaBaseHadro2019::fReqDecayFlag_Dm, genie::PythiaBaseHadro2019::fReqDecayFlag_Dp, genie::PythiaBaseHadro2019::fReqDecayFlag_Dpp, genie::PythiaBaseHadro2019::fReqDecayFlag_K0, genie::PythiaBaseHadro2019::fReqDecayFlag_K0b, genie::PythiaBaseHadro2019::fReqDecayFlag_L0, genie::PythiaBaseHadro2019::fReqDecayFlag_L0b, genie::PythiaBaseHadro2019::fReqDecayFlag_pi0, genie::kPdgAntiK0, genie::kPdgAntiLambda, genie::kPdgK0, genie::kPdgLambda, genie::kPdgP33m1232_Delta0, genie::kPdgP33m1232_DeltaM, genie::kPdgP33m1232_DeltaP, genie::kPdgP33m1232_DeltaPP, and genie::kPdgPi0.