#include <CustomParticle.h>
Public Member Functions | |
G4ParticleDefinition * | GetCloud () |
G4ParticleDefinition * | GetSpectator () |
void | SetCloud (G4ParticleDefinition *theCloud) |
void | SetSpectator (G4ParticleDefinition *theSpectator) |
virtual | ~CustomParticle () |
Private Member Functions | |
CustomParticle (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable) | |
Private Attributes | |
G4ParticleDefinition * | m_cloud |
G4ParticleDefinition * | m_spec |
Friends | |
class | CustomParticleFactory |
Definition at line 12 of file CustomParticle.h.
CustomParticle::CustomParticle | ( | const G4String & | aName, |
G4double | mass, | ||
G4double | width, | ||
G4double | charge, | ||
G4int | iSpin, | ||
G4int | iParity, | ||
G4int | iConjugation, | ||
G4int | iIsospin, | ||
G4int | iIsospin3, | ||
G4int | gParity, | ||
const G4String & | pType, | ||
G4int | lepton, | ||
G4int | baryon, | ||
G4int | encoding, | ||
G4bool | stable, | ||
G4double | lifetime, | ||
G4DecayTable * | decaytable | ||
) | [private] |
Definition at line 7 of file CustomParticle.cc.
virtual CustomParticle::~CustomParticle | ( | ) | [inline, virtual] |
Definition at line 34 of file CustomParticle.h.
{}
G4ParticleDefinition * CustomParticle::GetCloud | ( | ) | [inline] |
Definition at line 38 of file CustomParticle.h.
References m_cloud.
Referenced by CustomParticleFactory::addCustomParticle(), CustomPhysicsList::addCustomPhysics(), and CustomPhysicsList::setupRHadronPhycis().
{ return m_cloud; }
G4ParticleDefinition * CustomParticle::GetSpectator | ( | ) | [inline] |
Definition at line 40 of file CustomParticle.h.
References m_spec.
Referenced by CustomParticleFactory::addCustomParticle().
{ return m_spec; }
void CustomParticle::SetCloud | ( | G4ParticleDefinition * | theCloud | ) | [inline] |
Definition at line 37 of file CustomParticle.h.
References m_cloud.
Referenced by CustomParticleFactory::addCustomParticle().
{ m_cloud = theCloud; }
void CustomParticle::SetSpectator | ( | G4ParticleDefinition * | theSpectator | ) | [inline] |
Definition at line 39 of file CustomParticle.h.
References m_spec.
Referenced by CustomParticleFactory::addCustomParticle().
{ m_spec = theSpectator; }
friend class CustomParticleFactory [friend] |
Definition at line 14 of file CustomParticle.h.
G4ParticleDefinition* CustomParticle::m_cloud [private] |
Definition at line 27 of file CustomParticle.h.
Referenced by GetCloud(), and SetCloud().
G4ParticleDefinition* CustomParticle::m_spec [private] |
Definition at line 28 of file CustomParticle.h.
Referenced by GetSpectator(), and SetSpectator().