7 cmssw_src =
'/'.
join( [ os.environ[
'CMSSW_BASE'],
'src' ] )
8 pkg_pat =
'/'.
join([cmssw_src,
'*',
'*'])
9 pkg_dirs = glob.glob( pkg_pat )
10 packages = [dir
for dir
in pkg_dirs \
11 if os.path.isdir(dir)
and \
12 not dir.endswith(
'CVS') ]
14 ana_dir =
'/'.
join( [pkg,
'python/analyzers'] )
17 if os.path.isdir(ana_dir):
18 analyzer_path.append( ana_dir )
23 if __name__ ==
'__main__':
static std::string join(char **cmd)