diff --git a/Pinpoint/view_pinpoint.C b/Pinpoint/view_pinpoint.C new file mode 100644 index 0000000..123e04f --- /dev/null +++ b/Pinpoint/view_pinpoint.C @@ -0,0 +1,7 @@ +void view_pinpoint(const char* filename = "pinpoint.gdml") { + TGeoManager::Import(filename); + gGeoManager->Print(); + TGeoVolume* top = gGeoManager->GetTopVolume(); + top->Draw("ogl"); +} +