46 #include "DetectorConstruction.hh"
47 #include "DetectorMessenger.hh"
49 #include "TargetSD.hh"
50 #include "CheckVolumeSD.hh"
197 logicWorld,0,
false,0);
214 logicTGVolume,
"TargetVolume",
223 logicTGVolume,
false,0);
232 logicTGVolume,
false,0);
243 "GasVolume",logicGasVolume,
273 "Phantom",logicPhantom,
282 physPhantom,
false,0);
312 solidRing =
new G4Tubs(
"Ring",r1,r2,absWidth,0.,
twopi);
364 if ( ! initialized ) {
379 v->SetSensitiveDetector(fPhantomSD);
394 G4cout <<
"Material " << mat <<
" is not found out!" <<
G4endl;
411 G4cout <<
"Material " << mat <<
" is not found out!" <<
G4endl;
425 G4cout <<
"===================================================" <<
G4endl;
427 G4cout <<
"===================================================" <<
G4endl;
452 G4cout <<
"===================================================" <<
G4endl;
G4double fDistanceVacuumTarget
static G4RunManager * GetRunManager()
T max(const T t1, const T t2)
brief Return the largest of the two arguments
void SetTarget1Material(const G4String &m)
G4LogicalVolume * fLogicTarget1
CLHEP::Hep3Vector G4ThreeVector
static constexpr double MeV
static G4MaterialTable * GetMaterialTable()
G4Material * fAbsorberMaterial
static constexpr double mm
G4double fGasVolumeRadius
G4VPhysicalVolume * Construct()
void DumpGeometryParameters()
G4Material * fLightMaterial
G4double fCheckVolumePosZ
G4VPhysicalVolume * fTarget2
G4LogicalVolume * fLogicCheckVolume
Definition of the PhantomSD class.
static const G4VisAttributes & GetInvisible()
G4Material * fTarget2Material
const G4String & GetName() const
G4double fTargetVolumePosZ
G4Material * fTarget1Material
virtual void ConstructSDandField()
G4VPhysicalVolume * fCheckVolume
void SetShiftZ(G4double val)
void InitialiseGeometryParameters()
static G4GeometryManager * GetInstance()
G4LogicalVolume * fLogicTarget2
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4VPhysicalVolume * fTarget1
static constexpr double twopi
G4VPhysicalVolume * fGasVolume
void OpenGeometry(G4VPhysicalVolume *vol=0)
void SetVisAttributes(const G4VisAttributes *pVA)
static G4SolidStore * GetInstance()
void SetVisibility(G4bool=true)
G4Material * fWindowMaterial
static G4SDManager * GetSDMpointer()
static G4PhysicalVolumeStore * GetInstance()
G4GenericMessenger * fMessenger
void PhysicsHasBeenModified()
G4GLOB_DLL std::ostream G4cout
void SetMaterial(G4Material *pMaterial)
void SetTarget2Material(const G4String &m)
G4Material * fWorldMaterial
G4LogicalVolume * fLogicAbsorber
G4LogicalVolume * fLogicPh
std::vector< G4LogicalVolume * > fLogicRing
static G4LogicalVolumeStore * GetInstance()
static G4NistManager * Instance()
G4VPhysicalVolume * fPhantom
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)