Geant4  10.02
G04DetectorConstruction Class Reference

Detector construction for laoding GDML geometry. More...

#include <G04DetectorConstruction.hh>

+ Inheritance diagram for G04DetectorConstruction:
+ Collaboration diagram for G04DetectorConstruction:

Public Member Functions

 G04DetectorConstruction (const G4GDMLParser &parser)
 
virtual G4VPhysicalVolumeConstruct ()
 
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
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Private Attributes

const G4GDMLParserfParser
 

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 for laoding GDML geometry.

Definition at line 43 of file G04DetectorConstruction.hh.

Constructor & Destructor Documentation

G04DetectorConstruction::G04DetectorConstruction ( const G4GDMLParser parser)

Definition at line 38 of file G04DetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * G04DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 45 of file G04DetectorConstruction.cc.

References fParser, and G4GDMLParser::GetWorldVolume().

+ Here is the call graph for this function:

void G04DetectorConstruction::ConstructSDandField ( )
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().

+ Here is the call graph for this function:

Member Data Documentation

const G4GDMLParser& G04DetectorConstruction::fParser
private

Definition at line 52 of file G04DetectorConstruction.hh.

Referenced by Construct(), and ConstructSDandField().


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