17#include "GDMLProcessor.hh"
18#include "GDMLExpressionEvaluator.hh"
21#include "G4BooleanSolid.hh"
44 fWorld=(G4VPhysicalVolume *)GDMLProcessor::GetInstance()->GetWorldVolume();
46 G4cout<<
"World volume not set properly check your setup selection criteria or GDML input!"<<G4endl;
52 G4LogicalVolume* logicalBes =
const_cast<G4LogicalVolume*
>( GDMLProcessor::GetInstance()->GetLogicalVolume(
"logicalWorld" ) );
56 if( m_detVer==1 || m_detVer==2 ) {
57 std::cout <<
"ExBesDetectorConstruction: You are using the Sintillator Tof Detector!" << std::endl;
60 else if( m_detVer==3 ) {
61 std::cout <<
"ExBesDetectorConstruction: You are using the upgraded (MRPC) Tof Detector!" << std::endl;
65 std::cout <<
"ExBesDetectorConstruction: Detector Version is not well defined! " << m_detVer <<
" \n " << std::endl;
66 std::cout <<
" Use in your jobOption script " << std::endl;
67 std::cout <<
" TrkExtAlg.Tof = 1; for the upgraded Tof (MRPC Endcaps, double sided readout) " << std::endl;
68 std::cout <<
" TrkExtAlg.Tof = 0; for the Sintillator Tof. " << std::endl;
G4VPhysicalVolume * Construct()
~ExtBesDetectorConstruction()
ExtBesDetectorConstruction(const bool bFieldOn, int tofversion)
void Construct(G4LogicalVolume *)
void Construct(G4LogicalVolume *)
void Construct(G4LogicalVolume *logicBes)
void ConstructETF(G4LogicalVolume *logicBes)
void Construct(G4LogicalVolume *logicBes)