Geant4  10.03
G3toG4DetectorConstruction Class Reference

Detector construction class. More...

#include <G3toG4DetectorConstruction.hh>

+ Inheritance diagram for G3toG4DetectorConstruction:
+ Collaboration diagram for G3toG4DetectorConstruction:

Public Member Functions

 G3toG4DetectorConstruction (G4String inFile="svt.dat")
 
virtual ~G3toG4DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
- 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
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Private Member Functions

G4LogicalVolumeSimpleConstruct ()
 

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

G3toG4DetectorConstruction::G3toG4DetectorConstruction ( G4String  inFile = "svt.dat")

Definition at line 50 of file G3toG4DetectorConstruction.cc.

References fInFile, G4cout, and G4endl.

G3toG4DetectorConstruction::~G3toG4DetectorConstruction ( )
virtual

Definition at line 60 of file G3toG4DetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * G3toG4DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 67 of file G3toG4DetectorConstruction.cc.

References fInFile, G4BuildGeom(), G4cerr, G4cout, G4endl, and G4LogicalVolume::GetName().

+ Here is the call graph for this function:

G4LogicalVolume * G3toG4DetectorConstruction::SimpleConstruct ( )
private

Definition at line 85 of file G3toG4DetectorConstruction.cc.

References a, G4Material::AddElement(), cm, cm3, g, G4VisAttributes::GetInvisible(), mg, mole, G4InuclParticleNames::name(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().

+ Here is the call graph for this function:

Member Data Documentation

G4String G3toG4DetectorConstruction::fInFile
private

Definition at line 57 of file G3toG4DetectorConstruction.hh.

Referenced by Construct(), and G3toG4DetectorConstruction().


The documentation for this class was generated from the following files: