41{
43
44 fWorld=(G4VPhysicalVolume *)GDMLProcessor::GetInstance()->GetWorldVolume();
45 if( fWorld == 0 ) {
46 G4Exception("World volume not set properly check your setup selection criteria or GDML input!");
47 }
48
49 delete aBesG4Geo;
50
51 G4LogicalVolume* logicalBes = const_cast<G4LogicalVolume*>( GDMLProcessor::GetInstance()->GetLogicalVolume("logicalWorld" ) );
53
54
55 if( m_detVer==1 || m_detVer==2 ) {
56 std::cout << "ExBesDetectorConstruction: You are using the Sintillator Tof Detector!" << std::endl;
58 }
59 else if( m_detVer==3 ) {
60 std::cout << "ExBesDetectorConstruction: You are using the upgraded (MRPC) Tof Detector!" << std::endl;
62 }
63 else {
64 std::cout << "ExBesDetectorConstruction: Detector Version is not well defined! " << m_detVer << " \n " << std::endl;
65 std::cout << " Use in your jobOption script " << std::endl;
66 std::cout << " TrkExtAlg.Tof = 1; for the upgraded Tof (MRPC Endcaps, double sided readout) " << std::endl;
67 std::cout << " TrkExtAlg.Tof = 0; for the Sintillator Tof. " << std::endl;
68 }
69
70
73
74 return fWorld;
75}
void Construct(G4LogicalVolume *)
void Construct(G4LogicalVolume *)
void Construct(G4LogicalVolume *logicBes)
void ConstructETF(G4LogicalVolume *logicBes)
void Construct(G4LogicalVolume *logicBes)