Geant4
10.02.p01
|
Detector construction class. More...
#include <G3toG4DetectorConstruction.hh>
Public Member Functions | |
G3toG4DetectorConstruction (G4String inFile="svt.dat") | |
virtual | ~G3toG4DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual void | ConstructSDandField () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Private Member Functions | |
G4LogicalVolume * | SimpleConstruct () |
Private Attributes | |
G4String | fInFile |
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 class.
Most the work is done in G4BuildGeom(), which returns a pointer to the top-level logical volume in the detector defined by the call list file inFile.
Definition at line 47 of file G3toG4DetectorConstruction.hh.
G3toG4DetectorConstruction::G3toG4DetectorConstruction | ( | G4String | inFile = "svt.dat" | ) |
Definition at line 50 of file G3toG4DetectorConstruction.cc.
|
virtual |
Definition at line 60 of file G3toG4DetectorConstruction.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 67 of file G3toG4DetectorConstruction.cc.
References fInFile, G4BuildGeom(), G4cerr, G4cout, G4endl, and G4LogicalVolume::GetName().
|
private |
Definition at line 85 of file G3toG4DetectorConstruction.cc.
References a, G4Material::AddElement(), cm, cm3, density, g, G4VisAttributes::Invisible, mg, mole, name, G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), symbol, and z.
|
private |
Definition at line 57 of file G3toG4DetectorConstruction.hh.
Referenced by Construct(), and G3toG4DetectorConstruction().