Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE04DetectorConstruction Class Reference

#include <RE04DetectorConstruction.hh>

Inheritance diagram for RE04DetectorConstruction:
Collaboration diagram for RE04DetectorConstruction:

Public Member Functions

 RE04DetectorConstruction ()
 
virtual ~RE04DetectorConstruction ()
 
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
 

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

User detector construction class

  • void DefineMaterials() defines materials
  • void SetupGeometry() creates the world volume and detector geometries

Definition at line 50 of file RE04DetectorConstruction.hh.

Constructor & Destructor Documentation

RE04DetectorConstruction::RE04DetectorConstruction ( )

Definition at line 48 of file RE04DetectorContruction.cc.

50  fAir(0), fWater(0), fPb(0), fWorldPhys(0), fConstructed(false)
51 {;}
RE04DetectorConstruction::~RE04DetectorConstruction ( )
virtual

Definition at line 54 of file RE04DetectorContruction.cc.

55 {;}

Member Function Documentation

G4VPhysicalVolume * RE04DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 58 of file RE04DetectorContruction.cc.

59 {
60  if(!fConstructed)
61  {
62  fConstructed = true;
63  DefineMaterials();
64  SetupGeometry();
65  }
66  return fWorldPhys;
67 }

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