Warning, /Validation/CaloTowers/test/macros/README.txt is written in an unsupported language. File is not indexed.
0001 How to set and use plotting machinery in CMSSW_14_0_0_pre3 (or later) on lxplus (el9 OS)
0002 for making plots and submitting them to /TMP folder of
0003 /eos/project/c/cmsweb/www/hcal-sw-validation/TMP
0004 visible on the web as
0005 https://cms-docs.web.cern.ch/hcal-sw-validation/?dir=TMP
0006
0007 NB: HCAL Validation expert is supposed revise/eamine the plots and then
0008 to move the folders from /TMP to an actual destination deirectory.
0009
0010 Eample uses CMSSW_14_0_0_pre2 vs CMSSW_14_0_0_pre1 comparison
0011 with the relevant DQM files fetched from the repository directories on
0012 https://cmsweb.cern.ch/dqm/relval/data/browse/ROOT/RelVal/
0013
0014 Target relaease: CMSSW_14_0_0_pre2 , target GT: 133X_mcRun3_2023_realistic_v3
0015 Reference relaease: CMSSW_14_0_0_pre1, reference GT: 133X_mcRun3_2023_realistic_v3
0016 (GTs can be different or the same)
0017
0018 NB: attention should be payed to the versions of the DQM files,
0019 there could be additional strings at the end of their names,
0020 like a version number "vN" (v1 in most of the cases)
0021 or additional special strings, like "STD-v1",
0022
0023
0024 Login to lxplus (=lxplus9)
0025 List which recent CMSSW versions are available:
0026 $scram list --all CMSSW | grep 14_0_0
0027
0028 and create local CMSSW release area:
0029
0030 $export SCRAM_ARCH="el9_amd64_gcc12" (for tcsh shell: setenv SCRAM_ARCH el9_amd64_gcc12)
0031 $cmsrel CMSSW_14_0_0_pre3 (for instance) or 14_0_0 (when it's available)
0032 $cd CMSSW_14_0_0/src/
0033 $cmsenv
0034 $
0035 $git cms-addpkg Validation/CaloTowers (if all the updated are already available in CMSSW)
0036 $git cms-merge-topic abdoulline:HCAL_RelVal_update (if the branch with updates is not yet merged into CMSSW)
0037 $scram b
0038 $cd Validation/CaloTowers/test/macros/
0039 $make
0040 $voms-proxy-init --voms cms
0041 $export X509_USER_PROXY=/tmp/x509up_uid -u
0042
0043 (1) for making.uploding "2023" (Run3) noPU/PU plots:
0044
0045 Update skProc1_2023.sh accordinly (using actual target and reference versions):
0046 ./RelValHarvest_2023.py -M CMSSW_14_0_0_pre2
0047 ./RelValHarvest_2023.py -M CMSSW_14_0_0_pre1
0048 And execute it (it will download and rename DQM files)
0049 $./skProc1_2023.sh
0050
0051 Update skProc2_2023.sh
0052 to use actual DQM files + change username (replacing "ykazhyka" with your own)
0053 nopu_new="1400pre2_133X_mcRun3_2023_realistic_v3_STD-v1"
0054 nopu_old="1400pre1_133X_mcRun3_2023_realistic_v3-v1"
0055 pu_new="1400pre2_PU_133X_mcRun3_2023_realistic_v3_STD_PU-v3"
0056 pu_old="1400pre1_PU_133X_mcRun3_2023_realistic_v3-v1"
0057
0058 Execute it:
0059 $./skProc2_2023.sh
0060
0061 (2) Similar steps for producing Phase2 (2026D...) noPU/PU plots
0062 (after updating their content)
0063
0064 $./skProc1_Phase2.sh
0065 $./skProc2_Phase2.sh