12 #include <Geant4/G4Box.hh>
13 #include <Geant4/G4Color.hh>
14 #include <Geant4/G4LogicalVolume.hh>
15 #include <Geant4/G4NistManager.hh>
16 #include <Geant4/G4Material.hh>
17 #include <Geant4/G4PVPlacement.hh>
18 #include <Geant4/G4SubtractionSolid.hh>
19 #include <Geant4/G4SystemOfUnits.hh>
20 #include <Geant4/G4Tubs.hh>
21 #include <Geant4/G4UnionSolid.hh>
22 #include <Geant4/G4VisAttributes.hh>
52 G4Material* top_m = G4NistManager::Instance()->FindOrBuildMaterial(
"G4_Galactic");
53 G4VSolid *top_s =
new G4Box(
"top_s", 2*meter, 2*meter, 3500*
cm);
54 G4LogicalVolume *top_l =
new G4LogicalVolume(top_s, top_m,
"top_l");
55 new G4PVPlacement(
nullptr, G4ThreeVector(0,0,0), top_l,
"top_p", logicWorld,
false, 0);
60 new Magnet(-22.5*meter, top_l);
62 G4double dpos = -3135*
cm;
81 bret |= (*iter)->ProcessHits(aStep,
nullptr);
85 bret |= (*iter)->ProcessHits(aStep,
nullptr);
89 bret |= (*iter)->ProcessHits(aStep,
nullptr);
98 (*iter)->ClearEvent();
102 (*iter)->ClearEvent();
106 (*iter)->ClearEvent();
115 (*iter)->FinishEvent();
119 (*iter)->FinishEvent();
123 (*iter)->FinishEvent();
130 cout <<
"Luminosity Monitor Detector:" << endl;
131 if (what ==
"ALL" || what ==
"VOLUME")
133 cout <<
"Version 0.1" << endl;