35 #include "SensitiveDetector.hh"
36 #include "Materials.hh"
56 : fRadiatorDescription(0)
83 G4double foilGasRatio = radThickness/(radThickness+gasGap);
106 G4double totDensity = foilDensity*foilGasRatio
107 + gasDensity*(1.0-foilGasRatio);
109 G4double fractionFoil = foilDensity*foilGasRatio/totDensity;
110 G4double fractionGas = gasDensity*(1.0-foilGasRatio)/totDensity;
112 radiatorMat->AddMaterial(li, fractionFoil);
113 radiatorMat->AddMaterial(he, fractionGas);
130 =
new G4Box(
"World", worldSizeR, worldSizeR, worldSizeZ/2.);
140 G4double radThick = foilNumber*(radThickness + gasGap) - gasGap + detGap;
141 G4double radZ = startZ + 0.5*radThick;
144 =
new G4Box(
"Radiator", 1.1*absorberRadius, 1.1*absorberRadius, 0.5*radThick);
150 "Radiator", logicRadiator, physicsWorld,
false, 0 );
159 G4double windowZ = startZ + radThick + windowThick/2. + 15.0*
mm;
161 G4double gapZ = windowZ + windowThick/2. + gapThick/2. + 0.01*
mm;
163 G4double electrodeZ = gapZ + gapThick/2. + electrodeThick/2. + 0.01*
mm;
167 G4double absorberZ = electrodeZ + electrodeThick/2.
168 + absorberThickness/2. + 0.01*
mm;
171 =
new G4Box(
"Absorber", absorberRadius, absorberRadius, absorberThickness/2.);
177 "Absorber", logicAbsorber, physicsWorld,
false, 0);
190 G4cout <<
"\n The WORLD is made of "
191 << worldSizeZ/
mm <<
"mm of " << worldMaterial->
GetName();
192 G4cout <<
", the transverse size (R) of the world is "
193 << worldSizeR/
mm <<
" mm. " <<
G4endl;
194 G4cout <<
" The ABSORBER is made of "
195 << absorberThickness/
mm <<
"mm of " << absorberMaterial->
GetName();
196 G4cout <<
", the transverse size (R) is "
197 << absorberRadius/
mm <<
" mm. " <<
G4endl;
198 G4cout <<
" Z position of the (middle of the) absorber "
199 << absorberZ/
mm <<
" mm." <<
G4endl;
206 G4cout <<
"fRadiatorMat = " << radiatorMat->GetName() <<
G4endl;
static constexpr double mm
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
const G4String & GetName() const
G4double GetDensity() const
Definition of the DetectorWatase86 class.
static Materials * GetInstance()
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
void AddNewDetector(G4VSensitiveDetector *aSD)
G4Material * GetMaterial(const G4String &)
static G4SDManager * GetSDMpointer()
G4Material * fFoilMaterial
G4VPhysicalVolume * Construct()
G4LogicalVolume * fLogicalVolume
static constexpr double micrometer
G4Material * fGasMaterial
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)