64 #include "RE05DetectorParameterDef.icc"
86 void RE05DetectorConstruction::DefineMaterials()
113 Scinti =
new G4Material(
"Scintillator", density= 1.032*
g/
cm3, nel=2);
129 G4Box * experimentalHall_box
130 =
new G4Box(
"expHall_b",expHall_x,expHall_y,expHall_z);
140 =
new G4Tubs(
"trkTubs_tubs",trkTubs_rmin,trkTubs_rmax,trkTubs_dz,
141 trkTubs_sphi,trkTubs_dphi);
146 experimentalHall_log,
false,0);
155 =
new G4Tubs(
"trackerLayer_tubs",trkTubs_rmin,trkTubs_rmax,trkTubs_dz,
156 trkTubs_sphi,trkTubs_dphi);
164 kXAxis, notrkLayers, trackerParam);
172 =
new G4Tubs(
"calorimeter_tubs",caloTubs_rmin,caloTubs_rmax,
173 caloTubs_dz,caloTubs_sphi,caloTubs_dphi);
178 experimentalHall_log,
false,0);
188 =
new G4Tubs(
"caloLayer_tubs",caloRing_rmin,caloRing_rmax,
189 caloRing_dz,caloRing_sphi,caloRing_dphi);
197 kXAxis, nocaloLayers, calorimeterParam);
205 =
new G4Box(
"muoncounter_box",muBox_width,muBox_thick,
209 for(
int i=0; i<nomucounter ; i++)
212 phi = 360.*
deg/nomucounter*i;
213 x = muBox_radius*std::sin(phi);
214 y = muBox_radius*std::cos(phi);
219 muoncounter_log,
"muoncounter_P",
220 experimentalHall_log,
false,i);
227 return experimentalHall_phys;
246 G4String trackerSDname =
"/mydet/tracker";
250 G4String muonSDname =
"/mydet/muon";
static const G4VisAttributes & GetInvisible()
void SetForceWireframe(G4bool)
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
Definition of the RE05TrackerParametrisation class.
Definition of the RE05TrackerSD class.
virtual G4VPhysicalVolume * Construct()
RE05DetectorConstruction()
Definition of the RE05MuonSD class.
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
static G4TransportationManager * GetTransportationManager()
virtual ~RE05DetectorConstruction()
G4FieldManager * GetFieldManager() const
Definition of the RE05Field class.
HepRotation & rotateZ(double delta)
Definition of the RE05CalorimeterParametrisation class.
void AddElement(G4Element *element, G4int nAtoms)
void CreateChordFinder(G4MagneticField *detectorMagField)
Definition of the RE05DetectorConstruction class.
virtual void ConstructSDandField()
void SetVisAttributes(const G4VisAttributes *pVA)
Definition of the RE05CalorimeterSD class.