57 G4int numberOfVoxelsX,
58 G4int numberOfVoxelsY,
59 G4int numberOfVoxelsZ):
62 detectorToWorldPosition(pos),
63 detectorSizeX(detectorDimX),
64 detectorSizeY(detectorDimY),
65 detectorSizeZ(detectorDimZ),
66 numberOfVoxelsAlongX(numberOfVoxelsX),
67 numberOfVoxelsAlongY(numberOfVoxelsY),
68 numberOfVoxelsAlongZ(numberOfVoxelsZ)
101 "ROWorldLog", 0,0,0);
130 G4double halfXVoxelSizeY = halfDetectorSizeY;
131 G4double halfXVoxelSizeZ = halfDetectorSizeZ;
132 G4double voxelXThickness = 2*halfXVoxelSizeX;
134 G4Box *RODetectorXDivision =
new G4Box(
"RODetectorXDivision",
141 "RODetectorXDivisionLog",
145 RODetectorXDivisionLog,
153 G4double halfYVoxelSizeX = halfXVoxelSizeX;
155 G4double halfYVoxelSizeZ = halfDetectorSizeZ;
156 G4double voxelYThickness = 2*halfYVoxelSizeY;
158 G4Box *RODetectorYDivision =
new G4Box(
"RODetectorYDivision",
165 "RODetectorYDivisionLog",
169 RODetectorYDivisionLog,
170 RODetectorXDivisionPhys,
177 G4double halfZVoxelSizeX = halfXVoxelSizeX;
178 G4double halfZVoxelSizeY = halfYVoxelSizeY;
180 G4double voxelZThickness = 2*halfZVoxelSizeZ;
182 G4Box *RODetectorZDivision =
new G4Box(
"RODetectorZDivision",
189 "RODetectorZDivisionLog",
193 RODetectorZDivisionLog,
194 RODetectorYDivisionPhys,
200 RODetectorZDivisionLog -> SetSensitiveDetector(dummySD);
const G4double detectorSizeY
CLHEP::Hep3Vector G4ThreeVector
static const G4double pos
G4VPhysicalVolume * RODetectorZDivisionPhys
const G4int numberOfVoxelsAlongY
const G4ThreeVector detectorToWorldPosition
static constexpr double g
~IORTDetectorROGeometry()
const G4double detectorSizeZ
const G4int numberOfVoxelsAlongX
IORTDetectorROGeometry(G4String aString, G4ThreeVector detectorPos, G4double detectorDimX, G4double detectorDimY, G4double detectorDimZ, G4int numberOfVoxelsX, G4int numberOfVoxelsY, G4int numberOfVoxelsZ)
const G4int numberOfVoxelsAlongZ
static constexpr double cm
G4VPhysicalVolume * Build()
static constexpr double mole
static constexpr double cm3
const G4double detectorSizeX