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