Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-21 23:14:24

0001 #! /bin/bash
0002 
0003 [ -e "$BIN_DATA_PATH" ] || BIN_DATA_PATH=/data2/slava77/samples/2021/11834.0_TTbar_14TeV+2021/
0004 fin=${BIN_DATA_PATH}/AVE_70_BX01_25ns/memoryFile.fv6.default.211008-c6b7c67.bin
0005 
0006 runValidation()
0007 {
0008     for sV in "sim --cmssw-simseeds" "see --cmssw-stdseeds"; do echo $sV | while read -r sN sO; do
0009             if [ "${1}" == "1" ]; then
0010                 sO="--cmssw-n2seeds"
0011             fi
0012             for bV in "BH bh" "STD std" "CE ce"; do echo $bV | while read -r bN bO; do
0013                     oBase=${base}_${sN}_${bN}
0014                     nTH=8
0015                     echo "${oBase}: validation [nTH:${nTH}, nVU:8]"
0016                     ./mkFit/mkFit --sim-val --input-file ${fin} --build-${bO} ${sO} --num-thr ${nTH} >& log_${oBase}_NVU8int_NTH${nTH}_val.txt
0017                     mv valtree.root valtree_${oBase}.root
0018                 done
0019             done
0020         done
0021     done
0022         
0023     for opt in sim see
0024     do
0025         oBase=${base}_${opt}
0026         for build in BH STD CE
0027         do
0028             root -b -q -l plotting/runValidation.C+\(\"_${oBase}_${build}\"\)
0029         done
0030         root -b -q -l plotting/makeValidation.C+\(\"${oBase}\"\)
0031     done
0032 }
0033 
0034 #cleanup first
0035 make clean
0036 make distclean
0037 make -j 12 WITH_ROOT:=1
0038 
0039 export base=SNB_CMSSW_PU70_clean
0040 echo Run default build with base = ${base}
0041 runValidation 0
0042 
0043 export base=SNB_CMSSW_PU70_clean_cleanSeed
0044 echo Run CLEAN_SEEDS with base = ${base}
0045 runValidation 1
0046 
0047 make distclean
0048 
0049 unset base