Geant4  10.01.p03
G3PartTable Class Reference

#include <G3PartTable.hh>

Public Member Functions

 G3PartTable ()
 
virtual ~G3PartTable ()
 
G4ParticleDefinitionGet (G4int partid)
 
void Put (G4int partid, G4ParticleDefinition *partpt)
 
void PrintAll ()
 

Private Member Functions

void HashID (G4int partid, G4String *_HID)
 
void HashID (G4int partid, G4String &_HID)
 

Private Attributes

std::map< G4String,
G4ParticleDefinition
*, std::less< G4String > > 
PTD
 

Detailed Description

Definition at line 43 of file G3PartTable.hh.

Constructor & Destructor Documentation

G3PartTable::G3PartTable ( )

Definition at line 38 of file G3PartTable.cc.

G3PartTable::~G3PartTable ( )
virtual

Definition at line 41 of file G3PartTable.cc.

References PTD.

Member Function Documentation

G4ParticleDefinition * G3PartTable::Get ( G4int  partid)

Definition at line 52 of file G3PartTable.cc.

References HashID(), and PTD.

+ Here is the call graph for this function:

void G3PartTable::HashID ( G4int  partid,
G4String _HID 
)
private

Definition at line 74 of file G3PartTable.cc.

Referenced by Get(), and Put().

+ Here is the caller graph for this function:

void G3PartTable::HashID ( G4int  partid,
G4String _HID 
)
private

Definition at line 67 of file G3PartTable.cc.

void G3PartTable::PrintAll ( void  )

Definition at line 79 of file G3PartTable.cc.

References G4cout, G4endl, G4ParticleDefinition::GetParticleName(), and PTD.

Referenced by G4BuildGeom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3PartTable::Put ( G4int  partid,
G4ParticleDefinition partpt 
)

Definition at line 60 of file G3PartTable.cc.

References HashID(), and PTD.

+ Here is the call graph for this function:

Member Data Documentation

std::map<G4String, G4ParticleDefinition*, std::less<G4String> > G3PartTable::PTD
private

Definition at line 56 of file G3PartTable.hh.

Referenced by Get(), PrintAll(), Put(), and ~G3PartTable().


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