31 #include "DetectorConstruction.hh"
55 :fiberMat(0),lvol_fiber(0), absorberMat(0),lvol_layer(0),
56 moduleMat(0),lvol_module(0), calorimeterMat(0),lvol_calorimeter(0),
57 worldMat(0),pvol_world(0), defaultMat(0)
98 G4int natoms, ncomponents;
109 new G4Material(
"Scintillator", density= 1.032*
g/
cm3, ncomponents=2);
159 svol_fiber =
new G4Tubs(
"fiber",
175 svol_layer =
new G4Box(
"layer",
176 0.5*sizeX, 0.5*sizeY, 0.5*sizeZ);
208 svol_module =
new G4Box(
"module",
209 0.5*sizeX, 0.5*sizeY, 0.5*sizeZ);
241 svol_calorimeter =
new G4Box(
"calorimeter",
242 0.5*sizeX, 0.5*sizeY, 0.5*sizeZ);
276 svol_world =
new G4Box(
"world",
277 0.5*sizeX, 0.5*sizeY, 0.5*sizeZ);
320 G4cout <<
"\n-------------------------------------------------------------"
321 <<
"\n ---> The calorimeter is " <<
nbOfModules <<
" Modules"
322 <<
"\n ---> A Module is " <<
nbOfLayers <<
" Layers + 1 milled Layer";
329 <<
"\n ---> A Layer includes " <<
nbOfFibers <<
" fibers of "
348 G4cout <<
"\n-------------------------------------------------------------\n";
static constexpr double kelvin
CLHEP::Hep3Vector G4ThreeVector
G4VPhysicalVolume * pvol_world
G4LogicalVolume * lvol_module
static constexpr double MeV
static G4MaterialTable * GetMaterialTable()
static constexpr double mm
G4Material * calorimeterMat
static constexpr double perCent
G4VPhysicalVolume * Construct()
G4LogicalVolume * lvol_calorimeter
void SetBirksConstant(G4double value)
static constexpr double universe_mean_density
static const G4VisAttributes & GetInvisible()
const G4String & GetName() const
static constexpr double g
virtual void ConstructSDandField()
G4LogicalVolume * lvol_world
static constexpr double deg
static constexpr double mg
static G4GeometryManager * GetInstance()
static constexpr double twopi
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4VPhysicalVolume * ConstructCalorimeter()
void SetVisAttributes(const G4VisAttributes *pVA)
void Put(const value_type &val) const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void PrintCalorParameters()
static G4SolidStore * GetInstance()
static G4PhysicalVolumeStore * GetInstance()
void AddElement(G4Element *element, G4int nAtoms)
G4IonisParamMat * GetIonisation() const
G4LogicalVolume * lvol_layer
G4Cache< G4GlobalMagFieldMessenger * > fFieldMessenger
G4GLOB_DLL std::ostream G4cout
G4double distanceInterFibers
static constexpr double mole
G4LogicalVolume * lvol_fiber
static constexpr double cm3
HepRotation & rotateX(double delta)
static G4LogicalVolumeStore * GetInstance()