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);
124 density = universe_mean_density;
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);
257 if ((k+1)%2 == 0) rotm.rotateX(90*
deg);
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";
G4IonisParamMat * GetIonisation() const
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
G4LogicalVolume * lvol_layer
const G4String & GetName() const
G4VPhysicalVolume * Construct()
void SetBirksConstant(G4double value)
static G4MaterialTable * GetMaterialTable()
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4LogicalVolume * lvol_fiber
G4Cache< G4GlobalMagFieldMessenger * > fFieldMessenger
static G4PhysicalVolumeStore * GetInstance()
virtual void ConstructSDandField()
G4Material * calorimeterMat
G4GLOB_DLL std::ostream G4cout
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static const double perCent
G4LogicalVolume * lvol_module
static G4GeometryManager * GetInstance()
static const double kelvin
G4double distanceInterFibers
G4VPhysicalVolume * pvol_world
G4VPhysicalVolume * ConstructCalorimeter()
static const G4VisAttributes Invisible
G4LogicalVolume * lvol_world
void OpenGeometry(G4VPhysicalVolume *vol=0)
void AddElement(G4Element *element, G4int nAtoms)
void PrintCalorParameters()
G4LogicalVolume * lvol_calorimeter
void Put(const value_type &val) const
void SetVisAttributes(const G4VisAttributes *pVA)