68 fDetectorMessenger(0),
69 fShield_Thickness(5.*
mm),
70 fSensitive_cylinder_H (1.*
mm),
71 fSensitive_cylinder_Rout (1.*
mm)
79 {
delete fDetectorMessenger;
87 return ConstructSimpleGeometry();
92 void RMC01DetectorConstruction::DefineMaterials()
164 G4Orb* solidShieldingSphere=
new G4Orb(
"Shielding", radiusShieldingSphere);
172 logicShieldingSphere,
182 radiusShieldingSphere-fShield_Thickness);
192 logicShieldingSphere,
200 0.,fSensitive_cylinder_Rout,fSensitive_cylinder_H/2.,
209 logicDetectingCylinder,
216 RMC01SD* theSensitiveDetector =
new RMC01SD(
"/SensitiveCylinder");
252 { fSensitive_cylinder_Rout=
r;
258 { fSensitive_cylinder_H=h;
264 { fShield_Thickness=
d;
CLHEP::Hep3Vector G4ThreeVector
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
int universe_mean_density
virtual G4VPhysicalVolume * Construct()
Definition of the RMC01DetectorConstruction class.
static G4PhysicalVolumeStore * GetInstance()
Definition of the RMC01SD class.
void SetSensitiveVolumeRadius(G4double r)
void SetShieldingThickness(G4double d)
void SetSensitiveVolumeHeight(G4double h)
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
void AddNewDetector(G4VSensitiveDetector *aSD)
virtual ~RMC01DetectorConstruction()
static G4SDManager * GetSDMpointer()
Definition of the RMC01DetectorMessenger class.
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
RMC01DetectorConstruction()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)