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

The class for user ion definition. More...

#include <TG4UserIon.h>

Public Member Functions

 TG4UserIon (const G4String &name, G4int pdgEncoding, G4int Q)
 Standard constructor.
 
 ~TG4UserIon ()
 Destructor.
 
G4String GetName () const
 Return the ion name defined by user.
 
G4int GetPdgEncoding () const
 Return the ion PDG encoding.
 
G4int GetQ () const
 Return the ion charge.
 

Private Attributes

G4String fName
 ion name defined by user
 
G4int fPdgEncoding
 PDG encoding.
 
G4int fQ
 charge
 

Detailed Description

The class for user ion definition.

Author
I. Hrivnacova; IPN Orsay

Definition at line 30 of file TG4UserIon.h.

Constructor & Destructor Documentation

◆ TG4UserIon()

TG4UserIon::TG4UserIon ( const G4String & name,
G4int pdgEncoding,
G4int Q )
inline

Standard constructor.

Definition at line 34 of file TG4UserIon.h.

◆ ~TG4UserIon()

TG4UserIon::~TG4UserIon ( )
inline

Destructor.

Definition at line 39 of file TG4UserIon.h.

Member Function Documentation

◆ GetName()

G4String TG4UserIon::GetName ( ) const
inline

Return the ion name defined by user.

Definition at line 44 of file TG4UserIon.h.

◆ GetPdgEncoding()

G4int TG4UserIon::GetPdgEncoding ( ) const
inline

Return the ion PDG encoding.

Definition at line 47 of file TG4UserIon.h.

◆ GetQ()

G4int TG4UserIon::GetQ ( ) const
inline

Return the ion charge.

Definition at line 50 of file TG4UserIon.h.

Referenced by TG4PrimaryGeneratorAction::GetProperCharge().

Member Data Documentation

◆ fName

G4String TG4UserIon::fName
private

ion name defined by user

Definition at line 54 of file TG4UserIon.h.

Referenced by GetName().

◆ fPdgEncoding

G4int TG4UserIon::fPdgEncoding
private

PDG encoding.

Definition at line 55 of file TG4UserIon.h.

Referenced by GetPdgEncoding().

◆ fQ

G4int TG4UserIon::fQ
private

charge

Definition at line 56 of file TG4UserIon.h.

Referenced by GetQ().


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