Geant4  10.00.p02
ExTGRCRegionCutsMgr Class Reference

Region cuts manager. More...

#include <ExTGRCRegionCutsMgr.hh>

+ Collaboration diagram for ExTGRCRegionCutsMgr:

Public Member Functions

 ~ExTGRCRegionCutsMgr ()
 
void AddRegionData (const std::vector< G4String > &rd)
 
void AddRegionCuts (const std::vector< G4String > &rc)
 
std::vector< ExTGRCRegionData * > FindRegionData (const G4String &name)
 
void BuildRegions ()
 
void BuildProductionCuts ()
 

Static Public Member Functions

static ExTGRCRegionCutsMgrGetInstance ()
 

Private Member Functions

 ExTGRCRegionCutsMgr ()
 

Private Attributes

std::vector< ExTGRCRegionData * > fRegionDatae
 

Static Private Attributes

static ExTGRCRegionCutsMgrfInstance = 0
 

Detailed Description

Region cuts manager.

Changes: creation May 2007

Author
P. Arce

Definition at line 44 of file ExTGRCRegionCutsMgr.hh.

Constructor & Destructor Documentation

ExTGRCRegionCutsMgr::~ExTGRCRegionCutsMgr ( )

Definition at line 60 of file ExTGRCRegionCutsMgr.cc.

References fInstance.

ExTGRCRegionCutsMgr::ExTGRCRegionCutsMgr ( )
private

Definition at line 55 of file ExTGRCRegionCutsMgr.cc.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void ExTGRCRegionCutsMgr::AddRegionCuts ( const std::vector< G4String > &  rc)

Definition at line 80 of file ExTGRCRegionCutsMgr.cc.

References G4UIcommand::ConvertToString(), FatalErrorInArgument, FindRegionData(), G4cerr, G4endl, and G4Exception().

Referenced by ExTGRCLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExTGRCRegionCutsMgr::AddRegionData ( const std::vector< G4String > &  rd)

Definition at line 66 of file ExTGRCRegionCutsMgr.cc.

References FindRegionData(), fRegionDatae, G4Exception(), and JustWarning.

Referenced by ExTGRCLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExTGRCRegionCutsMgr::BuildProductionCuts ( )

Definition at line 144 of file ExTGRCRegionCutsMgr.cc.

References FatalErrorInArgument, fRegionDatae, G4Exception(), G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), reg, G4ProductionCuts::SetProductionCut(), and G4Region::SetProductionCuts().

Referenced by ExTGRCDetectorBuilder::ConstructDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExTGRCRegionCutsMgr::BuildRegions ( )

Definition at line 125 of file ExTGRCRegionCutsMgr.cc.

References G4Region::AddRootLogicalVolume(), G4tgbVolumeMgr::FindG4LogVol(), fRegionDatae, G4tgbVolumeMgr::GetInstance(), and reg.

Referenced by ExTGRCDetectorBuilder::ConstructDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< ExTGRCRegionData * > ExTGRCRegionCutsMgr::FindRegionData ( const G4String name)

Definition at line 110 of file ExTGRCRegionCutsMgr.cc.

References G4tgrUtils::AreWordsEquivalent(), and fRegionDatae.

Referenced by AddRegionCuts(), and AddRegionData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ExTGRCRegionCutsMgr * ExTGRCRegionCutsMgr::GetInstance ( void  )
static

Definition at line 45 of file ExTGRCRegionCutsMgr.cc.

References ExTGRCRegionCutsMgr(), and fInstance.

Referenced by ExTGRCDetectorBuilder::ConstructDetector(), and ExTGRCLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ExTGRCRegionCutsMgr * ExTGRCRegionCutsMgr::fInstance = 0
staticprivate

Definition at line 68 of file ExTGRCRegionCutsMgr.hh.

Referenced by GetInstance(), and ~ExTGRCRegionCutsMgr().

std::vector<ExTGRCRegionData*> ExTGRCRegionCutsMgr::fRegionDatae
private

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