59 ctr.set(0.*
mm, 0.*
mm, 0.*
mm);
60 halfSizeWorld.set(3000.*
mm, 3000*
mm, 3000*
mm);
61 G4Box *ROphmWorldB =
new G4Box(
"ROphmWorldG", halfSizeWorld.getX(), halfSizeWorld.getY(), halfSizeWorld.getZ());
91 G4double halfXVoxelDimensionX, halfXVoxelDimensionY, halfXVoxelDimensionZ;
97 G4double voxelXThicknessX = 2*halfXVoxelDimensionX;
98 G4double voxelXThicknessY = 2*halfXVoxelDimensionY;
99 G4double voxelXThicknessZ = 2*halfXVoxelDimensionZ;
103 G4Box *ROPhantomXDivision =
new G4Box(
"ROPhantomXDivision",
104 halfXVoxelDimensionX,
110 "ROPhantomXDivisionLog",
113 ROPhantomXDivisionPhys =
new G4PVReplica(
"ROPhantomXDivisionPhys",
114 ROPhantomXDivisionLog,
122 G4Box *ROPhantomZDivision =
new G4Box(
"ROPhantomZDivision",
123 halfXVoxelDimensionX,
125 halfXVoxelDimensionZ);
129 "ROPhantomZDivisionLog",
132 ROPhantomZDivisionPhys =
new G4PVReplica(
"ROPhantomZDivisionPhys",
133 ROPhantomZDivisionLog,
134 ROPhantomXDivisionPhys,
141 G4Box *ROPhantomYDivision =
new G4Box(
"ROPhantomYDivision",
142 halfXVoxelDimensionX,
143 halfXVoxelDimensionY,
144 halfXVoxelDimensionZ);
148 "ROPhantomYDivisionLog",
151 ROPhantomYDivisionLog,
152 ROPhantomZDivisionPhys,
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
G4VPhysicalVolume * ROPhantomYDivisionPhys
static G4NistManager * Instance()
G4VPhysicalVolume * ROPhyVol
G4int NumberOfVoxelsAlongX
G4VPhysicalVolume * Build()
G4int NumberOfVoxelsAlongZ
void setBuildData(G4ThreeVector centre, G4ThreeVector halfSize, G4int NumberOfVoxelsAlongX, G4int NumberOfVoxelsAlongY, G4int NumberOfVoxelsAlongZ)
~CML2ReadOutGeometry(void)
G4int NumberOfVoxelsAlongY
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)