File indexing completed on 2024-04-06 12:05:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 eval `scramv1 runtime -csh`
0014 grep ".xml" $CMSSW_RELEASE_BASE/src/Geometry/CMSCommonData/python/cmsExtendedGeometryXML_cfi.py | sed "{s/'//g}" | sed '{s/,//g}' | sed '{s/ //g}' | sed '{s/\t//g}' | sed '{s/geomXMLFiles=cms.vstring(//g}' | sed '{s/)//g}' | grep -v "#" >! /tmp/tmpcmsswdddxmlfileslist
0015 cd $CMSSW_RELEASE_BASE/src
0016
0017 set hms = `echo $CMSSW_SEARCH_PATH | awk 'BEGIN{FS=":"}{for (i=1; i<=NF; i++) print $i}'`
0018
0019 set tmpFile=/tmp/tmpcmsswdddxmlfileslistvalid
0020
0021 foreach line( "`cat /tmp/tmpcmsswdddxmlfileslist`" )
0022 set fileFound=0
0023 foreach spath( $hms )
0024 if( ! $fileFound ) then
0025 set file=$spath/$line
0026 if( -f $file ) then
0027 echo $file >> $tmpFile
0028 set fileFound=1
0029 endif
0030 endif
0031 end
0032 end
0033
0034 set script=$CMSSW_BASE/bin/$SCRAM_ARCH/DOMCount
0035 if ( ! -f $script ) then
0036 set script=$CMSSW_RELEASE_BASE/bin/$SCRAM_ARCH/DOMCount
0037 endif
0038
0039 $script -v=always -n -s -f -l $tmpFile
0040
0041 if( -f $tmpFile ) then
0042 rm -f $tmpFile
0043 endif
0044
0045 if( -f /tmp/tmpcmsswdddxmlfileslist ) then
0046 rm -f /tmp/tmpcmsswdddxmlfileslist
0047 endif