CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
CustomParticle Class Reference

#include <CustomParticle.h>

Inheritance diagram for CustomParticle:

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.

17  : G4ParticleDefinition( aName,mass,width,charge,iSpin,iParity,
18  iConjugation,iIsospin,iIsospin3,gParity,pType,
19  lepton,baryon,encoding,stable,lifetime,decaytable )
20 {}
static const int stable
Definition: TopGenEvent.h:11
double charge(const std::vector< uint8_t > &Ampls)
virtual CustomParticle::~CustomParticle ( )
inlinevirtual

Definition at line 34 of file CustomParticle.h.

34 {}

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

40 { return m_spec; }
G4ParticleDefinition * m_spec
void CustomParticle::SetCloud ( G4ParticleDefinition *  theCloud)
inline

Definition at line 37 of file CustomParticle.h.

References m_cloud.

Referenced by CustomParticleFactory::addCustomParticle().

37 { m_cloud = theCloud; }
G4ParticleDefinition * m_cloud
void CustomParticle::SetSpectator ( G4ParticleDefinition *  theSpectator)
inline

Definition at line 39 of file CustomParticle.h.

References m_spec.

Referenced by CustomParticleFactory::addCustomParticle().

39 { m_spec = theSpectator; }
G4ParticleDefinition * m_spec

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