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

#include <geant4/tree/geant4-10.6-release/examples/extended/g3tog4/clGeometry/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 46 of file G3toG4DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 46 of file G3toG4DetectorConstruction.hh

Constructor & Destructor Documentation

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

Definition at line 49 of file G3toG4DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 49 of file G3toG4DetectorConstruction.cc

References fInFile, G4cout, and G4endl.

G3toG4DetectorConstruction::~G3toG4DetectorConstruction ( )
virtual

Definition at line 59 of file G3toG4DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 59 of file G3toG4DetectorConstruction.cc

Member Function Documentation

G4VPhysicalVolume * G3toG4DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 66 of file G3toG4DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 66 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 84 of file G3toG4DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 84 of file G3toG4DetectorConstruction.cc

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

+ Here is the call graph for this function:

Member Data Documentation

G4String G3toG4DetectorConstruction::fInFile
private

Definition at line 56 of file G3toG4DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 56 of file G3toG4DetectorConstruction.hh

Referenced by Construct(), and G3toG4DetectorConstruction().


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