Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:26

0001 #!/bin/sh
0002 
0003 USAGE="`basename $0` -write / -read"
0004 case $# in
0005 1)
0006   case "$1" in
0007         -write)  MODE="write"; ;;
0008         -read)   MODE="read";  ;;
0009         *)       echo $USAGE; exit 1; ;;
0010   esac
0011   shift
0012         ;;
0013 *)
0014         echo $USAGE; exit 1;
0015         ;;
0016 esac
0017 
0018 eval `scramv1 runtime -sh`
0019 SealPluginRefresh
0020 export CORAL_AUTH_USER=""
0021 export CORAL_AUTH_PASSWORD=""
0022 
0023 if [ "$MODE" == "write" ] 
0024 then
0025   rm sipixelperformancesummary.db
0026   rm sipixelperformancesummary.xml
0027   cmsRun performanceSummary_write.cfg
0028 
0029 elif [ "$MODE" == "read" ]
0030 then
0031   cmsRun performanceSummary_read.cfg
0032 
0033 fi