Geant4
10.01.p03
|
Uer detector construction class. More...
#include <RE02DetectorConstruction.hh>
Public Member Functions | |
RE02DetectorConstruction () | |
virtual | ~RE02DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
void | SetPhantomSize (G4ThreeVector size) |
const G4ThreeVector & | GetPhantomSize () 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 () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Private Attributes | |
G4ThreeVector | fPhantomSize |
G4int | fNx |
G4int | fNy |
G4int | fNz |
G4bool | fInsertLead |
G4LogicalVolume * | fLVPhantomSens |
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) |
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
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
Please see README for detail description.
Definition at line 111 of file RE02DetectorConstruction.hh.
RE02DetectorConstruction::RE02DetectorConstruction | ( | ) |
Definition at line 106 of file RE02DetectorConstruction.cc.
References fInsertLead, fNx, fNy, fNz, fPhantomSize, mm, and TRUE.
|
virtual |
Definition at line 118 of file RE02DetectorConstruction.cc.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 122 of file RE02DetectorConstruction.cc.
References cm, G4NistManager::FindOrBuildMaterial(), fLVPhantomSens, fNx, fNy, fNz, fPhantomSize, G4cout, G4endl, G4Material::GetMaterialTable(), G4NistManager::Instance(), G4VisAttributes::Invisible, IsLeadSegment(), kUndefined, kXAxis, kYAxis, mm, and G4LogicalVolume::SetVisAttributes().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 292 of file RE02DetectorConstruction.cc.
References G4SDParticleWithEnergyFilter::add(), G4SDParticleFilter::add(), G4SDManager::AddNewDetector(), fCurrent_InOut, fFlux_InOut, fLVPhantomSens, fNx, fNy, fNz, G4SDManager::GetSDMpointer(), keV, name, G4MultiFunctionalDetector::RegisterPrimitive(), G4VPrimitiveScorer::SetFilter(), G4LogicalVolume::SetSensitiveDetector(), and G4SDParticleWithEnergyFilter::show().
|
inline |
Definition at line 131 of file RE02DetectorConstruction.hh.
Referenced by RE02RunAction::EndOfRunAction().
|
inline |
Definition at line 127 of file RE02DetectorConstruction.hh.
References fPhantomSize.
|
inline |
Definition at line 135 of file RE02DetectorConstruction.hh.
References fInsertLead.
Referenced by Construct().
Definition at line 134 of file RE02DetectorConstruction.hh.
References fInsertLead.
Referenced by main().
|
inline |
Definition at line 126 of file RE02DetectorConstruction.hh.
References fPhantomSize.
Referenced by main().
|
private |
Definition at line 141 of file RE02DetectorConstruction.hh.
Referenced by IsLeadSegment(), RE02DetectorConstruction(), and SetLeadSegment().
|
private |
Definition at line 142 of file RE02DetectorConstruction.hh.
Referenced by Construct(), and ConstructSDandField().
|
private |
Definition at line 140 of file RE02DetectorConstruction.hh.
Referenced by Construct(), ConstructSDandField(), GetNumberOfSegmentsInPhantom(), RE02DetectorConstruction(), and SetNumberOfSegmentsInPhantom().
|
private |
Definition at line 140 of file RE02DetectorConstruction.hh.
Referenced by Construct(), ConstructSDandField(), GetNumberOfSegmentsInPhantom(), RE02DetectorConstruction(), and SetNumberOfSegmentsInPhantom().
|
private |
Definition at line 140 of file RE02DetectorConstruction.hh.
Referenced by Construct(), ConstructSDandField(), GetNumberOfSegmentsInPhantom(), RE02DetectorConstruction(), and SetNumberOfSegmentsInPhantom().
|
private |
Definition at line 139 of file RE02DetectorConstruction.hh.
Referenced by Construct(), GetPhantomSize(), RE02DetectorConstruction(), and SetPhantomSize().