![]() |
ATLAS Offline Software
|
Main builder to create/position all volumes described in a GeoModel Tree. More...
#include <Geo2G4Builder.h>
Public Member Functions | |
| Geo2G4Builder (const std::string &detectorName) | |
| ~Geo2G4Builder ()=default | |
| G4LogicalVolume * | BuildTree () |
| void | BuildOpticalSurfaces (const GeoBorderSurfaceContainer *surface_container, const OpticalVolumesMap *optical_volumes) |
| VolumeBuilder * | GetVolumeBuilder (std::string) |
| HepGeom::Transform3D | GetDetectorTransform () |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_detectorName |
| GeoTrf::Transform3D | m_motherTransform |
| std::vector< PVConstLink > | m_treeTops |
| VolumeBuilder * | m_theBuilder |
| const GeoMaterial * | m_matAir {nullptr} |
| ServiceHandle< StoreGateSvc > | m_pDetStore {"DetectorStore", "Geo2G4Builder"} |
| ServiceHandle< IGeo2G4Svc > | m_g2gSvc {"Geo2G4Svc", "Geo2G4Builder"} |
| GeoModelExperiment * | m_theExpt {nullptr} |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Main builder to create/position all volumes described in a GeoModel Tree.
Definition at line 33 of file Geo2G4Builder.h.
| Geo2G4Builder::Geo2G4Builder | ( | const std::string & | detectorName | ) |
Definition at line 32 of file Geo2G4Builder.cxx.
|
default |
| void Geo2G4Builder::BuildOpticalSurfaces | ( | const GeoBorderSurfaceContainer * | surface_container, |
| const OpticalVolumesMap * | optical_volumes ) |
Definition at line 173 of file Geo2G4Builder.cxx.
| G4LogicalVolume * Geo2G4Builder::BuildTree | ( | ) |
Definition at line 84 of file Geo2G4Builder.cxx.
|
inline |
Definition at line 51 of file Geo2G4Builder.h.
| VolumeBuilder * Geo2G4Builder::GetVolumeBuilder | ( | std::string | bname | ) |
Definition at line 167 of file Geo2G4Builder.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 56 of file Geo2G4Builder.h.
|
private |
Definition at line 64 of file Geo2G4Builder.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
private |
Definition at line 62 of file Geo2G4Builder.h.
|
private |
Definition at line 57 of file Geo2G4Builder.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 63 of file Geo2G4Builder.h.
|
private |
Definition at line 59 of file Geo2G4Builder.h.
|
private |
Definition at line 65 of file Geo2G4Builder.h.
|
private |
Definition at line 58 of file Geo2G4Builder.h.