Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-24 01:11:21

0001 #!/bin/sh
0002 
0003 function die { echo $1: status $2 ; exit $2; }
0004 
0005 echo -e "TESTING Pixel CPE DB codes ..."
0006 
0007 echo -e "TESTING Pixel 1D Template DB code ..."
0008 cmsRun ${LOCAL_TEST_DIR}/SiPixelTemplateDBObjectUploader_cfg.py MagField=0.0 Fullname=SiPixelTemplateDBObject_phase1_0T_mc_BoR3_v1_bugfix Map=${LOCAL_TEST_DIR}/../data/phaseI_mapping.csv TemplateFilePath=CalibTracker/SiPixelESProducers/data/SiPixelTemplateDBObject_0T_phase1_BoR3_v1 || die "Failure running SiPixelTemplateDBObjectUploader_cfg.py" $? 
0009 
0010 echo -e "TESTING Pixel 1D GenErr DB code ..."
0011 cmsRun ${LOCAL_TEST_DIR}/SiPixelGenErrorDBObjectUploader_cfg.py MagField=0.0 Fullname=SiPixelGenErrorDBObject_phase1_0T_mc_BoR3_v1_bugfix Map=${LOCAL_TEST_DIR}/../data/phaseI_mapping.csv GenErrFilePath=CalibTracker/SiPixelESProducers/data/SiPixelTemplateDBObject_0T_phase1_BoR3_v1 || die "Failure running SiPixelGenErrorDBObjectUploader_cfg.py" $? 
0012 
0013 echo -e "TESTING Pixel 1D Template DB code for Phase-2 ..."
0014 cmsRun ${LOCAL_TEST_DIR}/SiPixelTemplateDBObjectUploader_Phase2_cfg.py MagField=3.8 Version=7 Append=mc_25x100 Map=${LOCAL_TEST_DIR}/../data/phase2_T15_mapping.csv geometry=T15 TemplateFilePath=CalibTracker/SiPixelESProducers/data/Phase2_25by100_templates_2020October || die "Failure running SiPixelTemplateDBObjectUploader_Phase2_cfg.py" $? 
0015 
0016 echo -e "TESTING Pixel 1D GenErr DB code for Phase-2 ..."
0017 cmsRun ${LOCAL_TEST_DIR}/SiPixelGenErrorDBObjectUploader_Phase2_cfg.py MagField=3.8 Version=7 Append=mc_25x100 Map=${LOCAL_TEST_DIR}/../data/phase2_T15_mapping.csv geometry=T15 GenErrFilePath=CalibTracker/SiPixelESProducers/data/Phase2_25by100_templates_2020October || die "Failure running SiPixelGenErrorDBObjectUploader_Phase2_cfg.py" $? 
0018 
0019 echo -e "TESTING Pixel 2D Template DB code for Phase-2 ..."
0020 cmsRun  ${LOCAL_TEST_DIR}/SiPixel2DTemplateDBObjectUploader_Phase2_cfg.py MagField=3.8 Version=7 Append=mc_25x100 Map=${LOCAL_TEST_DIR}/../data/phase2_T15_mapping.csv TemplateFilePath=CalibTracker/SiPixelESProducers/data/Phase2_25by100_templates_2020October denominator=True || die "Failure running SiPixel2DTemplateDBObjectUploader_Phase2_cfg.py" $? 
0021 
0022 echo -e "TESTING SiPixelVCal DB codes ... \n\n"
0023 
0024 echo -e "TESTING Writing SiPixelVCal DB object ...\n\n"
0025 cmsRun  ${LOCAL_TEST_DIR}/SiPixelVCalDB_cfg.py || die "Failure running SiPixelVCalDB_cfg.py" $?
0026 
0027 echo -e "TESTING Reading SiPixelVCal DB object ...\n\n"
0028 cmsRun  ${LOCAL_TEST_DIR}/SiPixelVCalReader_cfg.py || die "Failure running SiPixelVCalReader_cfg.py" $?
0029 
0030 echo -e "TESTING SiPixelLorentzAngle DB codes ... \n\n"
0031 
0032 echo -e "TESTING Writing SiPixelLorentzAngle DB object ...\n\n"
0033 cmsRun  ${LOCAL_TEST_DIR}/SiPixelLorentzAngleDB_cfg.py || die "Failure running SiPixelLorentzAngleDB_cfg.py" $?
0034 
0035 echo -e "TESTING Reading SiPixelLorentzAngle DB object ...\n\n"
0036 cmsRun  ${LOCAL_TEST_DIR}/SiPixelLorentzAngleReader_cfg.py || die "Failure running SiPixelLorentzAngleReader_cfg.py" $?
0037 
0038 echo -e "TESTING SiPixelDynamicInefficiency DB codes ... \n\n"
0039 
0040 echo -e "TESTING Writing SiPixelDynamicInefficiency DB object ...\n\n"
0041 cmsRun  ${LOCAL_TEST_DIR}/SiPixelDynamicInefficiencyDB_cfg.py || die "Failure running SiPixelDynamicInefficiencyDB_cfg.py" $?
0042 
0043 echo -e "TESTING Reading SiPixelDynamicInefficiency DB object ...\n\n"
0044 cmsRun  ${LOCAL_TEST_DIR}/SiPixelDynamicInefficiencyReader_cfg.py || die "Failure running SiPixelDynamicInefficiencyReader_cfg.py" $?
0045 
0046 echo -e "TESTING SiPixelGain Scaling DB codes ... \n\n"
0047 
0048 echo -e "TESTING Writing Scaled SiPixel Gain DB Object ...\n\n"
0049 cmsRun  ${LOCAL_TEST_DIR}/SiPixelGainCalibScaler_cfg.py firstRun=278869 maxEvents=12000 || die "Failure running SiPixelGainCalibScaler_cfg.py" $?
0050 
0051 echo -e "TESTING SiPixelQuality DB codes ... \n\n"
0052 
0053 echo -e "TESTING Writing SiPixelQuality DB object ...\n\n"
0054 cmsRun  ${LOCAL_TEST_DIR}/SiPixelBadModuleByHandBuilder_cfg.py || die "Failure running SiPixelBadModuleByHandBuilder_cfg.py" $?
0055 
0056 echo -e "TESTING Reading SiPixelQuality DB object ...\n\n"
0057 cmsRun  ${LOCAL_TEST_DIR}/SiPixelBadModuleReader_cfg.py || die "Failure running SiPixelBadModuleReader_cfg.py" $?
0058 
0059 echo -e "TESTING SiPixelQualityProbabilities codes ...\n\n"
0060 
0061 echo -e "TESTING Writing SiPixelQualityProbabilities DB object ...\n\n"
0062 cmsRun  ${LOCAL_TEST_DIR}/SiPixelQualityProbabilitiesTestWriter_cfg.py || die "Failure running SiPixelQualityProbabilitiesTestWriter_cfg.py" $?
0063 
0064 echo -e "TESTING Reading SiPixelQualityProbabilities DB object ...\n\n"
0065 cmsRun  ${LOCAL_TEST_DIR}/SiPixelQualityProbabilitiesTestReader_cfg.py || die "Failure running SiPixelQualityProbabilitiesTestReader_cfg.py" $?
0066 
0067 echo -e "TESTING SiPixelFEDChannelContainer codes ...\n\n"
0068 
0069 echo -e "TESTING Writing SiPixelFEDChannelContainer DB object ...\n\n"
0070 cmsRun  ${LOCAL_TEST_DIR}/FastSiPixelFEDChannelContainerFromQuality_cfg.py || die "Failure running FastSiPixelFEDChannelContainerFromQuality_cfg.py" $?
0071 
0072 echo -e "TESTING Reading SiPixelFEDChannelContainer DB object ...\n\n"
0073 cmsRun  ${LOCAL_TEST_DIR}/SiPixelFEDChannelContainerTestReader_cfg.py || die "Failure running SiPixelFEDChannelContainerTestReader_cfg.py" $?