I am using the following DIRC initialization:
PndDrc *Drc = new PndDrc("DIRC", kTRUE);
Drc->SetGeometryFileName("dirc_l0_p0.root");
Drc->SetRunCherenkov(kFALSE); // for fast sim Cherenkov -> kFALSE
fRun->AddModule(Drc);
It seems to work with Geant3, but with geant4 I have the following crash:
Info in <TG4RootNavMgr::Initialize>: Creating G4 hierarchy ...
Info in <TGeoManager::ConvertReflections>: Converting reflections in: FAIRGeom - FAIR geometry ...
Info in <TGeoManager::ConvertReflections>: Done
===> GEANT4 materials created and mapped to TGeo ones...
Cannot make material for volume: BarrelDIRC
Aborting in CreateLogicalVolume()
*** G4Exception: Aborting execution ***
A fix is required, I suppose.