|
||||
File indexing completed on 2024-04-06 12:32:42
0001 #! /bin/csh 0002 ############################################################################# 0003 # Test suite for MixingModule # 0004 ############################################################################# 0005 # part1: detailed testing of MM functionality: 0006 #-------------------------------------------- 0007 # loops over bunchcrossings -5 , 3 0008 # for each bunchcrossing the MixingModule is executed, configured with this bunchcrossing only 0009 # then histograms are created and stored in file histos.root 0010 # they may be looked at by executing testsuite.C interactively in root 0011 # or are compared histo by histo 0012 # part2: global physics validation 0013 #--------------------------------- 0014 0015 @ bcrstart=-5 0016 @ bcrend=3 0017 @ i=$bcrstart 0018 0019 0020 while ( $i <= $bcrend ) 0021 echo "===================> Step1: executing EDProducer (MixingModule) for bcr $i" 0022 # execute Mixing Module 0023 /bin/rm /tmp/testsuite1_{$i}_cfg.py >& /dev/null 0024 sed "s/12345/$i/" testsuite_SmartPointers_cfg.py | sed "s/23456/$bcrstart/" | sed "s/34567/$bcrend/" >/tmp/testsuite_SmartPointers{$i}_cfg.py 0025 cmsRun /tmp/testsuite_SmartPointers{$i}_cfg.py 0026 # create histos 0027 #### cp histos.root ../data/MMValHistos_{$i}.root # for test preparation only! 0028 echo "===================> Step2: histogram comparison" 0029 # root -b -p -q DoCompare.C\(\"histos\",\"../data/MMValHistos_$i\"\) 0030 @ i++ 0031 end 0032 0033 echo "===================> Step3: Global comparisons " 0034 # cmsRun globalTest_SmartPointers_cfg.py # execute mixing and look at results 0035 0036 #### cp GlobalHistos.root ../data/GlobalHistos.root # for test preparation only! 0037 # root -b -p -q DoCompare.C\(\"GlobalHistos\",\"../data/GlobalHistos\"\) 0038 0039 echo "===================> MM Validation finished "
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |