Precalibrated Ion Beam Identification Detector Simulation 1.0
A pilot study detector simulation, written in C++ with Geant4.
Public Member Functions | Private Member Functions | Private Attributes
PrimaryGeneratorMessenger::DetectorConstruction Class Reference

This class constructs the detector, according to specifications. More...

#include <PrimaryGeneratorMessenger.hh>

List of all members.

Public Member Functions

 DetectorConstruction ()
 Constructor, constructs the object.
 ~DetectorConstruction ()
 Destructor, destroys the object.
void SetDefaultDetectorParameters ()
void SetScintillatorMaterial (G4String)
 Sets the scintillator material.
void SetScintillatorDiameter (G4double)
 Sets the scintillator diameter.
void SetShieldingMaterial (G4String)
 Sets the shielding material.
void SetGeDetectorShellMaterial (G4String)
 Sets the shell material of the Germanium detector.
void SetBeamBlockerMaterial (G4String)
 Sets the beam blocker material.
void SetShieldingBeamBlockerMaterial (G4String)
 Sets the shielding beam blocker material.
void SetGermaniumDetectorMaterial (G4String)
 Sets the Germanium detector material.
void SetEffectiveSlowdownThickness (G4double thickness)
 Sets the effective slowdown thickness.
void SetSlowdownLength (G4double length)
 Sets the slowdown length.
void SetSlowdownThickness (G4double thickness)
 Sets the slowdown thickness.
void SetShieldingThickness (G4double thickness)
 Sets the shielding thickness.
void SetTopShieldingThickness (G4double thickness)
 Sets the top shielding thickness.
void SetBeamBlockerThickness (G4double thickness)
 Sets beamblocker thickness.
void SetShieldingBeamBlockerThickness (G4double thickness)
 Sets shielding beam blocker thickness.
void SetGeDetectorRadius (G4double radius)
 Set Ge detector radius.
void SetGeDetectorShellLength (G4double length)
 Set Ge detector shell length.
void SetGeDetectorLength (G4double length)
 Set Ge detector length.
void SetGeDetectorShellInnerRadius (G4double radius)
 Set Ge detector shell inner radius.
void SetGeDetectorShellOuterRadius (G4double radius)
 Set Ge detector shell outer radius.
void SetGapMaterial (G4String)
 Sets the gap material.
void SetScintillatorShieldingGapThickness (G4double)
 Sets the gap thickness.
void SetSlowdownMaterial (G4String)
 Sets the slowdown material.
void SetSlowdownHeightGap (G4double)
 Sets the slowdown height gap.
void SetNumberOfScintillatorBoxes (G4int)
 Sets the number of scintillator boxes.
void SetNumberOfScintillatorsPerBox (G4int)
 Sets the number of layers of scintillators.
void SetBetaFlipping (G4bool)
 Sets beta detector flipping.
G4VPhysicalVolume * Construct ()
 Constructs the detector.
void UpdateGeometry ()
 Updates the geometry of the detector.
G4double GetWorldSizeX ()
 Returns the X size of the world.
G4double GetWorldSizeY ()
 Returns the Y size of the world.
G4double GetWorldSizeZ ()
 Returns the Z size of the world.
G4double GetScintillatorBoxSizeX ()
 <Returns the X size of the scintillator box.
G4double GetScintillatorBoxSizeY ()
 Returns the Y size of the scintillator box.
G4double GetScintillatorBoxSizeZ ()
 Returns the Z size of the scintillator box.
G4double GetBackScintillatorPlateSizeY ()
 Returns Y size of back scintillator plate.
G4int GetNumberOfScintillatorBoxes ()
G4int GetNumberOfScintillatorsPerBox ()
 Returns the number of layers.
G4Material * GetScintillatorMaterial ()
 Returns the scintillator material.
G4double GetScintillatorDiameter ()
 Returns the scintillator diameter.
G4Material * GetGapMaterial ()
 Returns the gap material.
G4double GetScintillatorShieldingGapThickness ()
 Returns the gap thickness.
const G4VPhysicalVolume * GetphysiWorld ()
 Returns the physical world.
const G4VPhysicalVolume * GetAbsorber ()
 Returns the absorber.
const G4VPhysicalVolume * GetGap ()
 Returns the gap.
const G4VPhysicalVolume * GetScintillator ()
 Returns the scintillator.
const G4VPhysicalVolume * GetUpperBetaDetector ()
 Returns the upper beta detector.
const G4VPhysicalVolume * GetLowerBetaDetector ()
 Returns the lower Beta detector.
