#include <SimG4Core/CustomPhysics/interface/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.
00017 : G4ParticleDefinition( aName,mass,width,charge,iSpin,iParity, 00018 iConjugation,iIsospin,iIsospin3,gParity,pType, 00019 lepton,baryon,encoding,stable,lifetime,decaytable ) 00020 {}
virtual CustomParticle::~CustomParticle | ( | ) | [inline, virtual] |
G4ParticleDefinition * CustomParticle::GetCloud | ( | ) | [inline] |
Definition at line 38 of file CustomParticle.h.
References m_cloud.
Referenced by CustomParticleFactory::addCustomParticle(), CustomPhysicsList::addCustomPhysics(), and CustomPhysicsList::setupRHadronPhycis().
00038 { return m_cloud; }
G4ParticleDefinition * CustomParticle::GetSpectator | ( | ) | [inline] |
Definition at line 40 of file CustomParticle.h.
References m_spec.
Referenced by CustomParticleFactory::addCustomParticle().
00040 { return m_spec; }
void CustomParticle::SetCloud | ( | G4ParticleDefinition * | theCloud | ) | [inline] |
Definition at line 37 of file CustomParticle.h.
References m_cloud.
Referenced by CustomParticleFactory::addCustomParticle().
00037 { m_cloud = theCloud; }
void CustomParticle::SetSpectator | ( | G4ParticleDefinition * | theSpectator | ) | [inline] |
Definition at line 39 of file CustomParticle.h.
References m_spec.
Referenced by CustomParticleFactory::addCustomParticle().
00039 { m_spec = theSpectator; }
friend class CustomParticleFactory [friend] |
Definition at line 14 of file CustomParticle.h.
G4ParticleDefinition* CustomParticle::m_cloud [private] |
G4ParticleDefinition* CustomParticle::m_spec [private] |