Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #! /bin/bash
0002 
0003 . data-dir-location.sh
0004 
0005 mkdir -p ${dir}
0006 
0007 # Building test [1 event in flight]
0008 if [ ! -f ${dir}/simtracks_fulldet_100x2p5k.bin ]; then
0009     echo "++++Generating 2.5k tracks/event * 100 events for ToyMC building tests with one event in flight++++"
0010     make -j 12
0011     ./mkFit/mkFit --num-thr-sim ${n_sim_thr} --num-events 100 --num-tracks 2500 --output-file simtracks_fulldet_100x2p5k.bin
0012     mv simtracks_fulldet_100x2p5k.bin ${dir}/
0013     make clean
0014 fi
0015 
0016 # Building test [n Events in flight]
0017 if [ ! -f ${dir}/simtracks_fulldet_5kx2p5k.bin ]; then
0018     echo "++++Generating 2.5k tracks/event * 5k events for ToyMC building tests with nEvents in flight++++"
0019     make -j 12
0020     ./mkFit/mkFit --num-thr-sim ${n_sim_thr} --num-events 5000 --num-tracks 2500 --output-file simtracks_fulldet_5kx2p5k.bin
0021     mv simtracks_fulldet_5kx2p5k.bin ${dir}/
0022     make clean    
0023 fi
0024 
0025 # Validation tests
0026 if [ ! -f ${dir}/simtracks_fulldet_500x2p5k_val.bin ]; then
0027     echo "++++Generating 2.5k tracks/event * 500 events for ToyMC validation tests++++"
0028     make -j 12 WITH_ROOT:=1
0029     ./mkFit/mkFit --num-thr-sim ${n_sim_thr} --sim-val --num-events 500 --num-tracks 2500 --output-file simtracks_fulldet_500x2p5k_val.bin
0030     mv simtracks_fulldet_500x2p5k_val.bin ${dir}/
0031     make clean
0032 fi