Problem with the 3D image resolution in ROOT

From: Stephen Liu <phoenix.liu_at_gmail.com>
Date: Sat, 6 Jan 2007 20:12:28 +0800


Dear all,

I'm trying to draw a 3D image of several detectors via the following codes, the geormetry of the detectors is stored in geom_mdc.root file. The program works correctly, but I find the resolution of the image rather unsatifactory. I'm wondering if there is any way I can set a higher resolution in the Draw() method, or something else. Thanks a lot for your help.

liuk

void readVol()
{
  gSystem->Load("libGeom");
  TGeoManager *geom = new TGeoManager("simple1", "Simple geometry");   geom->SetVisLevel(6);

  TFile *f=new TFile("geom_mdc.root");
  TGeoVolume *volBes = (TGeoVolume*)(f->Get("volBes"));   gGeoManager->SetTopVolume(volBes);

  gGeoManager->CloseGeometry();
  volBes->Draw();
} Received on Sat Jan 06 2007 - 13:12:35 CET

This archive was generated by hypermail 2.2.0 : Sat Jan 06 2007 - 17:50:00 CET