6 #include "FairMCApplication.h" 8 #include "FairVolume.h" 9 #include "FairVolumeList.h" 10 #include "TGeoMCGeometry.h" 11 #include "TGeoManager.h" 12 #include "TGeoVolume.h" 13 #include "TGeoMedium.h" 15 #include "FairGeoLoader.h" 16 #include "FairGeoInterface.h" 17 #include "FairGeoRootBuilder.h" 18 #include "FairRuntimeDb.h" 19 #include "TObjArray.h" 20 #include "FairGeoVolume.h" 21 #include "FairGeoNode.h" 24 #include "ERGeoCave.h" 25 #include "ERGeoPassivePar.h" 29 void
ERCave::ConstructGeometry()
31 FairGeoLoader *loader=FairGeoLoader::Instance();
32 FairGeoInterface *GeoInterface =loader->getGeoInterface();
34 MGeo->setGeomFile(GetGeometryFileName());
35 GeoInterface->addGeoModule(MGeo);
36 Bool_t rc = GeoInterface->readSet(MGeo);
37 if ( rc ) MGeo->create(loader->getGeoBuilder());
39 TList* volList = MGeo->getListOfVolumes();
51 ERCave::ERCave(
const char * name,
const char *Title)
52 : FairModule(name ,Title)