BOSS 6.6.4.p03
BESIII Offline Software System
|
#include <SubDetectorG4Geo.h>
Public Member Functions | |
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;. | |
Protected Attributes | |
int | m_G4GeoInit |
G4LogicalVolume * | m_TopVolume |
Class SubDetectorG4Geo is a base class for the four subdetector G4 geometry class.
Definition at line 30 of file SubDetectorG4Geo.h.
SubDetectorG4Geo::SubDetectorG4Geo | ( | ) |
Constructor.
Definition at line 15 of file SubDetectorG4Geo.cxx.
|
virtual |
G4LogicalVolume * SubDetectorG4Geo::GetLogicalVolume | ( | const std::string & | vn | ) |
Get a logical volume by name;.
Definition at line 40 of file SubDetectorG4Geo.cxx.
Referenced by BesG4Geo::InitFromGdml(), EmcG4Geo::InitFromGdml(), MdcG4Geo::InitFromGdml(), MRPCG4Geo::InitFromGdml(), MucG4Geo::InitFromGdml(), and TofG4Geo::InitFromGdml().
|
inline |
Get the top(world) volume;.
Definition at line 50 of file SubDetectorG4Geo.h.
Referenced by ExtBesEmcConstruction::Construct(), ExtBesMdcConstruction::Construct(), BesEmcConstruction::Construct(), BesMdcConstruction::Construct(), BesTofConstruction::Construct(), ExtBesMucConstruction::Construct(), ExtBesTofConstruction::Construct(), BesMucConstruction::Construct(), ExtBesTofConstruction::Construct_mrpc(), KalFitAlg::setBesFromGdml(), and TRungeFitter::setBesFromGdml().
|
inline |
If the G4 geometry of this subdetctor is initialized;.
Definition at line 44 of file SubDetectorG4Geo.h.
void SubDetectorG4Geo::ReadGdml | ( | const char * | gdmlFile, |
const char * | setupName | ||
) |
Initialize the instance of G4Geo.
Definition at line 28 of file SubDetectorG4Geo.cxx.
Referenced by BesG4Geo::InitFromGdml(), EmcG4Geo::InitFromGdml(), MdcG4Geo::InitFromGdml(), MRPCG4Geo::InitFromGdml(), MucG4Geo::InitFromGdml(), and TofG4Geo::InitFromGdml().
|
protected |
Definition at line 59 of file SubDetectorG4Geo.h.
Referenced by BesG4Geo::InitFromGdml(), EmcG4Geo::InitFromGdml(), MdcG4Geo::InitFromGdml(), MRPCG4Geo::InitFromGdml(), MucG4Geo::InitFromGdml(), TofG4Geo::InitFromGdml(), and IsInitialized().
|
protected |
Definition at line 61 of file SubDetectorG4Geo.h.
Referenced by GetTopVolume(), BesG4Geo::InitFromGdml(), EmcG4Geo::InitFromGdml(), MdcG4Geo::InitFromGdml(), MRPCG4Geo::InitFromGdml(), MucG4Geo::InitFromGdml(), and TofG4Geo::InitFromGdml().