Geant4
10.03
|
Detector construction for laoding GDML geometry. More...
#include <G04DetectorConstruction.hh>
Public Member Functions | |
G04DetectorConstruction (const G4GDMLParser &parser) | |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Private Attributes | |
const G4GDMLParser & | fParser |
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Detector construction for laoding GDML geometry.
Definition at line 43 of file G04DetectorConstruction.hh.
G04DetectorConstruction::G04DetectorConstruction | ( | const G4GDMLParser & | parser | ) |
Definition at line 38 of file G04DetectorConstruction.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 45 of file G04DetectorConstruction.cc.
References fParser, and G4GDMLParser::GetWorldVolume().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 52 of file G04DetectorConstruction.cc.
References G4SDManager::AddNewDetector(), G4SDManager::FindSensitiveDetector(), fParser, G4cout, G4endl, G4GDMLParser::GetAuxMap(), G4SDManager::GetSDMpointer(), and G4LogicalVolume::SetSensitiveDetector().
|
private |
Definition at line 52 of file G04DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().