110 fPhantomSize.
setX(200.*
mm);
111 fPhantomSize.
setY(200.*
mm);
112 fPhantomSize.
setZ(400.*
mm);
113 fNx = fNy = fNz = 100;
152 =
new G4Box(
"world", worldSize.x()/2., worldSize.y()/2., worldSize.z()/2.);
179 =
new G4Box(
"phantom",
180 phantomSize.
x()/2., phantomSize.
y()/2., phantomSize.
z()/2.);
200 G4cout <<
"<-- RE02DetectorConstruction::Construct-------" <<
G4endl;
202 G4cout <<
" Segmentation ("<< fNx<<
","<<fNy<<
","<<fNz<<
")"<<
G4endl;
205 G4cout <<
"<---------------------------------------------"<<
G4endl;
223 new G4Box(yRepName,phantomSize.
x()/2.,sensSize.
y()/2.,phantomSize.
z()/2.);
231 new G4Box(xRepName,sensSize.
x()/2.,sensSize.
y()/2.,phantomSize.
z()/2.);
244 new G4Box(zVoxName,sensSize.
x()/2.,sensSize.
y()/2.,sensSize.
z()/2.);
248 std::vector<G4Material*> phantomMat(2,water);
302 G4String phantomSDname =
"PhantomSD";
331 electronFilter->
add(particleName=
"e+");
332 electronFilter->
add(particleName=
"e-");
395 for (
G4int i = 0; i < 4; i++){
396 std::sprintf(name,
"gammaSurfCurr%03d",i);
403 pkinEFilter->
add(
"gamma");
RE02DetectorConstruction()
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static constexpr double mm
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
virtual void ConstructSDandField()
static G4MaterialTable * GetMaterialTable()
void SetFilter(G4VSDFilter *f)
static G4NistManager * Instance()
Definition of the RE02NestedPhantomParameterisation class.
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
virtual ~RE02DetectorConstruction()
void AddNewDetector(G4VSensitiveDetector *aSD)
void add(const G4String &particleName)
static G4SDManager * GetSDMpointer()
virtual G4VPhysicalVolume * Construct()
Definition of the RE02DetectorConstruction class.
static constexpr double keV
static const G4VisAttributes & GetInvisible()
void add(const G4String &particleName)
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)