36 fWorld = (G4VPhysicalVolume*)GDMLProcessor::GetInstance()->GetWorldVolume();
40 <<
"World volume not set properly check your setup selection criteria or GDML input!"
47 G4LogicalVolume* logicalBes =
const_cast<G4LogicalVolume*
>(
48 GDMLProcessor::GetInstance()->GetLogicalVolume(
"logicalWorld" ) );
49 Mdc.Construct( logicalBes );
51 if ( m_detVer == 1 || m_detVer == 2 )
53 std::cout <<
"ExBesDetectorConstruction: You are using the Sintillator Tof Detector!"
55 Tof.Construct( logicalBes );
57 else if ( m_detVer == 3 )
60 <<
"ExBesDetectorConstruction: You are using the upgraded (MRPC) Tof Detector!"
62 Tof.ConstructETF( logicalBes );
66 std::cout <<
"ExBesDetectorConstruction: Detector Version is not well defined! "
67 << m_detVer <<
" \n " << std::endl;
68 std::cout <<
" Use in your jobOption script " << std::endl;
69 std::cout <<
" TrkExtAlg.Tof = 1; for the upgraded Tof "
70 "(MRPC Endcaps, double sided readout) "
72 std::cout <<
" TrkExtAlg.Tof = 0; for the Sintillator Tof. "
76 Emc.Construct( logicalBes );
77 Muc.Construct( logicalBes );