Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Validation/CaloTowers/test/macros/README.txt is written in an unsupported language. File is not indexed.

0001 How to use relval plotting machinary:
0002 
0003 Example: CMSSW_10_2_0_pre6 vs CMSSW_10_2_0_pre5
0004 
0005 Target relaease: CMSSW_10_2_0_pre6 , target GT: 102X_upgrade2018_realistic_v7
0006 Reference relaease: CMSSW_10_2_0_pre5, reference GT: 102X_upgrade2018_realistic_v1
0007 
0008 
0009         cmsrel CMSSW_10_2_0
0010         cd CMSSW_10_2_0/src
0011         cmsenv
0012 
0013 > download relval script
0014         
0015         git cms-addpkg Validation/CaloTowers
0016         ### in case PR 24159 is not yet merged then use following command
0017         git cms-merge-topic spandeyehep:HCAL_DQM_hist_booking_change
0018         scram b
0019         cd Validation/CaloTowers/test/macros/
0020         make
0021 
0022 > initialize proxies
0023 
0024         voms-proxy-init --voms cms
0025         ### for csh shell
0026         setenv X509_USER_PROXY /tmp/x509up_u`id -u`
0027         ### for bash shell
0028         export X509_USER_PROXY=/tmp/x509up_u`id -u`
0029 
0030 
0031 > Download target and reference DQM files:
0032 
0033         ### MC target
0034         ./RelValHarvest.py -M CMSSW_10_2_0_pre6
0035         ### MC reference
0036         ./RelValHarvest.py -M CMSSW_10_2_0_pre5
0037 
0038 > It will download and rename DQM files (the main files are following):
0039 
0040 Target:
0041 # HcalRecHitValidationRelVal_HighPtQCD_1020pre6_102X_upgrade2018_realistic_v7-v1.root
0042 # HcalRecHitValidationRelVal_MinBias_1020pre6_102X_upgrade2018_realistic_v7-v1.root
0043 # HcalRecHitValidationRelVal_QCD_1020pre6_102X_upgrade2018_realistic_v7-v1.root
0044 # HcalRecHitValidationRelVal_TTbar_1020pre6_102X_upgrade2018_realistic_v7-v1.root
0045 # HcalRecHitValidationRelVal_TTbar_1020pre6_PU25ns_102X_upgrade2018_realistic_v7_rsb-v1.root
0046 # HcalRecHitValidationRelVal_TTbar_1020pre6_PUpmx25ns_102X_upgrade2018_realistic_v7-v1.root
0047 
0048 Reference:
0049 # HcalRecHitValidationRelVal_HighPtQCD_1020pre5_102X_upgrade2018_realistic_v1-v1.root
0050 # HcalRecHitValidationRelVal_MinBias_1020pre5_102X_upgrade2018_realistic_v1-v1.root
0051 # HcalRecHitValidationRelVal_QCD_1020pre5_102X_upgrade2018_realistic_v1-v1.root
0052 # HcalRecHitValidationRelVal_TTbar_1020pre5_102X_upgrade2018_realistic_v1-v1.root
0053 # HcalRecHitValidationRelVal_TTbar_1020pre5_PU25ns_102X_upgrade2018_realistic_v1-v1.root
0054 # HcalRecHitValidationRelVal_TTbar_1020pre5_PUpmx25ns_102X_upgrade2018_realistic_v1-v1.root
0055 
0056 
0057 
0058 > Generate plots: We'll need to generate plots for standard MC samples, PU25ns samples & PUpmx25ns samples:
0059 
0060         ### MC samples
0061         ./RunRVMacros2018.csh 1020pre6_102X_upgrade2018_realistic_v7-v1 1020pre5_102X_upgrade2018_realistic_v1-v1
0062         ### PU25ns samples
0063         ./RunRVMacros_Pileup2018.csh 1020pre6_PU25ns_102X_upgrade2018_realistic_v7-v1 1020pre5_PU25ns_102X_upgrade2018_realistic_v1-v1
0064 
0065 It will generate the plots for all the samples.
0066 
0067 
0068 
0069 
0070 >>> Similarly for DATA:
0071 
0072 > Download target and reference DQM files (2017B):
0073 
0074         ### Data target
0075         ./RelValHarvest.py -D CMSSW_10_2_0_pre6
0076         ### Data reference
0077         ./RelValHarvest.py -D CMSSW_10_2_0_pre5
0078 
0079 > It will download and rename DQM files (the main files are following):
0080 
0081 Target:
0082 # HcalRecHitValidationRelVal_ZeroBias_1020pre6_102X_dataRun2_PromptLike_v3.root
0083 # HcalRecHitValidationRelVal_JetHT_1020pre6_102X_dataRun2_PromptLike_v3.root
0084 
0085 Reference:
0086 # HcalRecHitValidationRelVal_ZeroBias_1020pre5_102X_dataRun2_PromptLike_v3.root
0087 # HcalRecHitValidationRelVal_JetHT_1020pre5_102X_dataRun2_PromptLike_v3.root
0088 
0089 > Generate plots:
0090 
0091         ./RunRVMacros_DATA.csh 1020pre6_102X_dataRun2_PromptLike_v3 1020pre5_102X_dataRun2_PromptLike_v3
0092 
0093 
0094 > upload the plots
0095 
0096         rsync -av 1020* userId@lxplus.cern.ch:/afs/cern.ch/cms/cpt/Software/html/General/Validation/SVSuite/HCAL/
0097 
0098 NOTE: To download 2018A or 2018B samples, use RelValHarvest_2018A.py or RelValHarvest_2018B.py script.