#include "SingleLogicalVolumeFactory.h"
#include "Geo2G4SolidFactory.h"
#include "GeoMaterial2G4/Geo2G4MaterialFactory.h"
#include "GeoModelKernel/GeoLogVol.h"
#include "SimHelpers/ServiceAccessor.h"
#include "AthenaBaseComps/AthMsgStreamMacros.h"
#include "G4LogicalVolume.hh"
#include "G4Material.hh"
Go to the source code of this file.
|
typedef std::map< std::string, G4LogicalVolume *, std::less< std::string > > | vMap |
|
◆ vMap
typedef std::map<std::string, G4LogicalVolume*, std::less<std::string> > vMap |
◆ ATLAS_NOT_THREAD_SAFE()
G4LogicalVolume* SingleLogicalVolumeFactory::Build ATLAS_NOT_THREAD_SAFE |
( |
const GeoLogVol * |
theLog | ) |
|
Definition at line 20 of file SingleLogicalVolumeFactory.cxx.
28 const std::string&
n= theLog->getName();
30 G4LogicalVolume *theG4Log=0;
31 G4Material* theG4Mat=theMaterialFactory.
Build(theLog->getMaterial());
33 G4VSolid * theG4Solid = theSolidFactory.Build(theLog->getShape());
35 ATH_MSG_DEBUG(
"Building logical volume (single) "<<theLog->getName()<<
" " << theG4Mat);
36 theG4Log =
new G4LogicalVolume(theG4Solid,