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 std::string gChannelWord;
00015   static std::string gEnergyWord;
00016 
00017   static std::string gTimeWord;
00018   static double gTimeToSeconds;
00019 
00020   static std::string gStartTimeWord;
00021   static double gStartTimeToSeconds;
00022 
00023   static std::string gDeltaTimeWord;
00024   static double gDeltaTimeToSeconds;
00025 
00026   static double gCoTimeToSeconds; // if the time variable to compute coincidences is different from gTimeWord
00027                                   // it will take into account this units
00028                                   //
00029 
00030   static bool GetDefaultMin(std::string var, double &lim);
00031   static bool GetDefaultMax(std::string var, double &lim);
00032   static bool GetDefaultNBins(std::string var, int &nbins);
00033 
00034   // Auxiliar
00035   static std::map<std::string, std::pair<double,double> > gDefaultLimits;
00036 };
00037 
00038 
00039 #endif

Generated on Fri Mar 6 13:40:40 2009 for CUORE Software by  doxygen 1.5.1