const G4VPhysicalVolume * GetGermaniumDetector ()
 Returns the germanium detector.
const G4VPhysicalVolume * GetUpperFrontScintillatorPlate ()
 Returns the upper front scintillator plate.
const G4VPhysicalVolume * GetLowerFrontScintillatorPlate ()
 Returns the lower front scintillator plate.
const G4VPhysicalVolume * GetBackScintillatorPlate ()
 Returns the back scintillator plate.

Private Member Functions

void ConstructWorld ()
void ConstructBetaDetector ()
void ConstructScintillatorBox ()
void ConstructScintillatorSlot ()
void ConstructScintillator ()
void ConstructShielding ()
void ConstructBeamBlocker ()
void ConstructScintillatorPlates ()
void ConstructSlowdown ()
void ConstructGermaniumDetector ()
void ConstructShieldingBeamBlocker ()
void SetVisualizationAttributes ()
void DefineMaterials ()
 Defines the materials.
void ComputeDependentDetectorParameters ()
 Computes the scintillator parameters.
G4VPhysicalVolume * ConstructDetector ()
 Constructs the detector.

Private Attributes

G4Material * ScintillatorMaterial
 Scintillator material.
G4double ScintillatorThickness
 Scintillator thickness.
G4Material * GapMaterial
 Gap material.
G4double ScintillatorShieldingGapThickness
 Gap thickness.
G4int NumberOfScintillatorsPerBox
 Number of layers of scintillators (typically 10).
G4int NumberOfScintillatorBoxes
 Number of scintillator boxes (typically 2).
G4double ScintillatorBoxSizeX
 Extent in X-direction of the scintillator box.
G4double ScintillatorBoxSizeY
 Extent in Y-direction of the scintillator box.
G4double ScintillatorBoxSizeZ
 Extent in Z-direction of the scintillator box.
G4double SlotWidthY
 Width of slot in Y-direction.
G4double SlotWidthZ
 Width of slot.
G4double ScintillatorDiameter
 Diameter of scintillator.
G4double ScintillatorLength
 Length of scintillator.
G4double ScintillatorPlateThickness
 Thickness of scintillator plate.
G4double FrontScintillatorPlateSizeY
 Extent in Y-direction of front scintillator plate.
G4double FrontScintillatorPlateSizeZ
 Extent in Z-direction of front scintillator plate.
G4double BackScintillatorPlateSizeY
 Extent in X-direction of back scintillator plate.
G4double GeDetectorRadius
 Radius of Ge detector.
G4double GeDetectorLength
 Length of Ge detector.
G4double GeDetectorShellLength
 Length of Ge detector shell.
G4double GeDetectorShellInnerRadius
 Inner radius of Ge detector shell.
G4double GeDetectorShellOuterRadius
 Outer radius of Ge detector shell.
G4double BeamBlockerThickness
 Thickness of beam blocker.
G4double ShieldingBeamBlockerThickness
 Shielding beam blocker thickness.
G4double GeDetectorContainerSizeX
 Size of the detector container in the Z-direction.
G4Material * defaultMaterial
 Default material.
G4double WorldSizeZ
 Size of world in the Z-direction.
G4double WorldSizeY
 Size of world in the Y-direction.
G4double WorldSizeX
 Size of world in the X-direction.
G4Material * ShieldingMaterial
 Shielding material.
G4double ShieldingThickness
 Thickness of shielding.
G4double TopShieldingThickness
 Thickness of top shielding.
G4Material * BeamBlockerMaterial
 The beam blocker material.
G4Material * ShieldingBeamBlockerMaterial
 Shielding beam blocker material.
G4Box * solidWorld
 Pointer to the solid World.
G4LogicalVolume * logicWorld
 Pointer to the logical World.
G4VPhysicalVolume * physiWorld
 Pointer to the physical World.
G4Material * GeDetectorShellMaterial
 The Ge detector shell material.
G4Material * GermaniumDetectorMaterial
 The Ge detector material.
G4Box * solidScintillatorBox
 Pointer to the solid Calor.
G4LogicalVolume * logicScintillatorBox
 Pointer to the logical Calor.
G4VPhysicalVolume * physiScintillatorBox
 Pointer to the physical Calor.
G4Box * solidSlot
 Pointer to the solid Layer.
G4LogicalVolume * logicSlot
 Pointer to the logical Layer.
G4VPhysicalVolume * physiSlot
 Pointer to the physical Layer.
