Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:37

0001 #include <cstring>
0002 #include <sstream>
0003 
0004 #include "SGeo.hh"
0005 #include "SEventConfig.hh"
0006 #include "SLOG.hh"
0007 
0008 const plog::Severity SGeo::LEVEL = SLOG::EnvLevel("SGeo", "DEBUG"); 
0009 
0010 
0011 std::string SGeo::Desc() 
0012 {
0013     const char* outfold = SEventConfig::OutFold() ; 
0014 
0015     std::stringstream ss ; 
0016     ss << "SGeo::Desc" << std::endl 
0017        << " SEventConfig::OutFold() " << ( outfold ? outfold : "-" ) << std::endl 
0018        ;
0019 
0020     std::string s = ss.str(); 
0021     return s ; 
0022 }
0023 
0024 
0025 SGeo* SGeo::INSTANCE = nullptr ; 
0026 SGeo* SGeo::Get(){ return INSTANCE ; }
0027 SGeo::SGeo()
0028 {
0029     INSTANCE = this ; 
0030 } 
0031 
0032 
0033