23 FairGeoLoader* loader = FairGeoLoader::Instance();
24 FairGeoInterface* GeoInterface = loader->getGeoInterface();
26 MGeo->setGeomFile(GetGeometryFileName());
27 GeoInterface->addGeoModule(MGeo);
28 Bool_t rc = GeoInterface->readSet(MGeo);
29 if (rc) MGeo->create(loader->getGeoBuilder());
31 TList* volList = MGeo->getListOfVolumes();
33 FairRun* fRun = FairRun::Instance();
34 FairRuntimeDb* rtdb = FairRun::Instance()->GetRuntimeDb();
39 TListIter iter(volList);
40 FairGeoNode* node = NULL;
41 FairGeoVolume* aVol = NULL;
43 while ((node = (FairGeoNode*) iter.Next())) {
44 aVol =
dynamic_cast<FairGeoVolume*
>(node);
45 if (node->isSensitive()) { fSensNodes->AddLast(aVol); }
47 fPassNodes->AddLast(aVol);
51 par->setInputVersion(fRun->GetRunId(), 1);