Geant4  10.00.p01
G3DetTable Class Reference

#include <G3DetTable.hh>

Public Member Functions

 G3DetTable ()
 
virtual ~G3DetTable ()
 
G4int GetID (G4String &set, G4String &det)
 
void Put (G4String &set, G4String &det, G4int id, G4VSensitiveDetector *D)
 
G4VSensitiveDetectorGetSD (G4String &set, G4String &det)
 
void PrintAll ()
 

Private Member Functions

G4String MakeHash (G4String &set, G4String &det)
 

Private Attributes

std::map< G4String,
G3DetTableEntry *, std::less
< G4String > > 
DTD
 

Detailed Description

Definition at line 39 of file G3DetTable.hh.

Constructor & Destructor Documentation

G3DetTable::G3DetTable ( )

Definition at line 40 of file G3DetTable.cc.

G3DetTable::~G3DetTable ( )
virtual

Definition at line 43 of file G3DetTable.cc.

Member Function Documentation

G4int G3DetTable::GetID ( G4String set,
G4String det 
)

Definition at line 70 of file G3DetTable.cc.

References G3DetTableEntry::GetID(), and MakeHash().

Referenced by G4gsdeta().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VSensitiveDetector * G3DetTable::GetSD ( G4String set,
G4String det 
)

Definition at line 54 of file G3DetTable.cc.

References G3DetTableEntry::GetSD(), and MakeHash().

+ Here is the call graph for this function:

G4String G3DetTable::MakeHash ( G4String set,
G4String det 
)
private

Definition at line 36 of file G3DetTable.cc.

Referenced by GetID(), GetSD(), and Put().

+ Here is the caller graph for this function:

void G3DetTable::PrintAll ( void  )

Definition at line 96 of file G3DetTable.cc.

References G4cout, G4endl, G4VSensitiveDetector::GetName(), and G3DetTableEntry::GetSD().

Referenced by G4BuildGeom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G3DetTable::Put ( G4String set,
G4String det,
G4int  id,
G4VSensitiveDetector D 
)

Definition at line 86 of file G3DetTable.cc.

References G4cout, G4endl, and MakeHash().

+ Here is the call graph for this function:

Member Data Documentation

std::map<G4String, G3DetTableEntry*, std::less<G4String> > G3DetTable::DTD
private

Definition at line 41 of file G3DetTable.hh.


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