93 std::map<ALIstring, ALIdouble, std::less<ALIstring> >::const_iterator msdcite =
GlobalOptions().find(sstr);
97 std::cout <<
"Global Option " << (*msdcite).first <<
" = " << (*msdcite).second << std::endl;
102 std::cerr <<
" !!! FATAL ERROR: trying to get the value of an unknown Global Option : " << sstr << std::endl;
108 val = (*msdcite).second;
117 std::map<ALIstring, ALIdouble, std::less<ALIstring> >::const_iterator msdcite =
GlobalOptions().find(sstr);
121 std::cout <<
"Global Option " << (*msdcite).first <<
" = " << (*msdcite).second << std::endl;
131 val = (*msdcite).second;
140 std::cerr <<
"!!! global option not found: " << gopt << std::endl;
142 std::cout <<
"ALLOWED GLOBAL OPTIONS:" << std::endl;
143 std::map<ALIstring, ALIdouble, std::less<ALIstring> >::iterator msdite;
145 std::cout << (*msdite).first.c_str() << std::endl;
158 if (gopt ==
"report_verbose") {
161 if (gopt ==
"debug_verbose") {
169 std::cerr <<
"!!! global option not found: " << gopt << std::endl;
static GlobalOptionMgr * theInstance
static GlobalOptionMgr * getInstance()
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
std::map< ALIstring, ALIdouble, std::less< ALIstring > > theGlobalOptions
global options
void setGlobalOption(const ALIstring go, const ALIdouble val, ALIFileIn &filein)
void setDefaultGlobalOptions()
Set the list of default global options.
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
static void setDebugVerbosity(ALIint val)
ALIdouble getGlobalOption(const ALIstring &sstr)
static void setReportVerbosity(ALIint val)