G4Tubs * solidScintillator
 Pointer to the solid Scintillator.
G4LogicalVolume * logicScintillator
 Pointer to the logical Scintillator.
G4VPhysicalVolume * physiScintillator
 Pointer to the physical Scintillator.
G4Box * solidGap
 Pointer to the solid Gap.
G4LogicalVolume * logicGap
 Pointer to the logical Gap.
G4VPhysicalVolume * physiGap
 Pointer to the physical Gap.
G4Box * solidShielding
 Pointer to the solid shielding.
G4LogicalVolume * logicShielding
 Pointer to the logical shielding.
G4VPhysicalVolume * physiShielding
 Pointer to the physical shielding.
G4Box * solidTopShielding
 Pointer to the solid shielding.
G4LogicalVolume * logicTopShielding
 Pointer to the logical shielding.
G4VPhysicalVolume * physiTopShielding
 Pointer to the physical shielding.
G4Box * solidShieldingBeamBlocker
 Pointer to the solid shielding.
G4LogicalVolume * logicShieldingBeamBlocker
 Pointer to the logical shielding.
G4VPhysicalVolume * physiShieldingBeamBlocker
 Pointer to the physical shielding.
G4Box * solidTopShieldingBeamBlocker
 Pointer to the solid shielding.
G4LogicalVolume * logicTopShieldingBeamBlocker
 Pointer to the logical shielding.
G4VPhysicalVolume * physiTopShieldingBeamBlocker
 Pointer to the physical shielding.
G4Box * solidBetaDetector
 Pointer to the solid UpperBetaDetector.
G4LogicalVolume * logicBetaDetector
 Pointer to the logical UpperBetaDetector.
G4VPhysicalVolume * physiUpperBetaDetector
 Pointer to the physical UpperBetaDetector.
G4Box * solidLowerBetaDetector
 Pointer to the solid LowerBetaDetector.
G4LogicalVolume * logicLowerBetaDetector
 Pointer to the logical LowerBetaDetector.
G4VPhysicalVolume * physiLowerBetaDetector
 Pointer to the physical LowerBetaDetector.
DetectorMessengerdetectorMessenger
 Pointer to the Messenger.
G4Box * solidFrontScintillatorPlate
 Pointer to the solid FrontScintillatorPlate.
G4LogicalVolume * logicFrontScintillatorPlate
 Pointer to the logical FrontScintillatorPlate.
G4VPhysicalVolume * physiUpperFrontScintillatorPlate
 Pointer to the physical UpperFrontScintillatorPlate.
G4VPhysicalVolume * physiLowerFrontScintillatorPlate
 Pointer to the physical LowerFrontScintillatorPlate.
G4Box * solidBackScintillatorPlate
 Pointer to the solid BackScintillatorPlate.
G4LogicalVolume * logicBackScintillatorPlate
 Pointer to the logical BackScintillatorPlate.
G4VPhysicalVolume * physiBackScintillatorPlate
 Pointer to the physical BackScintillatorPlate.
G4double SlowdownThickness
 Thickness of slowdown.
G4double SlowdownLength
 Length of slowdown.
G4double SlowdownHeightGap
 Peight of slowdown gap.
G4double EffectiveSlowdownThickness
 The thickness that the particles from the gun meet.
G4Trap * solidSlowdown
 Pointer to the solid FrontScintillatorPlate.
G4LogicalVolume * logicSlowdown
 Pointer to the logical Slowdown.
G4VPhysicalVolume * physiUpperSlowdown
 Pointer to the physical UpperSlowdown.
G4VPhysicalVolume * physiLowerSlowdown
 Pointer to the physical LowerSlowdown.
G4Material * SlowdownMaterial
 The slowdown material.
G4Tubs * solidGermaniumDetector
 Pointer to the solid germanium detector.
G4LogicalVolume * logicGermaniumDetector
 Pointer to the logical germanium detector.
G4VPhysicalVolume * physiGermaniumDetector
 Pointer to the physical germanium detector.
G4Tubs * solidGeDetectorShell
 Pointer to the solid germanium detector shell.
G4LogicalVolume * logicGeDetectorShell
 Pointer to the logical germanium detector shell.
G4VPhysicalVolume * physiGeDetectorShell
 Pointer to the physical germanium detector shell.
G4Box * solidGeDetectorContainer
 Pointer to the solid germanium detector container.
G4LogicalVolume * logicGeDetectorContainer
 Pointer to the logical germanium detector container.
