Geant4 Cross Reference |
1 // Copyright (C) 2010, Guy Barrand. All rights 2 // See the file tools.license for terms. 3 4 #ifndef tools_rroot_clss 5 #define tools_rroot_clss 6 7 #include <string> 8 9 namespace tools { 10 namespace rroot { 11 12 inline const std::string& TH1F_cls(){ 13 static const std::string s_v("TH1F"); 14 return s_v; 15 } 16 17 inline const std::string& TH1D_cls(){ 18 static const std::string s_v("TH1D"); 19 return s_v; 20 } 21 22 inline const std::string& TH2F_cls(){ 23 static const std::string s_v("TH2F"); 24 return s_v; 25 } 26 27 inline const std::string& TH2D_cls(){ 28 static const std::string s_v("TH2D"); 29 return s_v; 30 } 31 32 inline const std::string& TH3D_cls(){ 33 static const std::string s_v("TH3D"); 34 return s_v; 35 } 36 37 inline const std::string& TProfile_cls(){ 38 static const std::string s_v("TProfile"); 39 return s_v; 40 } 41 42 inline const std::string& TProfile2D_cls(){ 43 static const std::string s_v("TProfile2D"); 44 return s_v; 45 } 46 47 inline const std::string& TDirectory_cls(){ 48 static const std::string s_v("TDirectory"); 49 return s_v; 50 } 51 52 inline const std::string& TGeoManager_cls(){ 53 static const std::string s_v("TGeoManager"); 54 return s_v; 55 } 56 57 inline const std::string& TList_cls(){ 58 static const std::string s_v("TList"); 59 return s_v; 60 } 61 62 inline const std::string& TNamed_cls(){ 63 static const std::string s_v("TNamed"); 64 return s_v; 65 } 66 67 }} 68 69 #endif