Geant4  10.00.p02
XDetectorConstruction Class Reference

#include <XDetectorConstruction.hh>

+ Inheritance diagram for XDetectorConstruction:
+ Collaboration diagram for XDetectorConstruction:

Public Member Functions

 XDetectorConstruction ()
 
virtual ~XDetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void Field (G4bool bl)
 
- 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

void DefineMaterials ()
 
void SetupGeometry ()
 

Private Attributes

G4MaterialfLiquidHelium
 
G4MaterialfGermanium
 
G4MaterialfAluminum
 
G4MaterialfTungsten
 
G4VPhysicalVolumefWorldPhys
 
G4bool fConstructed
 
G4bool fIfField
 

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

Definition at line 41 of file XDetectorConstruction.hh.

Constructor & Destructor Documentation

XDetectorConstruction::XDetectorConstruction ( )

Definition at line 61 of file XDetectorConstruction.cc.

References fAluminum, fGermanium, fLiquidHelium, fTungsten, and fWorldPhys.

XDetectorConstruction::~XDetectorConstruction ( )
virtual

Definition at line 72 of file XDetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * XDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 76 of file XDetectorConstruction.cc.

References DefineMaterials(), fConstructed, fWorldPhys, and SetupGeometry().

+ Here is the call graph for this function:

void XDetectorConstruction::DefineMaterials ( )
private

Definition at line 89 of file XDetectorConstruction.cc.

References fAluminum, fGermanium, G4NistManager::FindOrBuildMaterial(), fLiquidHelium, fTungsten, and G4NistManager::Instance().

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XDetectorConstruction::Field ( G4bool  bl)
inline

Definition at line 63 of file XDetectorConstruction.hh.

void XDetectorConstruction::SetupGeometry ( )
private

Definition at line 101 of file XDetectorConstruction.cc.

References G4SDManager::AddNewDetector(), cm, DBL_MAX, deg, fAluminum, fGermanium, fLiquidHelium, fWorldPhys, G4VPhysicalVolume::GetFrameRotation(), G4LatticeManager::GetLatticeManager(), G4SDManager::GetSDMpointer(), G4VisAttributes::Invisible, G4LatticeManager::LoadLattice(), mm, G4LatticeManager::RegisterLattice(), G4LogicalVolume::SetSensitiveDetector(), G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* XDetectorConstruction::fAluminum
private

Definition at line 56 of file XDetectorConstruction.hh.

Referenced by DefineMaterials(), SetupGeometry(), and XDetectorConstruction().

G4bool XDetectorConstruction::fConstructed
private

Definition at line 59 of file XDetectorConstruction.hh.

Referenced by Construct().

G4Material* XDetectorConstruction::fGermanium
private

Definition at line 55 of file XDetectorConstruction.hh.

Referenced by DefineMaterials(), SetupGeometry(), and XDetectorConstruction().

G4bool XDetectorConstruction::fIfField
private

Definition at line 60 of file XDetectorConstruction.hh.

G4Material* XDetectorConstruction::fLiquidHelium
private

Definition at line 54 of file XDetectorConstruction.hh.

Referenced by DefineMaterials(), SetupGeometry(), and XDetectorConstruction().

G4Material* XDetectorConstruction::fTungsten
private

Definition at line 57 of file XDetectorConstruction.hh.

Referenced by DefineMaterials(), and XDetectorConstruction().

G4VPhysicalVolume* XDetectorConstruction::fWorldPhys
private

Definition at line 58 of file XDetectorConstruction.hh.

Referenced by Construct(), SetupGeometry(), and XDetectorConstruction().


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