G4VPhysicalVolume * physiGeDetectorContainer
 Pointer to the physical germanium detector container.
G4Tubs * solidGeDetectorShellTop
 Pointer to the solid germanium detector shell.
G4LogicalVolume * logicGeDetectorShellTop
 Pointer to the logical germanium detector shell.
G4VPhysicalVolume * physiGeDetectorShellTop
 Pointer to the physical germanium detector shell.
G4Tubs * solidGeDetectorShellBottom
 Pointer to the solid germanium detector shell.
G4LogicalVolume * logicGeDetectorShellBottom
 Pointer to the logical germanium detector shell.
G4VPhysicalVolume * physiGeDetectorShellBottom
 Pointer to the physical germanium detector shell.
G4Box * solidBeamBlocker
 Pointer to the solid BeamBlocker.
G4LogicalVolume * logicBeamBlocker
 Pointer to the logical BeamBlocker.
G4VPhysicalVolume * physiBeamBlocker
 Pointer to the physical BeamBlocker.
G4double BetaDetectorPositionY
 Y position of the Beta detectors.
G4double BeamBlockerYWidth
 Y width of beam blocker.
G4double BeamBlockerZWidth
 Z width of beam blocker.
G4double BeamBlockerXPosition
 X position of beam blocker.
G4double ScintillatorPositionX
G4double ScintillatorPositionY
G4double ScintillatorPositionZ
G4double ShieldingPositionX
G4double ShieldingPositionY
G4double ShieldingPositionZ
G4double TopShieldingPositionX
G4double TopShieldingPositionY
G4double TopShieldingPositionZ
G4double PlateShieldingSpacing
G4double ShieldingBeamBlockerPositionX
G4bool FlipBeta

Detailed Description

This class constructs the detector, according to specifications.

Definition at line 54 of file PrimaryGeneratorMessenger.hh.


Member Function Documentation

G4double PrimaryGeneratorMessenger::DetectorConstruction::GetBackScintillatorPlateSizeY ( ) [inline]

Returns Y size of back scintillator plate.

Returns the number of scintillator boxes.

Definition at line 165 of file PrimaryGeneratorMessenger.hh.

void PrimaryGeneratorMessenger::DetectorConstruction::SetBeamBlockerThickness ( G4double  thickness)

Sets beamblocker thickness.

Parameters:
thicknessBeamBlocker thickness.
void PrimaryGeneratorMessenger::DetectorConstruction::SetEffectiveSlowdownThickness ( G4double  thickness)

Sets the effective slowdown thickness.

Parameters:
thicknessThe thickness of effective slowdown.
void PrimaryGeneratorMessenger::DetectorConstruction::SetGeDetectorLength ( G4double  length)

Set Ge detector length.

Parameters:
lengthLength
void PrimaryGeneratorMessenger::DetectorConstruction::SetGeDetectorRadius ( G4double  radius)

Set Ge detector radius.

Parameters:
radiusDetector radius.
void PrimaryGeneratorMessenger::DetectorConstruction::SetGeDetectorShellInnerRadius ( G4double  radius)

Set Ge detector shell inner radius.

Parameters:
radiusDetector radius
void PrimaryGeneratorMessenger::DetectorConstruction::SetGeDetectorShellLength ( G4double  length)

Set Ge detector shell length.

Parameters:
lengthLength
void PrimaryGeneratorMessenger::DetectorConstruction::SetGeDetectorShellOuterRadius ( G4double  radius)

Set Ge detector shell outer radius.

Parameters:
radiusRadius.
void PrimaryGeneratorMessenger::DetectorConstruction::SetShieldingBeamBlockerThickness ( G4double  thickness)

Sets shielding beam blocker thickness.

Parameters:
thicknessShielding beam blocker thickness
void PrimaryGeneratorMessenger::DetectorConstruction::SetShieldingThickness ( G4double  thickness)

Sets the shielding thickness.

Parameters:
thicknessThe shielding thickness
void PrimaryGeneratorMessenger::DetectorConstruction::SetSlowdownLength ( G4double  length)

Sets the slowdown length.

Parameters:
lengthThe slowdown length
void PrimaryGeneratorMessenger::DetectorConstruction::SetSlowdownThickness ( G4double  thickness)

Sets the slowdown thickness.

Parameters:
thicknessThe slowdown thickness
void PrimaryGeneratorMessenger::DetectorConstruction::SetTopShieldingThickness ( G4double  thickness)

Sets the top shielding thickness.

Parameters:
thicknessThe shielding thickness

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark