XSVarious.h

Go to the documentation of this file.
00001 /*
00002  * $Header$
00003  * $Log$
00004  *
00005  * Various routines, and global variables
00006  */
00007 
00008 #ifndef __XSVARIOUS_H
00009 #define __XSVARIOUS_H
00010 
00011 #include <TROOT.h>
00012 #include <TList.h>
00013 #include <TCanvas.h>
00014 #include <TRootEmbeddedCanvas.h>
00015 
00016 #include "NdbMTReacDesc.h"
00017 #include "NdbMTReactionXS.h"
00018 
00019 #include "XSGraph.h"
00020 #include "XSElements.h"
00021 
00022 #ifdef __XSVARIOUS_CXX
00023 #       define  EXT
00024 #else
00025 #       define  EXT     extern
00026 #endif
00027 
00028 /* ---------------- Global DEFINES ---------------------- */
00029 #define PATHSEP                 "/"
00030 #define ICONDIR                 "icons" PATHSEP
00031 #define DBDIR                   "db" PATHSEP
00032 #define PTBL_ICON               ICONDIR "ptable_s.xpm"
00033 #define ISOTOPES_DESC_FILE      DBDIR "isotopes.dat"
00034 #define MT_DESC_FILE            DBDIR "mt.dat"
00035 
00036 /* ---------------- Global Variables -------------------- */
00037 EXT     XSElements      *XSelements;
00038 EXT     NdbMTReacDesc   *XSReactionDesc;
00039 EXT     TList           *graphList;
00040 
00041 // --- GUI vars ---
00042 EXT     GCValues_t       gval;
00043 EXT     FontStruct_t     fixedFontStruct;
00044 EXT     FontStruct_t     blueFontStruct;
00045 EXT     GContext_t       fixedGC;
00046 EXT     GContext_t       blueBoldGC;
00047 
00048 EXT     TCanvas                 *canvas;
00049 EXT     TRootEmbeddedCanvas     *canvasWindow;
00050 
00051 /* ----------------- function prototypes ---------------- */
00052 void    XSinitialise();
00053 void    XSfinalise();
00054 
00055 void    Add2GraphList( XSGraph *gr);
00056 
00057 #undef EXT
00058 #endif

Generated on Tue Jul 5 15:15:06 2011 for ROOT_528-00b_version by  doxygen 1.5.1