46 #include "DetectorConstruction.hh"
47 #include "DetectorMessenger.hh"
49 #include "TargetSD.hh"
50 #include "CheckVolumeSD.hh"
178 G4cout <<
"===================================================" <<
G4endl;
180 G4cout <<
"===================================================" <<
G4endl;
188 G4cout <<
" Target2 width= " << fTarget2Z/
mm <<
" mm position = "
205 G4cout <<
"===================================================" <<
G4endl;
229 logicWorld,0,
false,0);
246 logicTGVolume,
"TargetVolume",
255 logicTGVolume,
false,0);
265 logicTGVolume,
false,0);
277 "GasVolume",logicGasVolume,
296 "CheckVolume",logicCheckVolume,
309 "Phantom",logicPhantom,
318 physPhantom,
false,0);
333 logicAbsorber,physPh,
false,0);
343 for(
G4int k=0; k<numR; k++) {
348 solidRing =
new G4Tubs(
"Ring",r1,r2,absWidth,0.,
twopi);
353 logicAbsorber,
false,k);
406 G4cout <<
"Material " << mat <<
" is not found out!" <<
G4endl;
423 G4cout <<
"Material " << mat <<
" is not found out!" <<
G4endl;
void GeometryHasBeenModified(G4bool prop=true)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void SetShiftZ(G4double val)
static Histo * GetPointer()
G4double fCheckVolumePosZ
CLHEP::Hep3Vector G4ThreeVector
G4Material * fTarget2Material
const G4String & GetName() const
G4VPhysicalVolume * Construct()
void SetVisibility(G4bool)
DetectorMessenger * fMessenger
static G4MaterialTable * GetMaterialTable()
G4double fDistanceVacuumTarget
G4Material * fTarget1Material
G4Material * fAbsorberMaterial
void InitialiseGeometryParameters()
static G4NistManager * Instance()
void SetTarget2Material(const G4String &m)
static G4PhysicalVolumeStore * GetInstance()
G4double fGasVolumeRadius
G4GLOB_DLL std::ostream G4cout
void SetAbsorberZ(G4double val)
void PhysicsHasBeenModified()
G4Material * fWindowMaterial
static const double twopi
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4RunManager * GetRunManager()
Definition of the PhantomSD class.
G4LogicalVolume * logicAbsorber
static const G4double factor
G4double fTargetVolumePosZ
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static G4SDManager * GetSDMpointer()
static const G4VisAttributes Invisible
G4LogicalVolume * fLogicTarget1
G4Material * fLightMaterial
void SetTarget1Material(const G4String &m)
void SetMaterial(G4Material *pMaterial)
Messenger class that defines commands for DetectorConstruction.
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
G4Material * fWorldMaterial
G4LogicalVolume * fLogicTarget2