Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:34

0001 #! /bin/csh -f
0002 eval `scramv1 runtime -csh`
0003 echo '<?xml version="1.0"?>' > $CMSSW_BASE/src/dddreportconfig.xml
0004 echo '<Configuration xmlns="http://www.cern.ch/cms/CDL"' >> $CMSSW_BASE/src/dddreportconfig.xml
0005 echo ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' >> $CMSSW_BASE/src/dddreportconfig.xml
0006 echo ' xsi:schemaLocation= "http://www.cern.ch/cms/CDL ../../../Schema/CDLSchema.xsd"' >> $CMSSW_BASE/src/dddreportconfig.xml
0007 echo ' name="CMSConfiguration" version="0">' >> $CMSSW_BASE/src/dddreportconfig.xml
0008 grep ".xml" $CMSSW_RELEASE_BASE/src/Geometry/CMSCommonData/python/cmsIdealGeometryXML_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 "#" | awk '{print "   <File name=\"" $1 "\" url=\".\"/>"}' >> $CMSSW_BASE/src/dddreportconfig.xml
0009 echo '<Root fileName="cms.xml" logicalPartName="OCMS"/>'  >> $CMSSW_BASE/src/dddreportconfig.xml
0010 echo '<Schema schemaLocation="http://www.cern.ch/cms/DDL  ../../Schema/DDLSchema.xsd" validation="false"/>'  >> $CMSSW_BASE/src/dddreportconfig.xml
0011 echo '</Configuration>'  >> $CMSSW_BASE/src/dddreportconfig.xml
0012 cd $CMSSW_RELEASE_BASE/src
0013 
0014 set script=$CMSSW_BASE/test/$SCRAM_ARCH/DDErrorReport 
0015 if ( ! -f $script ) then
0016  set script=$CMSSW_RELEASE_BASE/test/$SCRAM_ARCH/DDErrorReport
0017 endif
0018 
0019 echo $script;
0020 
0021 $script dddreportconfig.xml
0022 
0023