#include <G4tgbVolumeMgr.hh>
Definition at line 66 of file G4tgbVolumeMgr.hh.
◆ G4tgbVolumeMgr()
G4tgbVolumeMgr::G4tgbVolumeMgr |
( |
| ) |
|
Definition at line 56 of file G4tgbVolumeMgr.cc.
G4tgbDetectorBuilder * theDetectorBuilder
void SetScalePrecision(G4double scaleValue)
static G4ReflectionFactory * Instance()
◆ ~G4tgbVolumeMgr()
G4tgbVolumeMgr::~G4tgbVolumeMgr |
( |
| ) |
|
Definition at line 66 of file G4tgbVolumeMgr.cc.
G4tgbDetectorBuilder * theDetectorBuilder
static G4ThreadLocal G4tgbVolumeMgr * theInstance
◆ AddTextFile()
void G4tgbVolumeMgr::AddTextFile |
( |
const G4String & |
fname | ) |
|
Definition at line 85 of file G4tgbVolumeMgr.cc.
static G4tgrFileReader * GetInstance()
void AddTextFile(const G4String &fname)
◆ BuildPhysVolTree()
void G4tgbVolumeMgr::BuildPhysVolTree |
( |
| ) |
|
◆ CopyVolumes()
void G4tgbVolumeMgr::CopyVolumes |
( |
| ) |
|
Definition at line 149 of file G4tgbVolumeMgr.cc.
152 G4mapsvol::iterator cite;
154 for(cite = vollist.begin(); cite != vollist.end(); cite++)
static G4tgrVolumeMgr * GetInstance()
std::map< G4String, G4tgrVolume *> G4mapsvol
void RegisterMe(const G4tgbVolume *vol)
const G4mapsvol & GetVolumeMap()
◆ DumpG4LogVolLeaf()
void G4tgbVolumeMgr::DumpG4LogVolLeaf |
( |
const G4LogicalVolume * |
lv, |
|
|
unsigned int |
leafDepth |
|
) |
| |
Definition at line 411 of file G4tgbVolumeMgr.cc.
414 for(
size_t ii=0; ii < leafDepth; ii++ )
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
◆ DumpG4LogVolTree()
void G4tgbVolumeMgr::DumpG4LogVolTree |
( |
| ) |
|
Definition at line 400 of file G4tgbVolumeMgr.cc.
402 G4cout <<
" @@@@@@@@@@@@@ DUMPING G4LogicalVolume's Tree " <<
G4endl;
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * GetTopLogVol()
void DumpG4LogVolLeaf(const G4LogicalVolume *lv, unsigned int leafDepth)
◆ DumpG4PhysVolLeaf()
void G4tgbVolumeMgr::DumpG4PhysVolLeaf |
( |
const G4VPhysicalVolume * |
pv, |
|
|
unsigned int |
leafDepth |
|
) |
| |
Definition at line 448 of file G4tgbVolumeMgr.cc.
451 for(
size_t ii=0; ii < leafDepth; ii++ )
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
◆ DumpG4PhysVolTree()
void G4tgbVolumeMgr::DumpG4PhysVolTree |
( |
| ) |
|
Definition at line 437 of file G4tgbVolumeMgr.cc.
439 G4cout <<
" @@@@@@@@@@@@@ DUMPING G4PhysicalVolume's Tree " <<
G4endl;
void DumpG4PhysVolLeaf(const G4VPhysicalVolume *pv, unsigned int leafDepth)
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * GetTopPhysVol()
◆ DumpG4SolidList()
void G4tgbVolumeMgr::DumpG4SolidList |
( |
| ) |
|
Definition at line 388 of file G4tgbVolumeMgr.cc.
390 G4mmssol::const_iterator cite;
393 G4cout <<
"G4SOLID: " << (*cite).second->GetName()
394 <<
" of type " << (*cite).second->GetEntityType() <<
G4endl;
G4GLOB_DLL std::ostream G4cout
◆ DumpSummary()
void G4tgbVolumeMgr::DumpSummary |
( |
| ) |
|
Definition at line 358 of file G4tgbVolumeMgr.cc.
361 G4cout <<
" @@@@@@@@@@@@@ Dumping Geant4 geometry objects Summary " <<
G4endl;
362 G4cout <<
" @@@ Geometry built inside world volume: " 369 G4cout <<
" Number of G4Isotope's: " 371 G4cout <<
" Number of G4Element's: " 373 G4cout <<
" Number of G4Material's: " 377 G4cout <<
" Number of G4RotationMatrix's: " const G4msg4rotm & GetG4RotMatList() const
static G4tgbRotationMatrixMgr * GetInstance()
const G4msg4mate GetG4MaterialList() const
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * GetTopPhysVol()
const G4String & GetName() const
const G4msg4elem GetG4ElementList() const
const G4msg4isot GetG4IsotopeList() const
static G4tgbMaterialMgr * GetInstance()
◆ FindG4LogVol()
Definition at line 239 of file G4tgbVolumeMgr.cc.
241 G4mmslv::const_iterator mscite =
theLVs.find(
name );
242 if( mscite ==
theLVs.end() )
246 G4String ErrMessage =
"Logical volume name " +
name +
" not found !";
247 G4Exception(
"G4tgbVolumeMgr::FindG4LogVol()",
"InvalidSetup",
254 return (*mscite).second;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ FindG4PhysVol()
Definition at line 260 of file G4tgbVolumeMgr.cc.
262 G4mmspv::const_iterator mscite =
thePVs.find(
name );
263 if( mscite ==
thePVs.end() )
267 G4String ErrMessage =
"Physical volume name " +
name +
" not found !";
268 G4Exception(
"G4tgbVolumeMgr::FindG4PhysVol()",
"InvalidSetup",
275 return (*mscite).second;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ FindG4Solid()
Definition at line 178 of file G4tgbVolumeMgr.cc.
183 G4cout <<
" G4tgbVolumeMgr::FindG4Solid() - " << name <<
G4endl;
188 std::pair<G4mmssol::iterator, G4mmssol::iterator> mmssdi;
191 if( mmssdi.first != mmssdi.second ) {
192 G4mmssol::const_iterator mmsscite = mmssdi.first;
197 G4cout <<
" G4tgbVolumeMgr::FindG4Solid() - Solid finding " 215 oldSolid = (*mmsscite).second;
219 G4cout <<
" G4tgbVolumeMgr::FindG4Solid() - Solid already found " 228 G4cout <<
" G4tgbVolumeMgr::FindG4Solid() - Old solid: "
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
◆ FindVolume()
Definition at line 164 of file G4tgbVolumeMgr.cc.
166 G4mssvol::const_iterator cite =
theVolumeList.find( volname );
169 G4String ErrMessage =
"G4tgbVolume not found: " + volname +
" !";
170 G4Exception(
"G4tgbVolumeMgr::FindVolume()",
"InvalidSetup",
173 return (*cite).second;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ GetDetectorBuilder()
◆ GetInstance()
Definition at line 74 of file G4tgbVolumeMgr.cc.
static G4ThreadLocal G4tgbVolumeMgr * theInstance
◆ GetSolids()
◆ GetTopLogVol()
Definition at line 299 of file G4tgbVolumeMgr.cc.
306 G4cout <<
" G4tgbVolumeMgr::GetTopLogVol theLVInvTresize " 312 G4Exception(
"G4tgbVolumeMgr::GetTopLogVol()",
"InvalidSetup",
331 G4cout <<
" G4tgbVolumeMgr::GetTopPhysVol: lv " G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
const G4String & GetName() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ GetTopPhysVol()
Definition at line 281 of file G4tgbVolumeMgr.cc.
289 G4cout <<
" G4tgbVolumeMgr::GetTopPhysVol() - pv: "
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
const G4String & GetName() const
static const double second
const G4String & GetName() const
G4LogicalVolume * GetTopLogVol()
◆ ReadAndConstructDetector()
Definition at line 92 of file G4tgbVolumeMgr.cc.
G4tgbDetectorBuilder * theDetectorBuilder
virtual const G4tgrVolume * ReadDetector()
virtual G4VPhysicalVolume * ConstructDetector(const G4tgrVolume *tgrVoltop)
◆ RegisterChildParentLVs()
Definition at line 139 of file G4tgbVolumeMgr.cc.
143 const_cast<G4LogicalVolume*>(parentLV);
145 const_cast<G4LogicalVolume*>(logvol);
◆ RegisterMe() [1/4]
void G4tgbVolumeMgr::RegisterMe |
( |
const G4tgbVolume * |
vol | ) |
|
◆ RegisterMe() [2/4]
void G4tgbVolumeMgr::RegisterMe |
( |
const G4VSolid * |
solid | ) |
|
◆ RegisterMe() [3/4]
Definition at line 116 of file G4tgbVolumeMgr.cc.
124 G4cout <<
" G4tgbVolumeMgr::RegisterMe() - Logical volume registered: " G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
const G4String & GetName() const
◆ RegisterMe() [4/4]
◆ SetDetectorBuilder()
◆ theDetectorBuilder
◆ theInstance
◆ theLVInvTree
G4mlvlv G4tgbVolumeMgr::theLVInvTree |
|
private |
◆ theLVs
◆ theLVTree
◆ thePVInvTree
G4mpvpv G4tgbVolumeMgr::thePVInvTree |
|
private |
◆ thePVs
◆ thePVTree
◆ theSolids
◆ theVolumeList
The documentation for this class was generated from the following files: