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

Detector construction for the GDML extensions example. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/gdml/G03/include/G03DetectorConstruction.hh>

+ Inheritance diagram for G03DetectorConstruction:
+ Collaboration diagram for G03DetectorConstruction:

Public Member Functions

 G03DetectorConstruction ()
 
 ~G03DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void ListOfMaterials ()
 
void SetReadFile (const G4String &fname)
 
void SetWriteFile (const G4String &fname)
 
- 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 Attributes

G4MaterialfAir
 
G4MaterialfAluminum
 
G4MaterialfPb
 
G4MaterialfXenon
 
G4GDMLReadStructurefReader
 
G4GDMLWriteStructurefWriter
 
G4GDMLParserfParser
 
G4String fReadFile
 
G4String fWriteFile
 
G4bool fWritingChoice
 
G03DetectorMessengerfDetectorMessenger
 

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 the GDML extensions example.

Definition at line 49 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 49 of file G03DetectorConstruction.hh

Constructor & Destructor Documentation

G03DetectorConstruction::G03DetectorConstruction ( )

Definition at line 59 of file G03DetectorConstruction.cc.

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

References fDetectorMessenger, fParser, fReader, fReadFile, fWriteFile, fWriter, and fWritingChoice.

G03DetectorConstruction::~G03DetectorConstruction ( )

Definition at line 78 of file G03DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 78 of file G03DetectorConstruction.cc

References fDetectorMessenger, fParser, fReader, and fWriter.

Member Function Documentation

G4VPhysicalVolume * G03DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 88 of file G03DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 88 of file G03DetectorConstruction.cc

References fParser, fReadFile, fWriteFile, fWritingChoice, G4cout, G4endl, G4Material::GetMaterialTable(), G4GDMLParser::GetWorldVolume(), G4GDMLParser::Read(), and G4GDMLParser::Write().

+ Here is the call graph for this function:

void G03DetectorConstruction::ListOfMaterials ( )

Definition at line 118 of file G03DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 118 of file G03DetectorConstruction.cc

References a, G4Material::AddElement(), atmosphere, cm3, fAir, fAluminum, fPb, fXenon, Acts::UnitConstants::g, G4cout, G4endl, G4Element::GetElementTable(), G4Material::GetMaterialTable(), kelvin, kStateGas, mg, mole, and z.

+ Here is the call graph for this function:

void G03DetectorConstruction::SetReadFile ( const G4String fname)

Definition at line 172 of file G03DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 172 of file G03DetectorConstruction.cc

References test::fname, fReadFile, and fWritingChoice.

Referenced by G03DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G03DetectorConstruction::SetWriteFile ( const G4String fname)

Definition at line 180 of file G03DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 180 of file G03DetectorConstruction.cc

References test::fname, fWriteFile, and fWritingChoice.

Referenced by G03DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* G03DetectorConstruction::fAir
private

Definition at line 73 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 73 of file G03DetectorConstruction.hh

Referenced by ListOfMaterials().

G4Material* G03DetectorConstruction::fAluminum
private

Definition at line 74 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 74 of file G03DetectorConstruction.hh

Referenced by ListOfMaterials().

G03DetectorMessenger* G03DetectorConstruction::fDetectorMessenger
private

Definition at line 97 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 97 of file G03DetectorConstruction.hh

Referenced by G03DetectorConstruction(), and ~G03DetectorConstruction().

G4GDMLParser* G03DetectorConstruction::fParser
private

Definition at line 88 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 88 of file G03DetectorConstruction.hh

Referenced by Construct(), G03DetectorConstruction(), and ~G03DetectorConstruction().

G4Material* G03DetectorConstruction::fPb
private

Definition at line 75 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 75 of file G03DetectorConstruction.hh

Referenced by ListOfMaterials().

G4GDMLReadStructure* G03DetectorConstruction::fReader
private

Definition at line 80 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 80 of file G03DetectorConstruction.hh

Referenced by G03DetectorConstruction(), and ~G03DetectorConstruction().

G4String G03DetectorConstruction::fReadFile
private

Definition at line 92 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 92 of file G03DetectorConstruction.hh

Referenced by Construct(), G03DetectorConstruction(), and SetReadFile().

G4String G03DetectorConstruction::fWriteFile
private

Definition at line 92 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 92 of file G03DetectorConstruction.hh

Referenced by Construct(), G03DetectorConstruction(), and SetWriteFile().

G4GDMLWriteStructure* G03DetectorConstruction::fWriter
private

Definition at line 84 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 84 of file G03DetectorConstruction.hh

Referenced by G03DetectorConstruction(), and ~G03DetectorConstruction().

G4bool G03DetectorConstruction::fWritingChoice
private

Definition at line 93 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 93 of file G03DetectorConstruction.hh

Referenced by Construct(), G03DetectorConstruction(), SetReadFile(), and SetWriteFile().

G4Material* G03DetectorConstruction::fXenon
private

Definition at line 76 of file G03DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 76 of file G03DetectorConstruction.hh

Referenced by ListOfMaterials().


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