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;
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");
CLHEP::Hep3Vector G4ThreeVector
static G4MaterialTable * GetMaterialTable()
static constexpr double keV
static constexpr double mm
void AddNewDetector(G4VSensitiveDetector *aSD)
CLHEP::HepRotation G4RotationMatrix
void add(const G4String &particleName)
G4LogicalVolume * fLVPhantomSens
void SetFilter(G4VSDFilter *f)
static const G4VisAttributes & GetInvisible()
G4ThreeVector fPhantomSize
Definition of the RE02DetectorConstruction class.
void add(const G4String &particleName)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
virtual void ConstructSDandField()
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
void SetVisAttributes(const G4VisAttributes *pVA)
virtual ~RE02DetectorConstruction()
Definition of the RE02NestedPhantomParameterisation class.
RE02DetectorConstruction()
static G4SDManager * GetSDMpointer()
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
virtual G4VPhysicalVolume * Construct()
static G4NistManager * Instance()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)