26         gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
 
   27         gSystem->Load(
"libEve");
 
   28         gROOT->LoadMacro(
"DrawEveHisto.C");
 
   30         TFile* 
f = 
new TFile(fileName);
 
   31         TGeoManager* fGeoMan = 
new TGeoManager(
"geoMan",
"geoMan");
 
   32         fGeoMan->Import(
"Mvd_GridUrqmdSim.root");
 
   35         TEveManager::Create();
 
   39         TEveCompound* comp = 
new TEveCompound(
"RadDamHistos");
 
   40         TEveCompound* pixelBL1 = 
new TEveCompound(
"PixelBL1");
 
   41         TEveCompound* pixelBL2 = 
new TEveCompound(
"PixelBL2");
 
   42         TEveCompound* pixelSDK = 
new TEveCompound(
"PixelSDK");
 
   43         TEveCompound* pixelMDK = 
new TEveCompound(
"PixelMDK");
 
   44         TEveCompound* strip             = 
new TEveCompound(
"Strip");
 
   45         TEveCompound* stripBL3  = 
new TEveCompound(
"StripBL3");
 
   46         TEveCompound* stripBL4  = 
new TEveCompound(
"StripBL4");
 
   47         TEveCompound* stripLDK  = 
new TEveCompound(
"StripLDK");
 
   48         comp->AddElement(pixelBL1);
 
   49         comp->AddElement(pixelBL2);
 
   50         comp->AddElement(pixelSDK);
 
   51         comp->AddElement(pixelMDK);
 
   52         comp->AddElement(strip);
 
   53         strip->AddElement(stripBL3);
 
   54         strip->AddElement(stripBL4);
 
   55         strip->AddElement(stripLDK);
 
   57         double pixMax = 
FindMax(f, 
"1_1");
 
   58         double stripMax = 
FindMax(f, gH->GetVolumeID(
"StripActiveoRectL"));
 
   65         TList* l = f->GetListOfKeys();
 
   70                 if (
TString(ob->GetName()).Contains(
"1_1")){
 
   71                         TEveCompound* tempComp;
 
   73                         if (
TString(ob->GetName()).Contains(gH->GetVolumeID(
"PixeloBl1ov2-NEW"))){
 
   77                         else if (
TString(ob->GetName()).Contains(gH->GetVolumeID(
"PixeloBl2ov3-NEW"))){
 
   81                         else if (
TString(ob->GetName()).Contains(gH->GetVolumeID(
"PixeloSdk-v2-NEW"))){
 
   85                         else if (
TString(ob->GetName()).Contains(gH->GetVolumeID(
"PixeloMdkov1-NEW"))){
 
   89                         else if (
TString(ob->GetName()).Contains(gH->GetVolumeID(
"StripoBl3"))){
 
   93                         else if (
TString(ob->GetName()).Contains(gH->GetVolumeID(
"StripoBL4")) &&
 
   94                                          !
TString(ob->GetName()).Contains(gH->GetVolumeID(
"StripActiveoTrapL"))){
 
  102                         TH2D* histo = (TH2D*)(f->Get(ob->GetName()));
 
  104                         TGeoHMatrix* matrix = gH.GetMatrixId(sVec.Replace(
"o",
"/"));
 
  111         TEveGeoTopNode *TNod=
new  TEveGeoTopNode(
gGeoManager, N);
 
  112         gEve->AddGlobalElement(TNod);
 
  113         gEve->AddGlobalElement(comp);
 
  114         gEve->Redraw3D(kTRUE);
 
double FindMax(TFile *f, TString select)
 
TGeoManager * gGeoManager
 
int DrawEveHisto(TH2 *histo, TGeoHMatrix *matrix, double max=-1., TEveCompound *comp=0)
 
Class to access the naming information of the MVD.