CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes | Friends

CustomParticle Class Reference

#include <CustomParticle.h>

List of all members.

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

Detailed Description

Definition at line 12 of file CustomParticle.h.


Constructor & Destructor Documentation

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.

 : G4ParticleDefinition( aName,mass,width,charge,iSpin,iParity,
              iConjugation,iIsospin,iIsospin3,gParity,pType,
              lepton,baryon,encoding,stable,lifetime,decaytable )
{}
virtual CustomParticle::~CustomParticle ( ) [inline, virtual]

Definition at line 34 of file CustomParticle.h.

{}

Member Function Documentation

G4ParticleDefinition * CustomParticle::GetCloud ( ) [inline]
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; }

Friends And Related Function Documentation

friend class CustomParticleFactory [friend]

Definition at line 14 of file CustomParticle.h.


Member Data Documentation

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().