CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <EmcG4Geo.h>
Public Member Functions | |
EmcG4Geo () | |
Constructor. | |
~EmcG4Geo () | |
Destructor. | |
void | InitFromGdml (const char *gdmlFile, const char *setupName) |
Initialize the instance of G4Geo. | |
void | SetDefaultVis () |
Set default visual attributes;. | |
Public Member Functions inherited from SubDetectorG4Geo | |
SubDetectorG4Geo () | |
Constructor. | |
virtual | ~SubDetectorG4Geo () |
Destructor. | |
void | ReadGdml (const char *gdmlFile, const char *setupName) |
Initialize the instance of G4Geo. | |
int | IsInitialized () |
If the G4 geometry of this subdetctor is initialized;. | |
G4LogicalVolume * | GetLogicalVolume (const std::string &vn) |
Get a logical volume by name;. | |
G4LogicalVolume * | GetTopVolume () |
Get the top(world) volume;. | |
Static Public Member Functions | |
static EmcG4Geo * | Instance () |
Get a pointer to the single instance of EmcG4Geo. | |
Additional Inherited Members | |
Protected Attributes inherited from SubDetectorG4Geo | |
int | m_G4GeoInit |
G4LogicalVolume * | m_TopVolume |
Class EmcGeo contains all of the objects necessary to describe the Emc geometry.
Definition at line 18 of file EmcG4Geo.h.
EmcG4Geo::EmcG4Geo | ( | ) |
Constructor.
Definition at line 22 of file EmcG4Geo.cxx.
Referenced by Instance().
EmcG4Geo::~EmcG4Geo | ( | ) |
void EmcG4Geo::InitFromGdml | ( | const char * | gdmlFile, |
const char * | setupName | ||
) |
Initialize the instance of G4Geo.
Definition at line 35 of file EmcG4Geo.cxx.
Referenced by EmcG4Geo().
|
static |
Get a pointer to the single instance of EmcG4Geo.
Definition at line 52 of file EmcG4Geo.cxx.
Referenced by ExtBesEmcConstruction::Construct(), and BesEmcConstruction::Construct().
void EmcG4Geo::SetDefaultVis | ( | ) |
Set default visual attributes;.
Definition at line 47 of file EmcG4Geo.cxx.
Referenced by InitFromGdml().