Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4UserParticle Class Reference

The class for user particle definition. More...

#include <TG4UserParticle.h>

Inheritance diagram for TG4UserParticle:

Public Member Functions

 TG4UserParticle (const G4String &name, TMCParticleType mcType, 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, G4bool shortlived, const G4String &subType="", G4int anti_encoding=0, G4double magneticMoment=0.0, G4double excitation=0.0)
 
virtual ~TG4UserParticle ()
 
TMCParticleType GetMCType () const
 Return the particle MC type.
 
G4double GetExcitationEnergy () const
 Return the particle excitation energy.
 

Private Member Functions

 TG4UserParticle ()
 Not implemented.
 

Private Attributes

TMCParticleType fMCType
 particle MC type
 
G4double fExcitationEnergy
 excitation energy
 

Detailed Description

The class for user particle definition.

Author
I. Hrivnacova; IPN Orsay

Definition at line 30 of file TG4UserParticle.h.

Constructor & Destructor Documentation

◆ TG4UserParticle() [1/2]

TG4UserParticle::TG4UserParticle ( const G4String & name,
TMCParticleType mcType,
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,
G4bool shortlived,
const G4String & subType = "",
G4int anti_encoding = 0,
G4double magneticMoment = 0.0,
G4double excitation = 0.0 )

Standard constructor

Definition at line 18 of file TG4UserParticle.cxx.

◆ ~TG4UserParticle()

TG4UserParticle::~TG4UserParticle ( )
virtual

Destructor

Definition at line 35 of file TG4UserParticle.cxx.

◆ TG4UserParticle() [2/2]

TG4UserParticle::TG4UserParticle ( )
private

Not implemented.

Member Function Documentation

◆ GetMCType()

TMCParticleType TG4UserParticle::GetMCType ( ) const
inline

Return the particle MC type.

Definition at line 57 of file TG4UserParticle.h.

Referenced by TG4UserParticlesPhysics::ConstructProcess().

◆ GetExcitationEnergy()

G4double TG4UserParticle::GetExcitationEnergy ( ) const
inline

Return the particle excitation energy.

Definition at line 60 of file TG4UserParticle.h.

Member Data Documentation

◆ fMCType

TMCParticleType TG4UserParticle::fMCType
private

particle MC type

Definition at line 50 of file TG4UserParticle.h.

Referenced by GetMCType().

◆ fExcitationEnergy

G4double TG4UserParticle::fExcitationEnergy
private

excitation energy

Definition at line 51 of file TG4UserParticle.h.

Referenced by GetExcitationEnergy().


The documentation for this class was generated from the following files: