Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:51

0001 #! /bin/csh
0002  
0003 eval `scramv1 ru -csh`
0004 
0005 setenv GLBLREFDIR /afs/cern.ch/cms/data/CMSSW/Validation/GlobalHits/data
0006 setenv LOCLREFDIR ${CMSSW_RELEASE_BASE}/src/Validation/GlobalHits/data
0007 
0008 echo "============> Validating Global Sim Hits <============"
0009 echo "......producing output file with this release"
0010 if ( -e MessageLogger.log ) rm MessageLogger.log
0011 if ( -e output.log ) rm output.log
0012 if ( -e FrameworkJobReport.xml ) rm FrameworkJobReport.xml
0013 #comment out if RefPoolSource.cfi modified to use /afs location directly
0014 #cp ${GLBLREFDIR}/MC_010p2_minbias.root .
0015 cmsRun -p DetSim+Global.cfg >& output.log
0016 echo "......creating histogram file with this release"
0017 root -b -q MakeHistograms.C\(\"GlobalHits.root\",\"GlobalHitsHistograms\"\)
0018 echo "......comparing against reference file from previous release"
0019 cp ${LOCLREFDIR}/GlobalHitsHistograms-reference.root .
0020 root -b -q MakeValidation.C\(\"GlobalHitsHistograms.root\",\"GlobalHitsHistograms-reference.root\",\"GlobalHitsHistogramsCompare\"\)
0021 echo "......results of validation in GlobalHitsHistogramsCompare.ps"
0022 echo "============> Validating Global Sim Hits <============"