Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Validation/RecoEgamma/test/OvalFile.HGCAL is written in an unsupported language. File is not indexed.

0001 <var name="TEST_COMMENT" value="">
0002 <var name="TEST_NEW" value="9_3_2_HGCAL_dev_Run2_2017_noPU_MultiCl">
0003 <var name="TEST_REF" value="9_3_2_HGCAL_dev_Run2_2017_noPU_MultiCl">
0004 
0005 <var name="TAG_STARTUP" value="93X_upgrade2023_realistic_v2_2023D17noPU">
0006 <!--var name="TAG_STARTUP" value="93X_mc2017_realistic_v1"-->
0007 <var name="DATA_VERSION" value="v1">
0008 
0009 TAG for the REFERENCE DATA, USED ONLY FOR INFORMATION ON WEB PAGE
0010 <var name="DD_COND_REF" value="93X_upgrade2023_realistic_v2_2023D17noPU-v1">
0011 <!--var name="DD_COND_REF" value="93X_mc2017_realistic_v1-v1"-->
0012 <!--var name="DD_COND_REF" value="92X_upgrade2017_realistic_v10_resub-v1"-->
0013 
0014 <var name="DD_RELEASE" value="${CMSSW_VERSION}">
0015 
0016 <var name="STORE_DIR" value="/afs/cern.ch/cms/Physics/egamma/www/validation/Electrons/Store/${TEST_NEW}">
0017 <var name="STORE_REF" value="/afs/cern.ch/cms/Physics/egamma/www/validation/Electrons/Store/${TEST_REF}">
0018  
0019 <!--var name="WEB_DIR" value="/afs/cern.ch/cms/Physics/egamma/www/validation/Electrons/Test"-->
0020 <var name="WEB_DIR" value="/afs/cern.ch/cms/Physics/egamma/www/validation/Electrons/Dev">
0021 
0022 <!--var name="WEB_DIR" value="/afs/cern.ch/user/c/chamont/www/validation"-->
0023 <!--var name="WEB_URL" value="https://chamont.web.cern.ch/chamont/validation"-->
0024 
0025 The value of OVAL_ENVNAME is automatically set by Oval to the name
0026 of the current environment, before running any executable. Using it below,
0027 we have an output file name which is unique for each execution.
0028 
0029 <var name="TEST_HISTOS_FILE" value="electronHistos.${OVAL_ENVNAME}.root">
0030 <var name="TEST_OUTPUT_LOGS" value="*.${OVAL_ENVNAME}.olog">
0031 <!--var name="TEST_HISTOS_FILE" value="DQM_V0001_R000000001__${DD_SAMPLE}__${DD_RELEASE}-${DD_COND}__DQM.root"-->
0032 <!--difffile name="electronHistos.root"-->
0033 
0034 The DD_* variables are configuration variables for the script electronDataDiscovery.py,
0035 which prepares and send a query to the Data Discovery web server,
0036 and receive as a result the corresponding list of input data files.
0037 <!--var name="DD_SOURCE" value="das"-->
0038 
0039 The tags below are to be used when DAS seems not up-to-date,
0040 as compared to what you see within castor directories.
0041 These parameters have been added to each RelVal sample environment
0042 <!--var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}"-->
0043 <!--var name="DD_TIER" value="GEN-SIM-RECO"-->
0044   
0045   
0046 The tags below are to be used when you want to process some files
0047 made with a modified code, and generated locally, thanks to the
0048 targets RedoFrom% defined later on.
0049 <!--var name="DD_SOURCE" value="electronInputDataFiles.txt"-->
0050 <!--var name="DD_COND" value="STARTUP"-->
0051 
0052 Oval is able to check the output channel of an execution and compare it with a reference output.
0053 The tags below are defining which are lines to be compared. The currently specification is a
0054 first draft, and we do not yet check the differences that Oval could raise.
0055 
0056 <diffnumber expr="^dataset has (\d+) files:$" tolerance="1">
0057 <error expr="^dataset has 0 files:$">
0058 
0059 <diffline expr="^(TH1.Print Name = [a-zA-Z_]+, Entries= ).*$">
0060 <diffnumber expr="^TH1.Print Name = [a-zA-Z_]+, Entries= (\d+),.*$" tolerance="20%">
0061 <diffnumber expr="^TH1.Print Name = [a-zA-Z_]+, Entries= \d+, Total sum= (\S+)$" tolerance="10%">
0062 <diffline expr="^(h_\S+ has )\d+ entries of mean value \S+$">
0063 <diffnumber expr="^h_\S+ has (\d+) entries of mean value \S+$" tolerance="20%">
0064 <diffnumber expr="^h_\S+ has \d+ entries of mean value (\S+)$" tolerance="10%">
0065 <!diffvar name="HISTO" expr="^TH1.Print Name = [a-zA-Z_]+, Entries= \d+, Total sum= (\S+)$" tolerance="10%">
0066 
0067 The file defined below is used by the script electronDataDiscovery.py when we want to analyze
0068 some RelVal reco files which have been regenerated locally.
0069 
0070 <var name="TEST_AFS_DIR" value="/afs/cern.ch/work/a/archiron/private/CMSSW_9_3_0_pre4_ValELE/src/Validation/RecoEgamma/test">
0071 <!--var name="TEST_AFS_DIR" value="/afs/cern.ch/user/a/archiron/private/Root_Regress"-->
0072 <file name="electronInputDataFiles.txt">
0073 file:${TEST_AFS_DIR}/RelValSingleElectronPt10-STARTUP-RECO.root
0074 file:${TEST_AFS_DIR}/RelValSingleElectronPt35-STARTUP-RECO.root
0075 file:${TEST_AFS_DIR}/RelValSingleElectronPt1000-STARTUP-RECO.root
0076 file:${TEST_AFS_DIR}/RelValTTbar-STARTUP-RECO.root
0077 file:${TEST_AFS_DIR}/RelValZEE-STARTUP-RECO.root
0078 file:${TEST_AFS_DIR}/RelValQCD_Pt_80_120-STARTUP-RECO.root
0079 file:${TEST_AFS_DIR}/electronMultiCl.root
0080 </file>
0081   
0082 Here comes the concrete executables to run. They are split among few different
0083 environments, each one defining the relevant variales for a given scenario and/or
0084 data sample. Running electronDataDiscovery.py is only usefull to check the correctness
0085 of the list of input data files returned by the data discovery web server. We guess
0086 that from time to time we will have to upgrade the values DD_* variable so to keep in
0087 touch with changes in data catalog structure.
0088 
0089 
0090 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0091 ================================================================================
0092 FullSim
0093 ================================================================================
0094 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0095 
0096 <environment name="FullStdStats">
0097 
0098   This set of targets is currently used for the validation of electrons.
0099 
0100   Used if DD_SOURCE=das
0101   <!--var name="DD_TIER" value="*RECO*"-->
0102 
0103   Used if DD_source=/eos/...
0104   <var name="DD_TIER" value="GEN-SIM-RECO">
0105   
0106   <var name="VAL_HISTOS" value="ElectronMcSignalHistos.txt">
0107   <var name="VAL_ANALYZER" value="ElectronMcSignalValidator">
0108   <var name="VAL_POST_ANALYZER" value="ElectronMcSignalPostValidator">
0109   <var name="VAL_CONFIGURATION" value="ElectronMcSignalValidation_cfg">
0110   <var name="VAL_CONFIGURATION_gedGsfE" value="ElectronMcSignalValidation_gedGsfElectrons_cfg">
0111   <var name="VAL_POST_CONFIGURATION" value="ElectronMcSignalPostValidation_cfg">
0112       
0113   <environment name="ValFullStdStatsStartup">
0114   
0115     <var name="TEST_GLOBAL_TAG" value="${TAG_STARTUP}">
0116     <var name="TEST_GLOBAL_AUTOCOND" value="startup">
0117        
0118     <var name="DD_COND" value="${TEST_GLOBAL_TAG}-${DATA_VERSION}">    
0119     
0120     <environment name="ValFullSingleElectronPt35Extended_gedGsfE">
0121     
0122       <var name="DD_SAMPLE" value="RelValSingleElectronPt35Extended">
0123       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0124 
0125       <target name="dqm" cmd="electronDataDiscovery.py castor">
0126       <target name="wget" cmd="electronWget.py castor">
0127       
0128       <target name="dd" cmd="electronDataDiscovery.py">
0129       <target name="analyze" cmd="cmsRun ${VAL_CONFIGURATION_gedGsfE}.py">
0130       <target name="finalize" cmd="cmsRun ${VAL_POST_CONFIGURATION}.py">
0131       
0132       <target name="store" cmd='electronStore.py -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0133       <target name="force" cmd='electronStore.py -f -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0134 
0135     </environment>
0136 
0137     <environment name="ValFullTTbar_14TeV_gedGsfE">
0138   
0139       <var name="DD_SAMPLE" value="RelValTTbar_14TeV">
0140       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0141       
0142       <target name="dqm" cmd="electronDataDiscovery.py castor">
0143       <target name="wget" cmd="electronWget.py castor">
0144       
0145       <target name="dd" cmd="electronDataDiscovery.py">
0146       <target name="analyze" cmd="cmsRun ${VAL_CONFIGURATION_gedGsfE}.py">
0147       <target name="finalize" cmd="cmsRun ${VAL_POST_CONFIGURATION}.py">
0148       
0149       <target name="store" cmd='electronStore.py -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0150       <target name="force" cmd='electronStore.py -f -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0151 
0152     </environment>
0153   
0154     <environment name="ValFullZEE_14_gedGsfE">
0155     
0156       <var name="DD_SAMPLE" value="RelValZEE_14">
0157       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0158       
0159       <target name="dqm" cmd="electronDataDiscovery.py castor">
0160       <target name="wget" cmd="electronWget.py castor">
0161       
0162       <target name="dd" cmd="electronDataDiscovery.py">
0163       <target name="analyze" cmd="cmsRun ${VAL_CONFIGURATION_gedGsfE}.py">
0164       <target name="finalize" cmd="cmsRun ${VAL_POST_CONFIGURATION}.py">
0165       
0166       <target name="store" cmd='electronStore.py -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0167       <target name="force" cmd='electronStore.py -f -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0168   
0169     </environment>
0170 
0171     <environment name="ValFullQCD_Pt-15To7000_Flat_14TeV_gedGsfE">
0172     
0173       <var name="DD_SAMPLE" value="RelValQCD_Pt-15To7000_Flat_14TeV">
0174       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0175       
0176       <var name="VAL_ANALYZER" value="ElectronMcFakeValidator">
0177       <var name="VAL_POST_ANALYZER" value="ElectronMcFakePostValidator">
0178       <var name="VAL_CONFIGURATION" value="ElectronMcFakeValidation_gedGsfElectrons_cfg">
0179       <var name="VAL_POST_CONFIGURATION" value="ElectronMcFakePostValidation_cfg">
0180       
0181       <target name="dqm" cmd="electronDataDiscovery.py castor">
0182       <target name="wget" cmd="electronWget.py castor">
0183       
0184       <target name="dd" cmd="electronDataDiscovery.py">
0185       <target name="analyze" cmd="cmsRun ${VAL_CONFIGURATION}.py">
0186       <target name="finalize" cmd="cmsRun ${VAL_POST_CONFIGURATION}.py">
0187       
0188       <target name="store" cmd='electronStore.py -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0189       <target name="force" cmd='electronStore.py -f -r ${TEST_NEW} -m "${TEST_COMMENT}" -a ${VAL_ANALYZER}/${VAL_POST_ANALYZER} -c ${VAL_CONFIGURATION_gedGsfE}/${VAL_POST_CONFIGURATION} ${TEST_HISTOS_FILE} ${TEST_OUTPUT_LOGS} ${STORE_DIR}'>
0190 
0191     </environment>  
0192   
0193   </environment>
0194   
0195   <environment name="ValFullgedvsged">
0196   
0197     <var name="TEST_GLOBAL_TAG" value="${TAG_STARTUP}">
0198     <var name="TEST_GLOBAL_AUTOCOND" value="startup">
0199        
0200     <var name="DD_COND" value="${TEST_GLOBAL_TAG}-${DATA_VERSION}">    
0201     
0202     <environment name="ValgedvsgedFullSingleElectronPt35Extended_gedGsfE">
0203     
0204       <var name="DD_SAMPLE" value="RelValSingleElectronPt35Extended">
0205       <var name="DD_SAMPLE_REF" value="RelValSingleElectronPt35">
0206       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0207       
0208       <var name="BLUE_FILE" value="electronHistos.ValFullSingleElectronPt35Extended_gedGsfE.root">
0209       <var name="RED_FILE" value="electronHistos.ValFullSingleElectronPt35Extended_gedGsfE.root">
0210 
0211       <target name="publish" cmd='electronCompare.py -c ${VAL_HISTOS} -r ${RED_FILE} -b ${BLUE_FILE} -t "gedGsfElectrons ${DD_SAMPLE}<br><b><font color='red'>${TEST_NEW}</font></b> : ${DD_COND}<br><b><font color='blue'>${TEST_REF}</font></b> : ${DD_COND_REF}" ${STORE_DIR}/${RED_FILE} ${STORE_REF}/${BLUE_FILE} ${WEB_DIR}/${TEST_NEW}/GedvsGed_${TEST_REF}/Fullgedvsged_${DD_SAMPLE_REF}_gedGsfE'>
0212 
0213     </environment>
0214 
0215     <environment name="ValgedvsgedFullTTbar_14TeV_gedGsfE">
0216   
0217       <var name="DD_SAMPLE" value="RelValTTbar_14TeV">
0218       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0219       
0220       <var name="BLUE_FILE" value="electronHistos.ValFullTTbar_14TeV_gedGsfE.root">
0221       <var name="RED_FILE" value="electronHistos.ValFullTTbar_14TeV_gedGsfE.root">
0222 
0223       <target name="publish" cmd='electronCompare.py -c ${VAL_HISTOS} -r ${RED_FILE} -b ${BLUE_FILE} -t "gedGsfElectrons ${DD_SAMPLE}<br><b><font color='red'>${TEST_NEW}</font></b> : ${DD_COND}<br><b><font color='blue'>${TEST_REF}</font></b> : ${DD_COND_REF}" ${STORE_DIR}/${RED_FILE} ${STORE_REF}/${BLUE_FILE} ${WEB_DIR}/${TEST_NEW}/GedvsGed_${TEST_REF}/Fullgedvsged_${DD_SAMPLE}_gedGsfE'>
0224 
0225     </environment>
0226   
0227     <environment name="ValgedvsgedFullZEE_14_gedGsfE">
0228     
0229       <var name="DD_SAMPLE" value="RelValZEE_14">
0230       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0231       
0232       <var name="BLUE_FILE" value="electronHistos.ValFullZEE_14_gedGsfE.root">
0233       <var name="RED_FILE" value="electronHistos.ValFullZEE_14_gedGsfE.root">
0234 
0235       <target name="publish" cmd='electronCompare.py -c ${VAL_HISTOS} -r ${RED_FILE} -b ${BLUE_FILE} -t "gedGsfElectrons ${DD_SAMPLE}<br><b><font color='red'>${TEST_NEW}</font></b> : ${DD_COND}<br><b><font color='blue'>${TEST_REF}</font></b> : ${DD_COND_REF}" ${STORE_DIR}/${RED_FILE} ${STORE_REF}/${BLUE_FILE} ${WEB_DIR}/${TEST_NEW}/GedvsGed_${TEST_REF}/Fullgedvsged_${DD_SAMPLE}_gedGsfE'>
0236   
0237     </environment>
0238 
0239     <environment name="ValgedvsgedFullQCD_Pt-15To7000_Flat_14TeV_gedGsfE">
0240     
0241       <var name="DD_SAMPLE" value="RelValQCD_Pt-15To7000_Flat_14TeV">
0242       <var name="DD_SOURCE" value="/eos/cms/store/relval/${DD_RELEASE}/${DD_SAMPLE}/${DD_TIER}/${DD_COND}">
0243       
0244       <var name="BLUE_FILE" value="electronHistos.ValFullQCD_Pt-15To7000_Flat_14TeV_gedGsfE.root">
0245       <var name="RED_FILE" value="electronHistos.ValFullQCD_Pt-15To7000_Flat_14TeV_gedGsfE.root">
0246 
0247       <var name="VAL_HISTOS" value="ElectronMcFakeHistos.txt">
0248       <var name="VAL_ANALYZER" value="ElectronMcFakeValidator">
0249       <var name="VAL_POST_ANALYZER" value="ElectronMcFakePostValidator">
0250       <var name="VAL_CONFIGURATION" value="ElectronMcFakeValidation_gedGsfElectrons_cfg">
0251       <var name="VAL_POST_CONFIGURATION" value="ElectronMcFakePostValidation_cfg">
0252       
0253       <target name="publish" cmd='electronCompare.py -c ${VAL_HISTOS} -r ${RED_FILE} -b ${BLUE_FILE} -t "gedGsfElectrons ${DD_SAMPLE}<br><b><font color='red'>${TEST_NEW}</font></b> : ${DD_COND}<br><b><font color='blue'>${TEST_REF}</font></b> : ${DD_COND_REF}" ${STORE_DIR}/${RED_FILE} ${STORE_REF}/${BLUE_FILE} ${WEB_DIR}/${TEST_NEW}/GedvsGed_${TEST_REF}/Fullgedvsged_${DD_SAMPLE}_gedGsfE'>
0254 
0255     </environment>  
0256   
0257   </environment>
0258     
0259 </environment>
0260 
0261 
0262