110 static G4bool fieldIsInitialized =
false;
111 if ( !fieldIsInitialized ) {
116 fieldMgr-> SetDetectorField(myField);
117 fieldMgr-> CreateChordFinder(myField);
118 fieldIsInitialized =
true;
126 G4Box* experimentalHall_box =
132 "expHall_P", 0,
false,0);
135 experimentalHallVisAtt-> SetForceWireframe(
true);
136 experimentalHall_log-> SetVisAttributes(experimentalHallVisAtt);
146 experimentalHall_log,
false, 0);
179 experimentalHall_log,
false,0);
213 phi = 360.*
deg/fnomucounter*i;
221 muoncounter_log,
"muoncounter_P",
222 experimentalHall_log,
false,i);
235 G4String trackerSDname =
"/mydet/tracker";
240 G4String calorimeterSDname =
"/mydet/calorimeter";
242 G4String ROgeometryName =
"CalorimeterROGeom";
249 G4String muonSDname =
"/mydet/muon";
258 return experimentalHall_phys;
CLHEP::Hep3Vector G4ThreeVector
static constexpr double cm
void SetROgeometry(G4VReadOutGeometry *value)
static G4TransportationManager * GetTransportationManager()
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
HepRotation & rotateZ(double delta)
static constexpr double deg
void SetForceWireframe(G4bool=true)
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)