QIGUIGlobals.hh

00001 #ifndef _QIGUI_GLOBALS__H_
00002 #define _QIGUI_GLOBALS__H_
00003 #include <string>
00004 #include <map>
00005 // 
00006 // Some Globals
00007 // 
00008 //
00009 
00010 class QIGUIGlobals 
00011 {
00012   public:
00013   static void Init();
00014   static void DefaultLimits();
00015   static std::string gChannelWord;
00016   static std::string gEnergyWord;
00017   static std::string gEventNumberWord;
00018 
00019   static std::string gTimeWord;
00020   static double gTimeToSeconds;
00021 
00022   static std::string gStartTimeWord;
00023   static double gStartTimeToSeconds;
00024 
00025   static std::string gRealTimeWord;
00026   static double gRealTimeToSeconds;
00027 
00028   static bool GetDefaultMin(std::string var, double &lim);
00029   static bool GetDefaultMax(std::string var, double &lim);
00030   static bool GetDefaultNBins(std::string var, int &nbins);
00031 
00032   // Auxiliar
00033   static std::map<std::string, std::pair<double,double> > gDefaultLimits;
00034   static std::map<std::string, int> gDefaultNBins;
00035 };
00036 
00037 
00038 #endif

Generated on Tue Nov 16 10:49:59 2010 for CUORE Software by  doxygen 1.5.6