6 Util to retrieve the appropriate set of reco top-level patches
7 from the Configuration/GlobalRuns package based on the release name
17 release=os.environ[
'CMSSW_VERSION']
19 msg=
'No CMSSW_VERSION envvar defined'
20 raise RuntimeError,msg
24 raise RuntimeError,
'Unexpected release name'+release
26 return ''.
join(sp[1:3])+
'X'
35 _temp=__import__(
'Configuration.GlobalRuns.reco_TLR_'+rel,globals(),locals(),[myname])
36 except ImportError,ex:
37 msg=
'Unable to import reco TLR configuration ' + str(ex)
38 raise RuntimeError,msg
40 return getattr(_temp,myname)(process)
46 myname=sys._getframe().f_code.co_name
50 myname=sys._getframe().f_code.co_name
55 myname=sys._getframe().f_code.co_name
60 myname=sys._getframe().f_code.co_name
65 myname=sys._getframe().f_code.co_name
70 myname=sys._getframe().f_code.co_name
75 myname=sys._getframe().f_code.co_name
80 myname=sys._getframe().f_code.co_name
85 myname=sys._getframe().f_code.co_name
static std::string join(char **cmd)