A KNO-based hadronization model. More...
#include <KNOHadronization.h>
Public Member Functions | |
KNOHadronization () | |
KNOHadronization (string config) | |
virtual | ~KNOHadronization () |
void | ProcessEventRecord (GHepRecord *event) const |
virtual void | Configure (const Registry &config) |
virtual 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 | |
void | LoadConfig (void) |
void | Initialize (void) const |
TClonesArray * | Hadronize (const Interaction *) const |
double | Weight (void) const |
PDGCodeList * | SelectParticles (const Interaction *) const |
TH1D * | MultiplicityProb (const Interaction *, Option_t *opt="") const |
bool | AssertValidity (const Interaction *i) const |
PDGCodeList * | GenerateHadronCodes (int mult, int maxQ, double W) const |
int | GenerateBaryonPdgCode (int mult, int maxQ, double W) const |
int | HadronShowerCharge (const Interaction *) const |
double | KNO (int nu, int nuc, double z) const |
double | AverageChMult (int nu, int nuc, double W) const |
void | HandleDecays (TClonesArray *particle_list) const |
double | ReWeightPt2 (const PDGCodeList &pdgcv) const |
double | MaxMult (const Interaction *i) const |
TH1D * | CreateMultProbHist (double maxmult) const |
void | ApplyRijk (const Interaction *i, bool norm, TH1D *mp) const |
double | Wmin (void) const |
TClonesArray * | DecayMethod1 (double W, const PDGCodeList &pdgv, bool reweight_decays) const |
TClonesArray * | DecayMethod2 (double W, const PDGCodeList &pdgv, bool reweight_decays) const |
TClonesArray * | DecayBackToBack (double W, const PDGCodeList &pdgv) const |
bool | PhaseSpaceDecay (TClonesArray &pl, TLorentzVector &pd, const PDGCodeList &pdgv, int offset=0, bool reweight=false) const |
Private Attributes | |
TGenPhaseSpace | fPhaseSpaceGenerator |
a phase space generator More... | |
double | fWeight |
weight for generated event More... | |
bool | fForceNeuGenLimit |
force upper hadronic multiplicity to NeuGEN limit More... | |
bool | fUseIsotropic2BDecays |
force isotropic, non-reweighted 2-body decays for consistency with neugen/daikon More... | |
bool | fUseBaryonXfPt2Param |
Generate baryon xF,pT2 from experimental parameterization? More... | |
bool | fReWeightDecays |
Reweight phase space decays? More... | |
bool | fForceDecays |
force decays of unstable hadrons produced? More... | |
bool | fForceMinMult |
force minimum multiplicity if (at low W) generated less? More... | |
bool | fGenerateWeighted |
generate weighted events? More... | |
double | fPhSpRwA |
parameter for phase space decay reweighting More... | |
double | fPpi0 |
{pi0 pi0 } production probability More... | |
double | fPpic |
{pi+ pi- } production probability More... | |
double | fPKc |
{K+ K- } production probability More... | |
double | fPK0 |
{K0 K0bar} production probability More... | |
double | fPpi0eta |
{Pi0 eta} production probability More... | |
double | fPeta |
{eta eta} production probability More... | |
double | fAvp |
offset in average charged hadron multiplicity = f(W) relation for vp More... | |
double | fAvn |
offset in average charged hadron multiplicity = f(W) relation for vn More... | |
double | fAvbp |
offset in average charged hadron multiplicity = f(W) relation for vbp More... | |
double | fAvbn |
offset in average charged hadron multiplicity = f(W) relation for vbn More... | |
double | fBvp |
slope in average charged hadron multiplicity = f(W) relation for vp More... | |
double | fBvn |
slope in average charged hadron multiplicity = f(W) relation for vn More... | |
double | fBvbp |
slope in average charged hadron multiplicity = f(W) relation for vbp More... | |
double | fBvbn |
slope in average charged hadron multiplicity = f(W) relation for vbn More... | |
double | fAhyperon |
parameter controlling strange baryon production probability via associated production (P=a+b*lnW^2) More... | |
double | fBhyperon |
see above More... | |
double | fCvp |
Levy function parameter for vp. More... | |
double | fCvn |
Levy function parameter for vn. More... | |
double | fCvbp |
Levy function parameter for vbp. More... | |
double | fCvbn |
Levy function parameter for vbn. More... | |
TF1 * | fBaryonXFpdf |
baryon xF PDF More... | |
TF1 * | fBaryonPT2pdf |
baryon pT^2 PDF More... | |
double | fWcut |
Rijk applied for W<Wcut (see DIS/RES join scheme) More... | |
double | fRvpCCm2 |
Rijk: vp, CC, multiplicity = 2. More... | |
double | fRvpCCm3 |
Rijk: vp, CC, multiplicity = 3. More... | |
double | fRvpNCm2 |
Rijk: vp, NC, multiplicity = 2. More... | |
double | fRvpNCm3 |
Rijk: vp, NC, multiplicity = 3. More... | |
double | fRvnCCm2 |
Rijk: vn, CC, multiplicity = 2. More... | |
double | fRvnCCm3 |
Rijk: vn, CC, multiplicity = 3. More... | |
double | fRvnNCm2 |
Rijk: vn, NC, multiplicity = 2. More... | |
double | fRvnNCm3 |
Rijk: vn, NC, multiplicity = 3. More... | |
double | fRvbpCCm2 |
Rijk: vbp, CC, multiplicity = 2. More... | |
double | fRvbpCCm3 |
Rijk: vbp, CC, multiplicity = 3. More... | |
double | fRvbpNCm2 |
Rijk: vbp, NC, multiplicity = 2. More... | |
double | fRvbpNCm3 |
Rijk: vbp, NC, multiplicity = 3. More... | |
double | fRvbnCCm2 |
Rijk: vbn, CC, multiplicity = 2. More... | |
double | fRvbnCCm3 |
Rijk: vbn, CC, multiplicity = 3. More... | |
double | fRvbnNCm2 |
Rijk: vbn, NC, multiplicity = 2. More... | |
double | fRvbnNCm3 |
Rijk: vbn, NC, multiplicity = 3. More... | |
Friends | |
class | KNOTunedQPMDISPXSec |
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) |
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 |
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... | |
A KNO-based hadronization model.
Is a concrete implementation of the EventRecordVisitorI interface.
August 17, 2004
Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE
Definition at line 57 of file KNOHadronization.h.
KNOHadronization::KNOHadronization | ( | ) |
Definition at line 67 of file KNOHadronization.cxx.
KNOHadronization::KNOHadronization | ( | string | config | ) |
Definition at line 75 of file KNOHadronization.cxx.
|
virtual |
Definition at line 83 of file KNOHadronization.cxx.
|
private |
Definition at line 1570 of file KNOHadronization.cxx.
|
private |
Definition at line 1536 of file KNOHadronization.cxx.
|
private |
Definition at line 666 of file KNOHadronization.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 490 of file KNOHadronization.cxx.
|
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 496 of file KNOHadronization.cxx.
|
private |
Definition at line 1558 of file KNOHadronization.cxx.
|
private |
Definition at line 871 of file KNOHadronization.cxx.
|
private |
Definition at line 732 of file KNOHadronization.cxx.
|
private |
Definition at line 755 of file KNOHadronization.cxx.
|
private |
Definition at line 1383 of file KNOHadronization.cxx.
|
private |
Definition at line 1109 of file KNOHadronization.cxx.
|
private |
Definition at line 172 of file KNOHadronization.cxx.
|
private |
Definition at line 700 of file KNOHadronization.cxx.
|
private |
Definition at line 1466 of file KNOHadronization.cxx.
|
private |
Definition at line 92 of file KNOHadronization.cxx.
|
private |
Definition at line 631 of file KNOHadronization.cxx.
|
private |
Definition at line 504 of file KNOHadronization.cxx.
|
private |
Definition at line 1550 of file KNOHadronization.cxx.
|
private |
Definition at line 372 of file KNOHadronization.cxx.
|
private |
Definition at line 937 of file KNOHadronization.cxx.
|
virtual |
Implements genie::EventRecordVisitorI.
Definition at line 97 of file KNOHadronization.cxx.
|
private |
Definition at line 1085 of file KNOHadronization.cxx.
|
private |
Definition at line 244 of file KNOHadronization.cxx.
|
private |
Definition at line 483 of file KNOHadronization.cxx.
|
private |
Definition at line 1681 of file KNOHadronization.cxx.
|
friend |
Definition at line 73 of file KNOHadronization.h.
|
private |
parameter controlling strange baryon production probability via associated production (P=a+b*lnW^2)
Definition at line 134 of file KNOHadronization.h.
|
private |
offset in average charged hadron multiplicity = f(W) relation for vbn
Definition at line 129 of file KNOHadronization.h.
|
private |
offset in average charged hadron multiplicity = f(W) relation for vbp
Definition at line 128 of file KNOHadronization.h.
|
private |
offset in average charged hadron multiplicity = f(W) relation for vn
Definition at line 127 of file KNOHadronization.h.
|
private |
offset in average charged hadron multiplicity = f(W) relation for vp
Definition at line 126 of file KNOHadronization.h.
|
private |
baryon pT^2 PDF
Definition at line 141 of file KNOHadronization.h.
|
private |
baryon xF PDF
Definition at line 140 of file KNOHadronization.h.
|
private |
see above
Definition at line 135 of file KNOHadronization.h.
|
private |
slope in average charged hadron multiplicity = f(W) relation for vbn
Definition at line 133 of file KNOHadronization.h.
|
private |
slope in average charged hadron multiplicity = f(W) relation for vbp
Definition at line 132 of file KNOHadronization.h.
|
private |
slope in average charged hadron multiplicity = f(W) relation for vn
Definition at line 131 of file KNOHadronization.h.
|
private |
slope in average charged hadron multiplicity = f(W) relation for vp
Definition at line 130 of file KNOHadronization.h.
|
private |
Levy function parameter for vbn.
Definition at line 139 of file KNOHadronization.h.
|
private |
Levy function parameter for vbp.
Definition at line 138 of file KNOHadronization.h.
|
private |
Levy function parameter for vn.
Definition at line 137 of file KNOHadronization.h.
|
private |
Levy function parameter for vp.
Definition at line 136 of file KNOHadronization.h.
|
private |
force decays of unstable hadrons produced?
Definition at line 116 of file KNOHadronization.h.
|
private |
force minimum multiplicity if (at low W) generated less?
Definition at line 117 of file KNOHadronization.h.
|
private |
force upper hadronic multiplicity to NeuGEN limit
Definition at line 111 of file KNOHadronization.h.
|
private |
generate weighted events?
Definition at line 118 of file KNOHadronization.h.
|
private |
{eta eta} production probability
Definition at line 125 of file KNOHadronization.h.
|
mutableprivate |
a phase space generator
Definition at line 104 of file KNOHadronization.h.
|
private |
parameter for phase space decay reweighting
Definition at line 119 of file KNOHadronization.h.
|
private |
{K0 K0bar} production probability
Definition at line 123 of file KNOHadronization.h.
|
private |
{K+ K- } production probability
Definition at line 122 of file KNOHadronization.h.
|
private |
{pi0 pi0 } production probability
Definition at line 120 of file KNOHadronization.h.
|
private |
{Pi0 eta} production probability
Definition at line 124 of file KNOHadronization.h.
|
private |
{pi+ pi- } production probability
Definition at line 121 of file KNOHadronization.h.
|
private |
Reweight phase space decays?
Definition at line 115 of file KNOHadronization.h.
|
private |
Rijk: vbn, CC, multiplicity = 2.
Definition at line 157 of file KNOHadronization.h.
|
private |
Rijk: vbn, CC, multiplicity = 3.
Definition at line 158 of file KNOHadronization.h.
|
private |
Rijk: vbn, NC, multiplicity = 2.
Definition at line 159 of file KNOHadronization.h.
|
private |
Rijk: vbn, NC, multiplicity = 3.
Definition at line 160 of file KNOHadronization.h.
|
private |
Rijk: vbp, CC, multiplicity = 2.
Definition at line 153 of file KNOHadronization.h.
|
private |
Rijk: vbp, CC, multiplicity = 3.
Definition at line 154 of file KNOHadronization.h.
|
private |
Rijk: vbp, NC, multiplicity = 2.
Definition at line 155 of file KNOHadronization.h.
|
private |
Rijk: vbp, NC, multiplicity = 3.
Definition at line 156 of file KNOHadronization.h.
|
private |
Rijk: vn, CC, multiplicity = 2.
Definition at line 149 of file KNOHadronization.h.
|
private |
Rijk: vn, CC, multiplicity = 3.
Definition at line 150 of file KNOHadronization.h.
|
private |
Rijk: vn, NC, multiplicity = 2.
Definition at line 151 of file KNOHadronization.h.
|
private |
Rijk: vn, NC, multiplicity = 3.
Definition at line 152 of file KNOHadronization.h.
|
private |
Rijk: vp, CC, multiplicity = 2.
Definition at line 145 of file KNOHadronization.h.
|
private |
Rijk: vp, CC, multiplicity = 3.
Definition at line 146 of file KNOHadronization.h.
|
private |
Rijk: vp, NC, multiplicity = 2.
Definition at line 147 of file KNOHadronization.h.
|
private |
Rijk: vp, NC, multiplicity = 3.
Definition at line 148 of file KNOHadronization.h.
|
private |
Generate baryon xF,pT2 from experimental parameterization?
Definition at line 114 of file KNOHadronization.h.
|
private |
force isotropic, non-reweighted 2-body decays for consistency with neugen/daikon
Definition at line 113 of file KNOHadronization.h.
|
private |
Rijk applied for W<Wcut (see DIS/RES join scheme)
Definition at line 144 of file KNOHadronization.h.
|
mutableprivate |
weight for generated event
Definition at line 105 of file KNOHadronization.h.