Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
XDetectorConstruction Class Reference

#include <XDetectorConstruction.hh>

Inheritance diagram for XDetectorConstruction:
G4VUserDetectorConstruction

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
 

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.

62  : fConstructed(false), fIfField(true) {
63  fLiquidHelium = NULL;
64  fGermanium = NULL;
65  fAluminum = NULL;
66  fTungsten = NULL;
67  fWorldPhys = NULL;
68 }
XDetectorConstruction::~XDetectorConstruction ( )
virtual

Definition at line 72 of file XDetectorConstruction.cc.

72 {;}

Member Function Documentation

G4VPhysicalVolume * XDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 76 of file XDetectorConstruction.cc.

77 {
78  if(!fConstructed)
79  {
80  fConstructed = true;
81  DefineMaterials();
82  SetupGeometry();
83  }
84  return fWorldPhys;
85 }
void XDetectorConstruction::Field ( G4bool  bl)
inline

Definition at line 63 of file XDetectorConstruction.hh.

63 { fIfField = bl; }

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