Geant4  10.00.p02
G4ITModelManager Class Reference

G4ITModelManager chooses which model to use according to the global simulation time. More...

#include <G4ITModelManager.hh>

Public Member Functions

 G4ITModelManager ()
 
 ~G4ITModelManager ()
 
void Initialize ()
 
 G4ITModelManager (const G4ITModelManager &other)
 
G4ITModelManageroperator= (const G4ITModelManager &rhs)
 
void SetModel (G4VITModel *aModel, G4double startingTime)
 
G4VITModelGetModel (const G4double globalTime)
 

Protected Types

typedef std::map< G4double,
G4VITModel * > 
mapModels
 

Protected Attributes

mapModels fModels
 
G4bool fIsInitialized
 

Detailed Description

G4ITModelManager chooses which model to use according to the global simulation time.

Definition at line 50 of file G4ITModelManager.hh.

Member Typedef Documentation

typedef std::map<G4double , G4VITModel* > G4ITModelManager::mapModels
protected

Definition at line 63 of file G4ITModelManager.hh.

Constructor & Destructor Documentation

G4ITModelManager::G4ITModelManager ( )

Definition at line 42 of file G4ITModelManager.cc.

G4ITModelManager::~G4ITModelManager ( )

Definition at line 45 of file G4ITModelManager.cc.

References fModels.

G4ITModelManager::G4ITModelManager ( const G4ITModelManager other)

Definition at line 57 of file G4ITModelManager.cc.

References fIsInitialized, and fModels.

Member Function Documentation

G4VITModel * G4ITModelManager::GetModel ( const G4double  globalTime)

Definition at line 103 of file G4ITModelManager.cc.

References FatalErrorInArgument, fModels, G4BestUnit, and G4Exception().

+ Here is the call graph for this function:

void G4ITModelManager::Initialize ( )

Definition at line 76 of file G4ITModelManager.cc.

References fModels, and G4VITModel::Initialize().

Referenced by G4ITModelHandler::Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ITModelManager & G4ITModelManager::operator= ( const G4ITModelManager rhs)

Definition at line 69 of file G4ITModelManager.cc.

void G4ITModelManager::SetModel ( G4VITModel aModel,
G4double  startingTime 
)

Definition at line 90 of file G4ITModelManager.cc.

References assert, FALSE, FatalErrorInArgument, fIsInitialized, fModels, and G4Exception().

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4ITModelManager::fIsInitialized
protected

Definition at line 65 of file G4ITModelManager.hh.

Referenced by G4ITModelManager(), and SetModel().

mapModels G4ITModelManager::fModels
protected

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