ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G04DetectorConstruction Class Reference

Detector construction for laoding GDML geometry. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/gdml/G04/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 42 of file G04DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 42 of file G04DetectorConstruction.hh

Constructor & Destructor Documentation

G04DetectorConstruction::G04DetectorConstruction ( const G4GDMLParser parser)

Definition at line 37 of file G04DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 37 of file G04DetectorConstruction.cc

Member Function Documentation

G4VPhysicalVolume * G04DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 44 of file G04DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 44 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 51 of file G04DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 51 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 51 of file G04DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 51 of file G04DetectorConstruction.hh

Referenced by Construct(), and ConstructSDandField().


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