Detector construction. More...
#include <Doxymodules_parameterisations.h>
Public Member Functions | |
Par03DetectorConstruction () | |
virtual | ~Par03DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () final |
virtual void | ConstructSDandField () final |
void | SetRadius (G4double aRadius) |
G4double | GetRadius () const |
void | SetLength (G4double aLength) |
G4double | GetLength () const |
void | SetMaterial (const G4String &aMaterial) |
G4String | GetMaterial () const |
void | SetNbOfLayers (G4int aNumber) |
G4int | GetNbOfLayers () const |
void | SetNbOfRhoCells (G4int aNumber) |
G4int | GetNbOfRhoCells () const |
void | SetNbOfPhiCells (G4int aNumber) |
G4int | GetNbOfPhiCells () const |
void | Print () const |
Private Attributes | |
Par03DetectorMessenger * | fDetectorMessenger |
Messenger that allows to modify geometry. | |
G4LogicalVolume * | fLogicCell = nullptr |
Logical volume of replicated cell. | |
G4double | fWorldSize = 10 * m |
World size (in each X, Y, Z dimension) | |
G4double | fDetectorRadius = 10 * cm |
Radius of the cylindrical detector. | |
G4double | fDetectorLength = 30 * cm |
Length of the cylindrical detector (along z axis) | |
G4Material * | fDetectorMaterial = nullptr |
Material of the detector. | |
G4int | fNbOfLayers = 10 |
Number of layers = slices along z axis. | |
G4int | fNbOfRhoCells = 10 |
Number of cells along radius. | |
G4int | fNbOfPhiCells = 10 |
Number of cells in azimuthal angle. | |
Detector construction.
Creates a cylindrical detector, with cylinder axis along Z-axis. It is placed in the world volume so that its bases are located at z=0 and z=Length. Dimensions of the detector (Radius and Length) and material can be set using the UI commands. Readout geometry of the detector is created, and can be set by UI commands. Cells are created along z-axis, azimuthal angle, and radius (cylindrical segmentation). Sensitive detector Par03SensitiveDetector is attached to the cell volume. Region for the detector is created as an envelope of the fast simulation.
Definition at line 60 of file Doxymodules_parameterisations.h.
Par03DetectorConstruction::Par03DetectorConstruction | ( | ) |
Definition at line 50 of file Par03DetectorConstruction.cc.
|
virtualdefault |
|
finalvirtual |
Definition at line 65 of file Par03DetectorConstruction.cc.
|
finalvirtual |
Definition at line 219 of file Par03DetectorConstruction.cc.
void Par03DetectorConstruction::SetRadius | ( | G4double | aRadius | ) |
Definition at line 261 of file Par03DetectorConstruction.cc.
|
inline |
Definition at line 64 of file Par03DetectorConstruction.hh.
void Par03DetectorConstruction::SetLength | ( | G4double | aLength | ) |
Definition at line 274 of file Par03DetectorConstruction.cc.
|
inline |
Definition at line 68 of file Par03DetectorConstruction.hh.
void Par03DetectorConstruction::SetMaterial | ( | const G4String & | aMaterial | ) |
Definition at line 247 of file Par03DetectorConstruction.cc.
|
inline |
Definition at line 72 of file Par03DetectorConstruction.hh.
|
inline |
Definition at line 75 of file Par03DetectorConstruction.hh.
|
inline |
Definition at line 77 of file Par03DetectorConstruction.hh.
|
inline |
Definition at line 79 of file Par03DetectorConstruction.hh.
|
inline |
Definition at line 81 of file Par03DetectorConstruction.hh.
|
inline |
Definition at line 83 of file Par03DetectorConstruction.hh.
|
inline |
Definition at line 85 of file Par03DetectorConstruction.hh.
void Par03DetectorConstruction::Print | ( | ) | const |
Definition at line 233 of file Par03DetectorConstruction.cc.
|
private |
Messenger that allows to modify geometry.
Definition at line 92 of file Par03DetectorConstruction.hh.
|
private |
Logical volume of replicated cell.
Definition at line 94 of file Par03DetectorConstruction.hh.
|
private |
World size (in each X, Y, Z dimension)
Definition at line 96 of file Par03DetectorConstruction.hh.
|
private |
Radius of the cylindrical detector.
Definition at line 98 of file Par03DetectorConstruction.hh.
|
private |
Length of the cylindrical detector (along z axis)
Definition at line 100 of file Par03DetectorConstruction.hh.
|
private |
Material of the detector.
Definition at line 102 of file Par03DetectorConstruction.hh.
|
private |
Number of layers = slices along z axis.
Definition at line 104 of file Par03DetectorConstruction.hh.
|
private |
Number of cells along radius.
Definition at line 106 of file Par03DetectorConstruction.hh.
|
private |
Number of cells in azimuthal angle.
Definition at line 108 of file Par03DetectorConstruction.hh.