Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #!/bin/bash
0002 
0003 # set env
0004 eval `scramv1 runtime -sh`
0005 kinit
0006 
0007 # initial checkout
0008 cd $CMSSW_BASE/src/
0009 addpkg CalibFormats/SiStripObjects
0010 addpkg CalibTracker/SiStripESProducers
0011 addpkg CondFormats/SiStripObjects
0012 addpkg CondTools/SiStrip
0013 
0014 # temp patches
0015 cvs update -A CalibFormats/SiStripObjects/interface/SiStripFecCabling.h
0016 cvs update -A CalibFormats/SiStripObjects/interface/SiStripDetCabling.h
0017 cvs update -A CalibFormats/SiStripObjects/interface/SiStripRegionCabling.h
0018 cvs update -A CalibFormats/SiStripObjects/src/SiStripFecCabling.cc
0019 cvs update -A CalibFormats/SiStripObjects/src/SiStripDetCabling.cc
0020 cvs update -A CalibFormats/SiStripObjects/src/SiStripRegionCabling.cc
0021 cvs update -A CondTools/SiStrip/plugins/SiStripFedCablingBuilder.h
0022 cvs update -A CondTools/SiStrip/plugins/SiStripFedCablingReader.h
0023 cvs update -A CondTools/SiStrip/plugins/SiStripFedCablingBuilder.cc
0024 cvs update -A CondTools/SiStrip/plugins/SiStripFedCablingReader.cc
0025 cvs update -A CondTools/SiStrip/test/SiStripFedCablingBuilder_cfg.py
0026 cvs update -A CondTools/SiStrip/test/SiStripFedCablingReader_cfg.py
0027 cvs update -A CondTools/SiStrip/test/test_Cabling.sh
0028 
0029 # old structure, old interface
0030 cd $CMSSW_BASE/src/
0031 NAME="SiStripFedCabling.h."`date +%s`
0032 mv CondFormats/SiStripObjects/interface/SiStripFedCabling.h CondFormats/SiStripObjects/interface/$NAME
0033 cvs co -r V13-04-06 CondFormats/SiStripObjects
0034 showtags
0035 
0036 # build
0037 scramv1 b distclean
0038 eval `scramv1 runtime -sh`
0039 scramv1 b 
0040 
0041 # run
0042 cd $CMSSW_BASE/src/CondTools/SiStrip/test/
0043 rm *.db
0044 cmsRun SiStripFedCablingBuilder_cfg.py 
0045 cmsRun SiStripFedCablingReader_cfg.py 
0046 mv cablingBuilder.log cablingBuilder1.log
0047 mv cablingReader.log cablingReader1.log
0048 
0049 diff cablingBuilder1.log cablingReader1.log >& diffBuilder1Reader1.log
0050 
0051 # new structure, old interface
0052 cd $CMSSW_BASE/src/
0053 cvs co -r V14-00-03 CondFormats/SiStripObjects
0054 showtags
0055 
0056 # build
0057 scramv1 b distclean
0058 eval `scramv1 runtime -sh`
0059 scramv1 b 
0060 
0061 # run
0062 cd $CMSSW_BASE/src/CondTools/SiStrip/test/
0063 rm *.db
0064 cmsRun SiStripFedCablingBuilder_cfg.py 
0065 cmsRun SiStripFedCablingReader_cfg.py 
0066 mv cablingBuilder.log cablingBuilder2.log
0067 mv cablingReader.log cablingReader2.log
0068 
0069 diff cablingBuilder2.log cablingReader2.log >& diffBuilder2Reader2.log
0070 diff cablingBuilder1.log cablingBuilder2.log >& diffBuilder1Builder2.log
0071 diff cablingReader1.log cablingReader2.log >& diffReader1Reader2.log
0072 
0073 # new structure, new interface
0074 cd $CMSSW_BASE/src/
0075 cvs co -r V14-01-00 CondFormats/SiStripObjects
0076 showtags
0077 
0078 # build
0079 scramv1 b distclean
0080 eval `scramv1 runtime -sh`
0081 scramv1 b 
0082 
0083 # run
0084 cd $CMSSW_BASE/src/CondTools/SiStrip/test/
0085 rm *.db
0086 cmsRun SiStripFedCablingBuilder_cfg.py 
0087 cmsRun SiStripFedCablingReader_cfg.py 
0088 mv cablingBuilder.log cablingBuilder3.log
0089 mv cablingReader.log cablingReader3.log
0090 
0091 diff cablingBuilder3.log cablingReader3.log >& diffBuilder3Reader3.log
0092 diff cablingBuilder2.log cablingBuilder3.log >& diffBuilder2Builder3.log
0093 diff cablingReader2.log cablingReader3.log >& diffReader2Reader3.log
0094 
0095 # end
0096 echo
0097 echo
0098 echo "==========>>>>> Done! <<<<<=========="
0099