56 fSolidWorld(0), fLogicWorld(0), fPhysiWorld(0),
57 fSolidTarget(0), fLogicTarget(0), fPhysiTarget(0),
58 fSolidDetector(0),fLogicDetector(0),fPhysiDetector(0),
59 fDetectorMessenger(0),
61 fDefaultMater(0),fTargetMater(0),fDetectorMater(0),
62 fTargetLength (1.*
cm), fTargetRadius(0.5*
cm),
63 fDetectorLength(5.0 *
cm), fDetectorThickness(2.0 *
cm),
64 fWorldLength (
std::
max(fTargetLength,fDetectorLength)),
65 fWorldRadius (fTargetRadius + fDetectorThickness),
66 fTargetRegion(0), fDetectorRegion(0)
205 G4String command =
"/gps/pos/centre ";
206 std::ostringstream os;
211 command =
"/gps/position ";
232 << materialName <<
G4endl;
247 << materialName <<
G4endl;
exrdmDetectorMessenger * fDetectorMessenger
G4Material * GetMaterial(G4int i)
Definition of the exrdmDetectorConstruction class.
virtual ~exrdmDetectorConstruction()
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
G4LogicalVolume * fLogicWorld
exrdmDetectorConstruction()
G4Material * fDetectorMater
G4VPhysicalVolume * fPhysiWorld
G4double fDetectorThickness
void AddMaterial(G4String, G4String, G4double, G4String, G4double tem=CLHEP::STP_Temperature, G4double pres=CLHEP::STP_Pressure)
static G4UImanager * GetUIpointer()
Definition of the exrdmMaterial class.
G4GLOB_DLL std::ostream G4cout
G4Region * fDetectorRegion
G4LogicalVolume * fLogicDetector
void SetDetectorMaterial(G4String)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4VPhysicalVolume * fPhysiTarget
Definition of the exrdmDetectorMessenger class.
static const G4VisAttributes Invisible
exrdmMaterial * fMaterialsManager
void SetTargetMaterial(G4String)
G4Material * fDefaultMater
G4VPhysicalVolume * fPhysiDetector
G4Material * fTargetMater
void SetMaterial(G4Material *pMaterial)
G4LogicalVolume * fLogicTarget
void SetVisAttributes(const G4VisAttributes *pVA)
virtual G4VPhysicalVolume * Construct()
G4int ApplyCommand(const char *aCommand)