Baryon resonance decayer module. More...
#include <BaryonResonanceDecayer.h>
Public Member Functions | |
BaryonResonanceDecayer () | |
BaryonResonanceDecayer (string config) | |
virtual | ~BaryonResonanceDecayer () |
void | ProcessEventRecord (GHepRecord *event) const |
virtual void | LoadConfig (void) |
Private Member Functions | |
void | Initialize (void) const |
bool | IsHandled (int pdgc) const |
void | InhibitDecay (int pdgc, TDecayChannel *ch=0) const |
void | UnInhibitDecay (int pdgc, TDecayChannel *ch=0) const |
double | Weight (void) const |
bool | Decay (int dec_part_id, GHepRecord *event) const |
TDecayChannel * | SelectDecayChannel (int dec_part_id, GHepRecord *event, bool &to_be_deleted) const |
bool | DecayExclusive (int dec_part_id, GHepRecord *event, TDecayChannel *ch) const |
TObjArray * | EvolveDeltaBR (int dec_part_pdgc, TObjArray *decay_list, double W) const |
double | EvolveDeltaDecayWidth (int dec_part_pdgc, TDecayChannel *ch, double W) const |
bool | AcceptPionDecay (TLorentzVector lab_pion, int dec_part_id, const GHepRecord *event) const |
double | FinalStateMass (TDecayChannel *ch) const |
bool | IsPiNDecayChannel (TDecayChannel *ch) const |
double | FindDistributionExtrema (unsigned int i, bool find_maximum=false) const |
Static Private Member Functions | |
static bool | IsDelta (int dec_part_pdgc) |
static bool | HasEvolvedBRs (int dec_part_pdgc) |
static double | PionAngularDist (const double *x, const double *par) |
static double | MinusPionAngularDist (const double *x, const double *par) |
Private Attributes | |
TGenPhaseSpace | fPhaseSpaceGenerator |
double | fWeight |
bool | fDeltaThetaOnly |
double | fMaxTolerance |
std::vector< double > | fR33 |
std::vector< double > | fR31 |
std::vector< double > | fR3m1 |
std::vector< double * > | fRParams |
std::vector< double > | fQ2Thresholds |
std::vector< double > | fW_max |
double | fFFScaling |
Additional Inherited Members | |
Protected Member Functions inherited from genie::Decayer | |
Decayer () | |
Decayer (string name) | |
Decayer (string name, string config) | |
virtual bool | ToBeDecayed (int pdgc, GHepStatus_t ist) const |
virtual bool | IsUnstable (int pdgc) const |
virtual | ~Decayer () |
void | Configure (const Registry &config) |
void | Configure (string config) |
Protected Member Functions inherited from genie::EventRecordVisitorI | |
EventRecordVisitorI () | |
EventRecordVisitorI (string name) | |
EventRecordVisitorI (string name, string config) | |
virtual | ~EventRecordVisitorI () |
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... | |
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... | |
Static Protected 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 Attributes inherited from genie::Decayer | |
bool | fGenerateWeighted |
generate weighted or unweighted decays? More... | |
bool | fRunBefHadroTransp |
is invoked before or after FSI? More... | |
PDGCodeList | fParticlesToDecay |
list of particles to be decayed More... | |
PDGCodeList | fParticlesNotToDecay |
list of particles for which decay is inhibited 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... | |
Baryon resonance decayer module.
A simple resonance decay simulation built using resonance branching fraction data and an N-body phase space generator. Since the resonance can be produced off-the-mass-shell, decay channels with total-mass > W are suppressed.
Is a concerete implementation of the EventRecordVisitorI interface.
November 27, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 36 of file BaryonResonanceDecayer.h.
BaryonResonanceDecayer::BaryonResonanceDecayer | ( | ) |
Definition at line 41 of file BaryonResonanceDecayer.cxx.
BaryonResonanceDecayer::BaryonResonanceDecayer | ( | string | config | ) |
Definition at line 47 of file BaryonResonanceDecayer.cxx.
|
virtual |
Definition at line 53 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 594 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 110 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 270 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 433 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 484 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 686 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 812 of file BaryonResonanceDecayer.cxx.
|
staticprivate |
Definition at line 786 of file BaryonResonanceDecayer.cxx.
|
privatevirtual |
Implements genie::Decayer.
Definition at line 756 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 740 of file BaryonResonanceDecayer.cxx.
|
staticprivate |
Definition at line 776 of file BaryonResonanceDecayer.cxx.
|
privatevirtual |
Implements genie::Decayer.
Definition at line 745 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 713 of file BaryonResonanceDecayer.cxx.
|
virtual |
Reimplemented from genie::Decayer.
Definition at line 863 of file BaryonResonanceDecayer.cxx.
|
inlinestaticprivate |
Definition at line 74 of file BaryonResonanceDecayer.h.
|
staticprivate |
Definition at line 798 of file BaryonResonanceDecayer.cxx.
|
virtual |
Implements genie::EventRecordVisitorI.
Definition at line 62 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 157 of file BaryonResonanceDecayer.cxx.
|
privatevirtual |
Implements genie::Decayer.
Definition at line 766 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 681 of file BaryonResonanceDecayer.cxx.
|
private |
Definition at line 85 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 96 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 87 of file BaryonResonanceDecayer.h.
|
mutableprivate |
Definition at line 82 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 92 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 89 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 89 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 89 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 90 of file BaryonResonanceDecayer.h.
|
private |
Definition at line 94 of file BaryonResonanceDecayer.h.
|
mutableprivate |
Definition at line 83 of file BaryonResonanceDecayer.h.