19 if (gGeoManager ==
nullptr)
21 LOG(fatal) << __FUNCTION__ <<
": No gGeoManager";
24 auto volSomeAir = gGeoManager->MakeBox(
"SomeAir", FindMaterial(
"Air"), 125, 125, (fStop - fStart) / 2.);
25 gGeoManager->GetTopVolume()->AddNode(volSomeAir, 1,
new TGeoTranslation(0, 0, fStart + (fStop - fStart) / 2.));
26 auto volWindow = gGeoManager->MakeTube(
"NeutronWindow", FindMaterial(
"Steel"), 0, 70, 0.2);
27 gGeoManager->GetTopVolume()->AddNode(volWindow, 1,
new TGeoTranslation(0, 0, fStart - 0.2));