65 #include "RE05DetectorParameterDef.icc"
76 void RE05DetectorConstruction::DefineMaterials()
103 fScinti =
new G4Material(
"Scintillator", density= 1.032*
g/
cm3, nel=2);
119 G4Box * experimentalHall_box
120 =
new G4Box(
"expHall_b",fExpHall_x,fExpHall_y,fExpHall_z);
130 =
new G4Tubs(
"trkTubs_tubs",fTrkTubs_rmin,fTrkTubs_rmax,fTrkTubs_dz,
131 fTrkTubs_sphi,fTrkTubs_dphi);
136 experimentalHall_log,
false,0);
145 =
new G4Tubs(
"trackerLayer_tubs",fTrkTubs_rmin,fTrkTubs_rmax,fTrkTubs_dz,
146 fTrkTubs_sphi,fTrkTubs_dphi);
154 kXAxis, fNotrkLayers, trackerParam);
162 =
new G4Tubs(
"calorimeter_tubs",fCaloTubs_rmin,fCaloTubs_rmax,
163 fCaloTubs_dz,fCaloTubs_sphi,fCaloTubs_dphi);
168 experimentalHall_log,
false,0);
178 =
new G4Tubs(
"caloLayer_tubs",fCaloRing_rmin,fCaloRing_rmax,
179 fCaloRing_dz,fCaloRing_sphi,fCaloRing_dphi);
187 kXAxis, fNocaloLayers, calorimeterParam);
195 =
new G4Box(
"muoncounter_box",fMuBox_width,fMuBox_thick,
199 for(
int i=0; i<fNomucounter ; i++)
202 phi = 360.*
deg/fNomucounter*i;
203 x = fMuBox_radius*std::sin(phi);
204 y = fMuBox_radius*std::cos(phi);
209 muoncounter_log,
"muoncounter_P",
210 experimentalHall_log,
false,i);
217 return experimentalHall_phys;
236 G4String trackerSDname =
"/mydet/tracker";
241 G4String muonSDname =
"/mydet/muon";
static constexpr double mg
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
std::vector< ExP01TrackerHit * > a
static constexpr double perCent
Definition of the RE05TrackerParametrisation class.
Definition of the RE05TrackerSD class.
virtual G4VPhysicalVolume * Construct()
static constexpr double cm
RE05DetectorConstruction()
Definition of the RE05MuonSD class.
static constexpr double cm3
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
static G4TransportationManager * GetTransportationManager()
void AddNewDetector(G4VSensitiveDetector *aSD)
virtual ~RE05DetectorConstruction()
G4FieldManager * GetFieldManager() const
Definition of the RE05Field class.
static G4SDManager * GetSDMpointer()
HepRotation & rotateZ(double delta)
Definition of the RE05CalorimeterParametrisation class.
void AddElement(G4Element *element, G4int nAtoms)
void CreateChordFinder(G4MagneticField *detectorMagField)
static constexpr double deg
Definition of the RE05DetectorConstruction class.
static constexpr double mole
static const G4VisAttributes & GetInvisible()
virtual void ConstructSDandField()
void SetForceWireframe(G4bool=true)
void SetVisAttributes(const G4VisAttributes *pVA)
Definition of the RE05CalorimeterSD class.