Geant4  10.02.p01
G02DetectorConstruction Class Reference

Detector construction used in GDML read/write example. More...

#include <G02DetectorConstruction.hh>

+ Inheritance diagram for G02DetectorConstruction:
+ Collaboration diagram for G02DetectorConstruction:

Public Member Functions

 G02DetectorConstruction ()
 
 ~G02DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4LogicalVolumeConstructSubDetector1 ()
 
G4LogicalVolumeConstructSubDetector2 ()
 
G4VPhysicalVolumeConstructDetector ()
 
G4LogicalVolumeConstructAssembly ()
 
G4LogicalVolumeConstructParametrisationChamber ()
 
void ListOfMaterials ()
 
void SetReadFile (const G4String &File)
 
void SetWriteFile (const G4String &File)
 
void SetStepFile (const G4String &File)
 
- 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
 
G4GDMLParser fParser
 
G4String fReadFile
 
G4String fWriteFile
 
G4String fStepFile
 
G4int fWritingChoice
 
G02DetectorMessengerfDetectorMessenger
 
G4double fExpHall_x
 

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 used in GDML read/write example.

Definition at line 55 of file G02DetectorConstruction.hh.

Constructor & Destructor Documentation

G02DetectorConstruction::G02DetectorConstruction ( )
G02DetectorConstruction::~G02DetectorConstruction ( )

Definition at line 108 of file G02DetectorConstruction.cc.

References fDetectorMessenger.

Member Function Documentation

G4VPhysicalVolume * G02DetectorConstruction::Construct ( void  )
virtual
G4LogicalVolume * G02DetectorConstruction::ConstructAssembly ( )

Definition at line 440 of file G02DetectorConstruction.cc.

References G4AssemblyVolume::AddPlacedVolume(), fAir, fAluminum, fExpHall_x, fXenon, G4AssemblyVolume::MakeImprint(), pi, and position.

Referenced by ConstructSubDetector1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VPhysicalVolume * G02DetectorConstruction::ConstructDetector ( )

Definition at line 301 of file G02DetectorConstruction.cc.

References ConstructParametrisationChamber(), ConstructSubDetector1(), ConstructSubDetector2(), expHall_y, expHall_z, fAir, fExpHall_x, G4ReflectionFactory::Instance(), and G4ReflectionFactory::Place().

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LogicalVolume * G02DetectorConstruction::ConstructParametrisationChamber ( )

Definition at line 543 of file G02DetectorConstruction.cc.

References cm, fAir, fAluminum, fExpHall_x, and kZAxis.

Referenced by ConstructDetector().

+ Here is the caller graph for this function:

G4LogicalVolume * G02DetectorConstruction::ConstructSubDetector1 ( )

Definition at line 398 of file G02DetectorConstruction.cc.

References ConstructAssembly(), deg, fExpHall_x, and fPb.

Referenced by ConstructDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LogicalVolume * G02DetectorConstruction::ConstructSubDetector2 ( )

Definition at line 420 of file G02DetectorConstruction.cc.

References fAluminum, and fExpHall_x.

Referenced by ConstructDetector().

+ Here is the caller graph for this function:

void G02DetectorConstruction::ListOfMaterials ( )

Definition at line 241 of file G02DetectorConstruction.cc.

References a, G4Material::AddElement(), atmosphere, cm3, density, elN, elO, fAir, fAluminum, fPb, fXenon, g, G4cout, G4endl, G4Element::GetElementTable(), G4Material::GetMaterialTable(), kelvin, kStateGas, mg, mole, name, symbol, and z.

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G02DetectorConstruction::SetReadFile ( const G4String File)

Definition at line 597 of file G02DetectorConstruction.cc.

References fReadFile, and fWritingChoice.

Referenced by G02DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G02DetectorConstruction::SetStepFile ( const G4String File)

Definition at line 617 of file G02DetectorConstruction.cc.

References fStepFile, and fWritingChoice.

Referenced by G02DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G02DetectorConstruction::SetWriteFile ( const G4String File)

Definition at line 607 of file G02DetectorConstruction.cc.

References fWriteFile, and fWritingChoice.

Referenced by G02DetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* G02DetectorConstruction::fAir
private
G4Material* G02DetectorConstruction::fAluminum
private
G02DetectorMessenger* G02DetectorConstruction::fDetectorMessenger
private
G4GDMLParser G02DetectorConstruction::fParser
private

Definition at line 95 of file G02DetectorConstruction.hh.

Referenced by Construct().

G4Material* G02DetectorConstruction::fPb
private

Definition at line 90 of file G02DetectorConstruction.hh.

Referenced by ConstructSubDetector1(), and ListOfMaterials().

G4String G02DetectorConstruction::fReadFile
private

Definition at line 99 of file G02DetectorConstruction.hh.

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

G4String G02DetectorConstruction::fStepFile
private

Definition at line 101 of file G02DetectorConstruction.hh.

Referenced by Construct(), G02DetectorConstruction(), and SetStepFile().

G4String G02DetectorConstruction::fWriteFile
private

Definition at line 100 of file G02DetectorConstruction.hh.

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

G4int G02DetectorConstruction::fWritingChoice
private
G4Material* G02DetectorConstruction::fXenon
private

Definition at line 91 of file G02DetectorConstruction.hh.

Referenced by ConstructAssembly(), and ListOfMaterials().


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