#include <G4tgrVolumeMgr.hh>
Definition at line 59 of file G4tgrVolumeMgr.hh.
 
◆ G4tgrVolumeMgr()
  
  
      
        
          | G4tgrVolumeMgr::G4tgrVolumeMgr  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ ~G4tgrVolumeMgr()
  
  
      
        
          | G4tgrVolumeMgr::~G4tgrVolumeMgr  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 56 of file G4tgrVolumeMgr.cc.
static G4ThreadLocal G4tgrVolumeMgr * theInstance
 
 
 
 
◆ CreateSolid()
Definition at line 75 of file G4tgrVolumeMgr.cc.
   80     G4String ErrMessage = 
"Solid already exists... " + wl[1];
    81     G4Exception(
"G4tgrVolumeMgr::CreateSolid()", 
"InvalidSetup",
    85   std::vector<G4String> wlc = wl;
    86   if( bVOLUtag )  { wlc.pop_back(); }
    89   for( 
size_t ii = 0; ii < wl2.length(); ii++ )
    91     wl2[ii] = toupper( wl2[ii] );
    93   if( (wl2 == 
"UNION") || (wl2 == 
"SUBTRACTION") || (wl2 == 
"INTERSECTION") )
 G4tgrSolid * FindSolid(const G4String &name, G4bool exists=false)
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ DumpSummary()
      
        
          | void G4tgrVolumeMgr::DumpSummary  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 392 of file G4tgrVolumeMgr.cc.
  395   G4cout << 
" @@@@@@@@@@@@@@@@@@ Dumping Detector Summary " << 
G4endl;
   396   G4cout << 
" @@@ Geometry built inside world volume: "   398   G4cout << 
" Number of G4tgrVolume's: "   400   G4mapsvol::const_iterator cite;
   401   unsigned int nPlace = 0;
   405     nPlace += ((*cite).second)->GetPlacements().size();
   407   G4cout << 
" Number of G4tgrPlace's: " << nPlace << 
G4endl;
   410   G4cout << 
" Number of G4tgrIsotope's: "   412   G4cout << 
" Number of G4tgrElement's: "   414   G4cout << 
" Number of G4tgrMaterial's: "   418   G4cout << 
" Number of G4tgrRotationMatrix's: " const G4mstgrelem & GetElementList() const
 
static G4tgrRotationMatrixFactory * GetInstance()
 
G4GLOB_DLL std::ostream G4cout
 
std::vector< G4tgrRotationMatrix * > GetRotMatList() const
 
void DumpMaterialList() const
 
const G4mstgrmate & GetMaterialList() const
 
void DumpIsotopeList() const
 
G4mapsvol theG4tgrVolumeMap
 
const G4tgrVolume * GetTopVolume()
 
const G4String & GetName() const
 
const G4mstgrisot & GetIsotopeList() const
 
static G4tgrMaterialFactory * GetInstance()
 
void DumpElementList() const
 
 
 
 
◆ DumpVolumeLeaf()
      
        
          | void G4tgrVolumeMgr::DumpVolumeLeaf  | 
          ( | 
          const G4tgrVolume *  | 
          vol,  | 
        
        
           | 
           | 
          unsigned int  | 
          copyNo,  | 
        
        
           | 
           | 
          unsigned int  | 
          leafDepth  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 362 of file G4tgrVolumeMgr.cc.
  366   for( 
size_t ii=0; ii < leafDepth; ii++ )
   371          << 
"   copy No " << copyNo << 
G4endl;
   374   std::pair<G4mmapspl::iterator, G4mmapspl::iterator> children
   376   G4mmapspl::const_iterator cite; 
   379   for( cite = children.first; cite != children.second; cite++ )
 
G4tgrVolume * GetVolume() const
 
G4GLOB_DLL std::ostream G4cout
 
unsigned int GetCopyNo() const
 
void DumpVolumeLeaf(const G4tgrVolume *vol, unsigned int copyNo, unsigned int leafDepth)
 
const G4String & GetName() const
 
std::pair< G4mmapspl::iterator, G4mmapspl::iterator > GetChildren(const G4String &name)
 
 
 
 
◆ DumpVolumeTree()
      
        
          | void G4tgrVolumeMgr::DumpVolumeTree  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 351 of file G4tgrVolumeMgr.cc.
  353   G4cout << 
" @@@@@@@@@@@@@@@@ DUMPING G4tgrVolume's Tree  " << 
G4endl;
 G4GLOB_DLL std::ostream G4cout
 
void DumpVolumeLeaf(const G4tgrVolume *vol, unsigned int copyNo, unsigned int leafDepth)
 
const G4tgrVolume * GetTopVolume()
 
 
 
 
◆ FindSolid()
Definition at line 187 of file G4tgrVolumeMgr.cc.
  201       G4String ErrMessage = 
"Solid not found... " + volname;
   202       G4Exception(
"G4tgrVolumeMgr::FindSolid()", 
"InvalidSetup",
   208     vol = 
const_cast<G4tgrSolid*
>((*svite).second);
 G4mapssol theG4tgrSolidMap
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
G4GLOB_DLL std::ostream G4cerr
 
 
 
 
◆ FindVolume()
Definition at line 217 of file G4tgrVolumeMgr.cc.
  231       G4String ErrMessage = 
"Volume not found... " + volname;
   232       G4Exception(
"G4tgrVolumeMgr::FindVolume()", 
"InvalidSetup",
   237       G4String WarMessage = 
"Volume does not exists... " + volname;
   238       G4Exception(
"G4tgrVolumeMgr::FindVolume()", 
"SearchFailed",
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
G4mapsvol theG4tgrVolumeMap
 
G4GLOB_DLL std::ostream G4cerr
 
 
 
 
◆ FindVolumes()
Definition at line 252 of file G4tgrVolumeMgr.cc.
  254   std::vector<G4tgrVolume*> vols;
   256   G4mapsvol::iterator svite;
   262       vols.push_back(const_cast<G4tgrVolume*>((*svite).second) );
   266   if( vols.size() == 0 ) 
   275       G4String ErrMessage = 
"Volume not found... " + volname;
   276       G4Exception(
"G4tgrVolumeMgr::FindVolumes()", 
"InvalidSetup",
   281       G4String WarMessage = 
"Volume does not exists... " + volname;
   282       G4Exception(
"G4tgrVolumeMgr::FindVolumes()", 
"SearchFailed",
 static G4bool AreWordsEquivalent(const G4String &word1, const G4String &word2)
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
G4mapsvol theG4tgrVolumeMap
 
G4GLOB_DLL std::ostream G4cerr
 
 
 
 
◆ GetChildren()
      
        
          | std::pair< G4mmapspl::iterator, G4mmapspl::iterator > G4tgrVolumeMgr::GetChildren  | 
          ( | 
          const G4String &  | 
          name | ) | 
           | 
        
      
 
Definition at line 342 of file G4tgrVolumeMgr.cc.
  344   std::pair<G4mmapspl::iterator, G4mmapspl::iterator> dite;
 G4mmapspl theG4tgrVolumeTree
 
 
 
 
◆ GetDetPlaceList()
  
  
      
        
          | std::vector<G4tgrPlace*> G4tgrVolumeMgr::GetDetPlaceList  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetElementList()
  
  
      
        
          | std::vector<G4tgrElement*> G4tgrVolumeMgr::GetElementList  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetInstance()
Definition at line 63 of file G4tgrVolumeMgr.cc.
static G4ThreadLocal G4tgrVolumeMgr * theInstance
 
 
 
 
◆ GetIsotopeList()
  
  
      
        
          | std::vector<G4tgrIsotope*> G4tgrVolumeMgr::GetIsotopeList  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetMaterialList()
◆ GetRotMList()
Definition at line 122 of file G4tgrVolumeMgr.hh.
std::vector< G4tgrRotationMatrix * > theHgRotMList
 
 
 
 
◆ GetSolidMap()
  
  
      
        
          | const G4mapssol& G4tgrVolumeMgr::GetSolidMap  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetTopVolume()
Definition at line 292 of file G4tgrVolumeMgr.cc.
  298   G4mapsvol::const_iterator itetv;
   306       G4cout << 
" G4tgrVolumeMgr::GetTopVolume() - Vol: "   307              << vol->
GetName() << 
" no place = "   318         G4cout << 
" G4tgrVolumeMgr::GetTopVolume() - Vol: "   319                << vol->
GetName()<< 
" N place = "   324     if ( (topVol != 0) && (topVol != vol)
   325       && (topVol->
GetType() != 
"VOLDivision")
   326       && (vol->
GetType() != 
"VOLDivision") ) 
   329                   "Two world volumes found, second will be taken", 
JustWarning,
   330                   (
G4String(
"Both volumes are at the top of a hierarchy: ")
 
G4GLOB_DLL std::ostream G4cout
 
static G4int GetVerboseLevel()
 
const std::vector< G4tgrPlace * > GetPlacements() const
 
G4tgrVolume * FindVolume(const G4String &volname, G4bool exists=false)
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
G4mapsvol theG4tgrVolumeMap
 
const G4String & GetType() const
 
const G4String & GetName() const
 
 
 
 
◆ GetVolumeList()
  
  
      
        
          | std::vector<G4tgrVolume*> G4tgrVolumeMgr::GetVolumeList  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetVolumeMap()
  
  
      
        
          | const G4mapsvol& G4tgrVolumeMgr::GetVolumeMap  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetVolumeTree()
  
  
      
        
          | const G4mmapspl& G4tgrVolumeMgr::GetVolumeTree  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ RegisterMe() [1/7]
      
        
          | void G4tgrVolumeMgr::RegisterMe  | 
          ( | 
          G4tgrSolid *  | 
          vol | ) | 
           | 
        
      
 
Definition at line 109 of file G4tgrVolumeMgr.cc.
  113     G4String ErrMessage = 
"Cannot be two solids with the same name... "   115     G4Exception(
"G4tgrVolumeMgr::RegisterMe()", 
"InvalidSetup",
 G4mapssol theG4tgrSolidMap
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ RegisterMe() [2/7]
Definition at line 140 of file G4tgrVolumeMgr.cc.
  145     G4String ErrMessage = 
"Cannot be two volumes with the same name... "   147     G4Exception(
"G4tgrVolumeMgr::RegisterMe()", 
"InvalidSetup",
 std::vector< G4tgrVolume * > theG4tgrVolumeList
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
G4mapsvol theG4tgrVolumeMap
 
const G4String & GetName() const
 
 
 
 
◆ RegisterMe() [3/7]
  
  
      
        
          | void G4tgrVolumeMgr::RegisterMe  | 
          ( | 
          G4tgrPlace *  | 
          pl | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ RegisterMe() [4/7]
◆ RegisterMe() [5/7]
◆ RegisterMe() [6/7]
◆ RegisterMe() [7/7]
Definition at line 110 of file G4tgrVolumeMgr.hh.
std::vector< G4tgrRotationMatrix * > theHgRotMList
 
 
 
 
◆ RegisterParentChild()
      
        
          | void G4tgrVolumeMgr::RegisterParentChild  | 
          ( | 
          const G4String &  | 
          parentName,  | 
        
        
           | 
           | 
          const G4tgrPlace *  | 
          pl  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ UnRegisterMe() [1/2]
      
        
          | void G4tgrVolumeMgr::UnRegisterMe  | 
          ( | 
          G4tgrSolid *  | 
          vol | ) | 
           | 
        
      
 
Definition at line 123 of file G4tgrVolumeMgr.cc.
  127     G4String ErrMessage = 
"Cannot unregister a solid that is not registered... "   129     G4Exception(
"G4tgrSolidMgr::unRegisterMe()", 
"InvalidSetup",
 G4mapssol theG4tgrSolidMap
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ UnRegisterMe() [2/2]
Definition at line 155 of file G4tgrVolumeMgr.cc.
  157   std::vector<G4tgrVolume*>::iterator ite;
   160     if((*ite) == vol )  { 
break; }
   164     G4String ErrMessage = 
"Cannot unregister a volume not registered... "   166     G4Exception(
"G4tgrVolumeMgr::unRegisterMe()", 
"InvalidSetup",
 std::vector< G4tgrVolume * > theG4tgrVolumeList
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
G4mapsvol theG4tgrVolumeMap
 
const G4String & GetName() const
 
 
 
 
◆ theG4tgrPlaceList
  
  
      
        
          | std::vector<G4tgrPlace*> G4tgrVolumeMgr::theG4tgrPlaceList | 
         
       
   | 
  
private   | 
  
 
 
◆ theG4tgrSolidMap
◆ theG4tgrVolumeList
  
  
      
        
          | std::vector<G4tgrVolume*> G4tgrVolumeMgr::theG4tgrVolumeList | 
         
       
   | 
  
private   | 
  
 
 
◆ theG4tgrVolumeMap
◆ theG4tgrVolumeTree
◆ theHgElemList
◆ theHgIsotList
◆ theHgMateList
◆ theHgRotMList
◆ theInstance
The documentation for this class was generated from the following files: