Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

evdb.h File Reference

#include "EventDisplayBase/Canvas.h"
#include "EventDisplayBase/CfgEdit.h"
#include "EventDisplayBase/DisplayWindow.h"
#include "EventDisplayBase/IoModule.h"
#include "EventDisplayBase/RootEnv.h"
#include "EventDisplayBase/ScanCat.h"
#include "EventDisplayBase/View2D.h"
#include "EventDisplayBase/View3D.h"

Go to the source code of this file.

Namespaces

namespace  evdb

Functions

const TGWindow * TopWindow ()
TGPicturePool * PicturePool ()


Function Documentation

TGPicturePool * evdb::PicturePool  ) 
 

Definition at line 16 of file evdb.cxx.

00017 {
00018   static TGPicturePool* pp = 0;
00019   if (pp==0) {
00020     std::string path;
00021     
00022     const char* private_ctx = getenv("SRT_PRIVATE_CONTEXT");
00023     const char* public_ctx  = getenv("SRT_PUBLIC_CONTEXT");
00024     const char* root_ctx    = getenv("ROOTSYS");
00025     
00026     path += private_ctx; path += "/EventDisplay/icons:";
00027     path += public_ctx;  path += "/EventDisplay/icons:";
00028     path += root_ctx;    path += "/icons";
00029     
00030     pp = new TGPicturePool(gClient, path.c_str());
00031   }
00032   return pp;
00033 }

const TGWindow * evdb::TopWindow  ) 
 

Definition at line 12 of file evdb.cxx.

Referenced by evdb::GoToDialog::GoToDialog(), and evdb::ScanCat::ScanCat().

00012 { return gClient->GetRoot(); }


Generated on Mon Nov 23 04:45:28 2009 for NOvA Offline by  doxygen 1.3.9.1