ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CustomParticle Class Reference

#include <CustomParticle.h>

Inheritance diagram for CustomParticle:
Collaboration diagram for CustomParticle:

Public Member Functions

void SetCloud (G4ParticleDefinition *theCloud)
 
void SetSpectator (G4ParticleDefinition *theSpectator)
 
G4ParticleDefinition * GetCloud ()
 
G4ParticleDefinition * GetSpectator ()
 
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 16 of file CustomParticle.h.

Constructor & Destructor Documentation

◆ CustomParticle()

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 13 of file ExtraParticles/src/CustomParticle.cxx.

25  : G4ParticleDefinition(name, mass, width, charge,
26  0, 0, 0,
27  0, 0, 0,
28  "extra", 0, 0, pdg,
29  stable, lifetime, NULL,
30  false) {}

◆ ~CustomParticle()

virtual CustomParticle::~CustomParticle ( )
inlinevirtual

Definition at line 38 of file CustomParticle.h.

38 {}

Member Function Documentation

◆ GetCloud()

G4ParticleDefinition * CustomParticle::GetCloud ( )
inline

Definition at line 42 of file CustomParticle.h.

42 { return m_cloud; }

◆ GetSpectator()

G4ParticleDefinition * CustomParticle::GetSpectator ( )
inline

Definition at line 44 of file CustomParticle.h.

44 { return m_spec; }

◆ SetCloud()

void CustomParticle::SetCloud ( G4ParticleDefinition *  theCloud)
inline

Definition at line 41 of file CustomParticle.h.

41 { m_cloud = theCloud; }

◆ SetSpectator()

void CustomParticle::SetSpectator ( G4ParticleDefinition *  theSpectator)
inline

Definition at line 43 of file CustomParticle.h.

43 { m_spec = theSpectator; }

Friends And Related Function Documentation

◆ CustomParticleFactory

friend class CustomParticleFactory
friend

Definition at line 18 of file CustomParticle.h.

Member Data Documentation

◆ m_cloud

G4ParticleDefinition* CustomParticle::m_cloud
private

Definition at line 31 of file CustomParticle.h.

◆ m_spec

G4ParticleDefinition* CustomParticle::m_spec
private

Definition at line 32 of file CustomParticle.h.


The documentation for this class was generated from the following files:
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
CustomParticle::m_spec
G4ParticleDefinition * m_spec
Definition: CustomParticle.h:32
CustomParticle::m_cloud
G4ParticleDefinition * m_cloud
Definition: CustomParticle.h:31
MCTruthPartClassifier::stable
@ stable
Definition: TruthClassifiers.h:148
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
charge
double charge(const T &p)
Definition: AtlasPID.h:501
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59