File indexing completed on 2024-04-06 12:28:12
0001
0002 rm dbfile.db
0003 cmscond_bootstrap_detector.pl --offline_connect sqlite_file:dbfile.db --auth=/afs/cern.ch/cms/DB/conddb/authentication.xml STRIP
0004 cat > BadAPVs.cff <<_EOF_
0005 replace prod.BadComponentList = {
0006 { uint32 BadModule = 470178036 vuint32 BadApvList = {0,1} }
0007 }
0008 _EOF_
0009 cat > BadModules.cff <<_EOF_
0010 replace prod.BadModuleList = {
0011 470178036
0012 }
0013 _EOF_
0014 cat > BadStrips.cff <<_EOF_
0015 replace prod.BadComponentList = {
0016 { uint32 BadModule = 470178036 vuint32 BadChannelList = { 0 } }
0017 }
0018 _EOF_
0019
0020 rm dbfile-badapv.db;
0021 mv dbfile.db dbfile-badapv.db;
0022 cmsRun SiStripBadAPVBuilder.cfg 2>&1 | tee SiStripBadAPVBuilder.log
0023 mv dbfile-badapv.db dbfile.db;
0024
0025 rm dbfile-badstrip.db;
0026 mv dbfile.db dbfile-badstrip.db;
0027 cmsRun SiStripBadStripBuilder.cfg 2>&1 | tee SiStripBadStripBuilder.log
0028 mv dbfile-badstrip.db dbfile.db;
0029
0030 rm dbfile-badmodule.db;
0031 mv dbfile.db dbfile-badmodule.db;
0032 cmsRun SiStripBadModuleBuilder.cfg 2>&1 | tee SiStripBadModuleBuilder.log
0033 mv dbfile-badmodule.db dbfile.db;
0034
0035 echo "Created an 'almost ideal' DB with all ok except module 470178036"