CMS 3D CMS Logo

CustomParticle Class Reference

#include <SimG4Core/CustomPhysics/interface/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.

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]

Definition at line 34 of file CustomParticle.h.

00034 {}


Member Function Documentation

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; }


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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:35 2009 for CMSSW by  doxygen 1.5.4