Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
RE02DetectorConstruction Class Reference

#include <RE02DetectorConstruction.hh>

Inheritance diagram for RE02DetectorConstruction:
Inheritance graph
[legend]
Collaboration diagram for RE02DetectorConstruction:
Collaboration graph
[legend]

Public Member Functions

 RE02DetectorConstruction ()
 
virtual ~RE02DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetPhantomSize (G4ThreeVector size)
 
const G4ThreeVectorGetPhantomSize () const
 
void SetNumberOfSegmentsInPhantom (G4int nx, G4int ny, G4int nz)
 
void GetNumberOfSegmentsInPhantom (G4int &nx, G4int &ny, G4int &nz) const
 
void SetLeadSegment (G4bool flag=TRUE)
 
G4bool IsLeadSegment ()
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Detailed Description

Uer detector construction class

(Description)

Detector construction for example RE02.

[Geometry] The world volume is defined as 200 cm x 200 cm x 200 cm box with Air. Water phantom is defined as 200 mm x 200 mm x 400 mm box with Water. The water phantom is divided into 100 segments in x,y plane using replication, and then divided into 200 segments perpendicular to z axis using nested parameterised volume. These values are defined at constructor, e.g. the size of water phantom (fPhantomSize), and number of segmentation of water phantom (fNx, fNy, fNz).

By default, lead plates are inserted into the position of even order segments. NIST database is used for materials.

[Scorer] Assignment of G4MultiFunctionalDetector and G4PrimitiveScorer

is demonstrated in this example.

The collection names of defined Primitives are 0 PhantomSD/totalEDep 1 PhantomSD/protonEDep 2 PhantomSD/protonNStep 3 PhantomSD/chargedPassCellFlux 4 PhantomSD/chargedCellFlux 5 PhantomSD/chargedSurfFlux 6 PhantomSD/gammaSurfCurr000 7 PhantomSD/gammaSurfCurr001 9 PhantomSD/gammaSurdCurr002

10 PhantomSD/gammaSurdCurr003

Please see README for detail description.

Definition at line 111 of file RE02DetectorConstruction.hh.

Constructor & Destructor Documentation

RE02DetectorConstruction::RE02DetectorConstruction ( )

Definition at line 106 of file RE02DetectorConstruction.cc.

Here is the call graph for this function:

RE02DetectorConstruction::~RE02DetectorConstruction ( )
virtual

Definition at line 117 of file RE02DetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * RE02DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 121 of file RE02DetectorConstruction.cc.

Here is the call graph for this function:

void RE02DetectorConstruction::GetNumberOfSegmentsInPhantom ( G4int nx,
G4int ny,
G4int nz 
) const
inline

Definition at line 130 of file RE02DetectorConstruction.hh.

Here is the caller graph for this function:

const G4ThreeVector& RE02DetectorConstruction::GetPhantomSize ( ) const
inline

Definition at line 126 of file RE02DetectorConstruction.hh.

G4bool RE02DetectorConstruction::IsLeadSegment ( )
inline

Definition at line 134 of file RE02DetectorConstruction.hh.

Here is the caller graph for this function:

void RE02DetectorConstruction::SetLeadSegment ( G4bool  flag = TRUE)
inline

Definition at line 133 of file RE02DetectorConstruction.hh.

Here is the caller graph for this function:

void RE02DetectorConstruction::SetNumberOfSegmentsInPhantom ( G4int  nx,
G4int  ny,
G4int  nz 
)
inline

Definition at line 128 of file RE02DetectorConstruction.hh.

Here is the caller graph for this function:

void RE02DetectorConstruction::SetPhantomSize ( G4ThreeVector  size)
inline

Definition at line 125 of file RE02DetectorConstruction.hh.

Here is the caller graph for this function:


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