Geant4  10.03
G4HCtable Class Reference

#include <G4HCtable.hh>

Public Member Functions

 G4HCtable ()
 
 ~G4HCtable ()
 
G4int Registor (G4String SDname, G4String HCname)
 
G4int GetCollectionID (G4String HCname) const
 
G4int GetCollectionID (G4VSensitiveDetector *aSD) const
 
G4int entries () const
 
G4String GetSDname (G4int i) const
 
G4String GetHCname (G4int i) const
 

Private Attributes

std::vector< G4StringSDlist
 
std::vector< G4StringHClist
 

Detailed Description

Definition at line 50 of file G4HCtable.hh.

Constructor & Destructor Documentation

G4HCtable::G4HCtable ( )

Definition at line 33 of file G4HCtable.cc.

G4HCtable::~G4HCtable ( )

Definition at line 35 of file G4HCtable.cc.

Member Function Documentation

G4int G4HCtable::entries ( ) const
inline

Definition at line 66 of file G4HCtable.hh.

Referenced by G4SDManager::GetCollectionCapacity(), GetHCname(), GetSDname(), and G4SDManager::PrepareNewEvent().

+ Here is the caller graph for this function:

G4int G4HCtable::GetCollectionID ( G4String  HCname) const

Definition at line 46 of file G4HCtable.cc.

References HClist, G4String::index(), and SDlist.

Referenced by G4SDManager::GetCollectionID().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4HCtable::GetCollectionID ( G4VSensitiveDetector aSD) const

Definition at line 77 of file G4HCtable.cc.

References G4cerr, G4endl, G4VSensitiveDetector::GetCollectionName(), G4VSensitiveDetector::GetName(), G4VSensitiveDetector::GetNumberOfCollections(), and SDlist.

+ Here is the call graph for this function:

G4String G4HCtable::GetHCname ( G4int  i) const
inline

Definition at line 73 of file G4HCtable.hh.

References entries().

+ Here is the call graph for this function:

G4String G4HCtable::GetSDname ( G4int  i) const
inline

Definition at line 68 of file G4HCtable.hh.

References entries().

+ Here is the call graph for this function:

G4int G4HCtable::Registor ( G4String  SDname,
G4String  HCname 
)

Definition at line 37 of file G4HCtable.cc.

References HClist, and SDlist.

Referenced by G4SDManager::AddNewCollection().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4String> G4HCtable::HClist
private

Definition at line 63 of file G4HCtable.hh.

Referenced by GetCollectionID(), and Registor().

std::vector<G4String> G4HCtable::SDlist
private

Definition at line 62 of file G4HCtable.hh.

Referenced by GetCollectionID(), and Registor().


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