#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.
21{
25
26
27
28 const std::string&
n=
theLog->getName();
30 G4LogicalVolume *theG4Log=0;
31 G4Material* theG4Mat=theMaterialFactory.
Build(
theLog->getMaterial());
32
33 G4VSolid * theG4Solid = theSolidFactory.Build(
theLog->getShape());
34
36 theG4Log = new G4LogicalVolume(theG4Solid,
37 theG4Mat,
39 0,0,0);
41 return theG4Log;
42 }
44}
std::map< std::string, AGDDVolume * > volumeList
std::map< std::string, G4LogicalVolume *, std::less< std::string > > vMap
G4Material * Build(const GeoMaterial *)