91 fAir(0), fAluminum(0), fPb(0), fXenon(0),
217 G4Box * experimentalHallBox
223 experimentalHallLV,
"ExpHallPhys", 0,
false, 0);
233 "StepPhys", experimentalHallLV,
false, 0);
241 return fWorldPhysVol;
252 G4double density,temperature,pressure;
274 density = 1.29*
mg/
cm3;
281 density = 2.70*
g/
cm3;
317 G4Box * experimentalHallBox =
323 "ExpHallPhys", 0,
false, 0);
333 G4Box * detectorBox =
334 new G4Box(
"detectorBox", det_x, det_y, det_z);
339 "detPhys", experimentalHallLV,
false, 0);
348 new G4Box(
"roomBox", room_x, room_y, room_z);
353 "roomPhys", experimentalHallLV,
false, 0);
361 "PhysSubDetector1", detectorLV,
false, 0);
378 subDetectorLV1, detectorLV,
false, 0);
385 "PhysSubDetectorFirst3", detectorLV,
false, 0);
393 "AssemblyPhys", subDetectorLV4,
false, 0);
396 "PhysSubDetectorSecond3", detectorLV,
false, 0);
398 return experimentalHallPhys;
413 new G4Tubs(
"subTub", 0., sub_x, sub_y, -90.*
deg, 180*
deg);
419 "AssemblyPhys", subTubLV,
false, 0);
436 new G4Box(
"detHallBox", sub_x, sub_y, sub_z);
456 new G4Box(
"OuterBox", big_x, big_y, big_z);
461 "OuterBoxPhys", 0,
false, 0);
470 new G4Box(
"BBox", bigL, bigL, bigL);
474 new G4Box(
"MBox", medL, medL, medL);
478 new G4Box(
"SBox", smalL, smalL, smalL);
486 "AlPhysBig", OuterBoxLV,
false, 0);
504 "AlPhysBigTube", SmallBoxLV,
false, 0);
541 assembly->
MakeImprint(OuterBoxLV, transform1, 0, 0);
553 const G4double chamber_y = chamber_x;
554 const G4double chamber_z = chamber_x;
558 G4Box * paramChamberBox =
559 new G4Box(
"ChamberBox", chamber_x, chamber_y, chamber_z);
565 G4int NbOfChambers = 5;
568 G4double fTrackerLength = (NbOfChambers+1)*ChamberSpacing;
569 G4double trackerSize = 0.5*fTrackerLength;
574 G4Box *solidChamber =
579 G4double firstPosition = -trackerSize + 0.5*ChamberWidth;
580 G4double firstLength = fTrackerLength/10;
581 G4double lastLength = fTrackerLength;
597 return paramChamberLV;
static constexpr double kelvin
Definition of the G02ChamberParameterisation class.
G4VPhysicalVolume * GetWorldVolume(const G4String &setupName="Default") const
G02DetectorConstruction()
static constexpr double atmosphere
void AddPlacedVolume(G4LogicalVolume *pPlacedVolume, G4ThreeVector &translation, G4RotationMatrix *rotation)
CLHEP::Hep3Vector G4ThreeVector
std::vector< ExP01TrackerHit * > a
G4LogicalVolume * GetLogicalVolume() const
G4LogicalVolume * ConstructAssembly()
static G4MaterialTable * GetMaterialTable()
~G02DetectorConstruction()
G4LogicalVolume * ConstructSubDetector2()
G02DetectorMessenger * fDetectorMessenger
Definition of the G02DetectorMessenger class.
CLHEP::HepRotation G4RotationMatrix
G4LogicalVolume * ConstructParametrisationChamber()
Detector messenger class used in GDML read/write example.
void Read(const G4String &filename, G4bool Validate=true)
static constexpr double g
static constexpr double m
void SetReadFile(const G4String &File)
void MakeImprint(G4LogicalVolume *pMotherLV, G4ThreeVector &translationInMother, G4RotationMatrix *pRotationInMother, G4int copyNumBase=0, G4bool surfCheck=false)
static constexpr double deg
static constexpr double mg
void SetVisAttributes(const G4VisAttributes *pVA)
void SetWriteFile(const G4String &File)
Chamber parametrisation used in the GDML read/write example.
Definition of the G02DetectorConstruction class.
G4LogicalVolume * ConstructSubDetector1()
void AddElement(G4Element *element, G4int nAtoms)
void SetStepFile(const G4String &File)
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
void Write(const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
static constexpr double pi
G4VPhysicalVolume * ConstructDetector()
static constexpr double mole
G4LogicalVolume * ParseST(const G4String &name, G4Material *medium, G4Material *solid)
static constexpr double cm3
G4PhysicalVolumesPair Place(const G4Transform3D &transform3D, const G4String &name, G4LogicalVolume *LV, G4LogicalVolume *motherLV, G4bool isMany, G4int copyNo, G4bool surfCheck=false)
virtual G4VPhysicalVolume * Construct()
static G4ElementTable * GetElementTable()
static G4ReflectionFactory * Instance()