Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EvtGenDecayer Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4decayer/G4EvtGenDecayer.hh>

+ Inheritance diagram for G4EvtGenDecayer:
+ Collaboration diagram for G4EvtGenDecayer:

Public Member Functions

 G4EvtGenDecayer ()
 
virtual ~G4EvtGenDecayer ()
 
virtual G4DecayProducts * ImportDecayProducts (const G4Track &track)
 
void SetVerboseLevel (G4int verboseLevel)
 
void SetVertex (G4LorentzVector *r)
 
void SetDecayTable (const std::string &decayTable, bool useXml)
 

Private Member Functions

 G4EvtGenDecayer (const G4EvtGenDecayer &right)
 Not implemented.
 
G4EvtGenDecayeroperator= (const G4EvtGenDecayer &right)
 Not implemented.
 
G4ParticleDefinition * GetParticleDefinition (int ParPDGID) const
 

Private Attributes

std::string Decay_DEC = "InputDECAYFiles/DECAY.DEC"
 
std::string Evt_pdl = "InputDECAYFiles/evt.pdl"
 
EvtGen * mEvtGen = NULL
 
EvtRandomEngine * mEvtGenRandomEngine = NULL
 
EvtExternalGenList genList
 
EvtAbsRadCorr * radCorrEngine = NULL
 
std::list< EvtDecayBase * > extraModels
 
float WidthThreshold = 5000.0
 
G4int fVerboseLevel
 verbose level
 

Detailed Description

Implements the G4VExtDecayer abstract class using the Pythia6 interface. According to TPythia6Decayer class in Root: http://root.cern.ch/ see http://root.cern.ch/root/License.html

Definition at line 62 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 62 of file G4EvtGenDecayer.hh

Constructor & Destructor Documentation

G4EvtGenDecayer::G4EvtGenDecayer ( )

Definition at line 83 of file G4EvtGenDecayer.cc.

View newest version in sPHENIX GitHub at line 83 of file G4EvtGenDecayer.cc

References extraModels, genList, mEvtGen, mEvtGenRandomEngine, and radCorrEngine.

G4EvtGenDecayer::~G4EvtGenDecayer ( )
virtual

Definition at line 112 of file G4EvtGenDecayer.cc.

View newest version in sPHENIX GitHub at line 112 of file G4EvtGenDecayer.cc

References mEvtGen, and radCorrEngine.

G4EvtGenDecayer::G4EvtGenDecayer ( const G4EvtGenDecayer right)
private

Not implemented.

Member Function Documentation

G4ParticleDefinition * G4EvtGenDecayer::GetParticleDefinition ( int  ParPDGID) const
private

Return G4 particle definition for given TParticle

Definition at line 122 of file G4EvtGenDecayer.cc.

View newest version in sPHENIX GitHub at line 122 of file G4EvtGenDecayer.cc

Referenced by ImportDecayProducts().

+ Here is the caller graph for this function:

G4DecayProducts * G4EvtGenDecayer::ImportDecayProducts ( const G4Track &  track)
virtual

Import decay products

Definition at line 140 of file G4EvtGenDecayer.cc.

View newest version in sPHENIX GitHub at line 140 of file G4EvtGenDecayer.cc

References EvtId, fVerboseLevel, GetParticleDefinition(), Acts::UnitConstants::GeV, mEvtGen, momentum, particle, pdg, and WidthThreshold.

+ Here is the call graph for this function:

G4EvtGenDecayer& G4EvtGenDecayer::operator= ( const G4EvtGenDecayer right)
private

Not implemented.

void G4EvtGenDecayer::SetDecayTable ( const std::string &  decayTable,
bool  useXml 
)

Definition at line 244 of file G4EvtGenDecayer.cc.

View newest version in sPHENIX GitHub at line 244 of file G4EvtGenDecayer.cc

References mEvtGen.

Referenced by EvtGenExtDecayerPhysics::ConstructProcess().

+ Here is the caller graph for this function:

void G4EvtGenDecayer::SetVerboseLevel ( G4int  verboseLevel)
inline

Definition at line 69 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 69 of file G4EvtGenDecayer.hh

References fVerboseLevel.

Referenced by EvtGenExtDecayerPhysics::ConstructProcess().

+ Here is the caller graph for this function:

void G4EvtGenDecayer::SetVertex ( G4LorentzVector *  r)

Member Data Documentation

std::string G4EvtGenDecayer::Decay_DEC = "InputDECAYFiles/DECAY.DEC"
private

Definition at line 93 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 93 of file G4EvtGenDecayer.hh

std::string G4EvtGenDecayer::Evt_pdl = "InputDECAYFiles/evt.pdl"
private

Definition at line 94 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 94 of file G4EvtGenDecayer.hh

std::list<EvtDecayBase*> G4EvtGenDecayer::extraModels
private

Definition at line 102 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 102 of file G4EvtGenDecayer.hh

Referenced by G4EvtGenDecayer().

G4int G4EvtGenDecayer::fVerboseLevel
private

verbose level

Definition at line 116 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 116 of file G4EvtGenDecayer.hh

Referenced by ImportDecayProducts(), and SetVerboseLevel().

EvtExternalGenList G4EvtGenDecayer::genList
private

Definition at line 98 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 98 of file G4EvtGenDecayer.hh

Referenced by G4EvtGenDecayer().

EvtGen* G4EvtGenDecayer::mEvtGen = NULL
private

Definition at line 96 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 96 of file G4EvtGenDecayer.hh

Referenced by G4EvtGenDecayer(), ImportDecayProducts(), SetDecayTable(), and ~G4EvtGenDecayer().

EvtRandomEngine* G4EvtGenDecayer::mEvtGenRandomEngine = NULL
private

Definition at line 97 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 97 of file G4EvtGenDecayer.hh

Referenced by G4EvtGenDecayer().

EvtAbsRadCorr* G4EvtGenDecayer::radCorrEngine = NULL
private

Definition at line 101 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 101 of file G4EvtGenDecayer.hh

Referenced by G4EvtGenDecayer(), and ~G4EvtGenDecayer().

float G4EvtGenDecayer::WidthThreshold = 5000.0
private

WidthThreshold on the particle mass width in keV for defining a stable particle in the decay process Particles with mass width below the WidthThreshold will be considered stable, and be passed to Geant4 as the final state of a decay vertex Particles with mass width above the WidthThreshold will be considered unstable, and be decayed in EvtGen at the same vertex as its parent. Default value is 5 MeV so that the phi meson with a width of 4.9 MeV is decayed in Geant4

Definition at line 108 of file G4EvtGenDecayer.hh.

View newest version in sPHENIX GitHub at line 108 of file G4EvtGenDecayer.hh

Referenced by ImportDecayProducts().


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