00001 // 00002 //File: ExtBesDetectorConstruction.h 00003 //Author: L.L.Wang 00004 //Description: Constuction of BESIII detector using package GdmlToG4. 00005 //History: 2005.8.5 created by L.L.Wang 00006 // 00007 00008 00009 #ifndef ExtBesDetectorConstruction_H 00010 #define ExtBesDetectorConstruction_H 00011 00012 #include "G4String.hh" 00013 #include "G4VUserDetectorConstruction.hh" 00014 #include "G4VPhysicalVolume.hh" 00015 00016 #include "TrkExtAlg/ExtBesMdcConstruction.h" 00017 #include "TrkExtAlg/ExtBesTofConstruction.h" 00018 #include "TrkExtAlg/ExtBesEmcConstruction.h" 00019 #include "TrkExtAlg/ExtBesMucConstruction.h" 00020 00021 #include "TrkExtAlg/ExtBesMagneticField.h" 00022 //#include "ReadBoostRoot.hh" 00023 00024 class ExtBesDetectorConstruction : public G4VUserDetectorConstruction 00025 { 00026 public: 00027 ExtBesDetectorConstruction(const bool bFieldOn,int tofversion); 00028 ~ExtBesDetectorConstruction(); 00029 G4VPhysicalVolume* Construct(); 00030 00031 00032 private: 00033 G4VPhysicalVolume* fWorld; 00034 ExtBesMagneticField* besField; 00035 ExtBesMdcConstruction Mdc; 00036 ExtBesTofConstruction Tof; 00037 00038 00039 ExtBesEmcConstruction Emc; 00040 ExtBesMucConstruction Muc; 00041 int m_detVer; 00042 }; 00043 00044 #endif