00001 #ifndef FUN_H 00002 #define FUN_H 00003 00004 #include <string> 00005 #include <cstring> 00006 #include <vector> 00007 #include "TROOT.h" 00008 #include "TObjArray.h" 00009 00010 /* using namespace std; */ 00011 const double CC = 2.99792458E10; // cm/sec, light velocity 00012 const double PI = 3.141592653; 00013 const double PI2 = 6.283185307; 00014 const double HFPI = 1.570796327; 00015 00016 const int WIRENMAX = 6796; 00017 const int LAYERNMAX = 43; 00018 const int CELLNMAX = 288; 00019 const int INNERNMAX = 8; 00020 const int NEP = 16; /* number of endplates */ 00021 const int NTRKPAR = 5; /* number of track parameters */ 00022 const int NTRKPARALL = 10; /* number of track parameters and errors */ 00023 00024 00025 std::vector<std::string> getHistList(); 00026 std::vector<std::string> getHistList(std::string path); 00027 00028 #endif