97 std::map< ALIstring, ALIdouble, std::less<ALIstring> >::const_iterator msdcite =
GlobalOptions().find( sstr );
101 std::cout <<
"Global Option " << (*msdcite).first <<
" = " << (*msdcite).second << std::endl;
106 std::cerr <<
" !!! FATAL ERROR: trying to get the value of an unknown Global Option : " << sstr << std::endl;
112 val = (*msdcite).second;
123 std::map< ALIstring, ALIdouble, std::less<ALIstring> >::const_iterator msdcite =
GlobalOptions().find( sstr );
127 std::cout <<
"Global Option " << (*msdcite).first <<
" = " << (*msdcite).second << std::endl;
137 val = (*msdcite).second;
150 std::cerr <<
"!!! global option not found: " << gopt << std::endl;
152 std::cout <<
"ALLOWED GLOBAL OPTIONS:" << std::endl;
153 std::map< ALIstring, ALIdouble, std::less<ALIstring> >::iterator msdite;
156 std::cout << (*msdite).first.c_str() << std::endl;
171 if( gopt ==
"report_verbose") {
174 if( gopt ==
"debug_verbose" ) {
182 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.
static void setDebugVerbosity(ALIint val)
ALIdouble getGlobalOption(const ALIstring &sstr)
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
static void setReportVerbosity(ALIint val)