Changeset 8482 for trunk/MagicSoft/Mars/scripts/makemovie
- Timestamp:
- 05/09/07 17:05:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/scripts/makemovie
r8473 r8482 25 25 # ======================================================================== 26 26 # 27 #28 #29 27 ############################################################################## 30 28 # 29 # This script runs callisto with the -movie option and the corresponding 30 # rc files for a given sequence. 31 # The following movies are produced: 32 # - movieSequenceNumber[mc]-withoutcut.mpg (all events) 33 # - movieSequenceNumber[mc]-qualcut.mpg (events after quality cuts) 34 # - movieSequenceNumber[mc]-areacut.mpg (events after area cut) 35 # - movieSequenceNumber[mc]-thetacut.mpg (events after theta^2 cut) 36 # 37 # If no outpath is given, the movies are stored in the directory movies. 38 # 39 # The script has to be executed in the Mars directory. 31 40 # 32 41 ############################################################################## … … 43 52 NumEvents=500 44 53 Threshold=3 45 46 #MFEvtNumber.FileName: ganymed00001218.root47 #MFEvtNumber.Selector: ThetaSquared.fVal<0.04 && DataType.fVal>0.548 #MMovieWrite.Filename: movie-00071431-off-all.mpg49 50 54 51 55 function usage() … … 83 87 do 84 88 case $1 in 85 --sequ) shift86 sequence=$187 ;;88 --out) shift89 outpath=$190 ;;91 --target-length) shift92 TargetLength=$193 ;;94 --num-events) shift95 NumEvents=$196 ;;97 -wobble) wobble='yes'98 ;;99 -mc) mc='mc'100 ;;101 -h) usage102 ;;103 *) echo "unknown option $1 "104 usage105 exit106 ;;89 --sequ) shift 90 sequence=$1 91 ;; 92 --out) shift 93 outpath=$1 94 ;; 95 --target-length) shift 96 TargetLength=$1 97 ;; 98 --num-events) shift 99 NumEvents=$1 100 ;; 101 -wobble) wobble='yes' 102 ;; 103 -mc) mc='mc' 104 ;; 105 -h) usage 106 ;; 107 *) echo "unknown option $1 " 108 usage 109 exit 110 ;; 107 111 esac 108 112 shift … … 239 243 for (( i=1 ; i < 4 ; i++ )) 240 244 do 241 command="./callisto $opts --config=$outpath2/callisto_$n8$mc-${names[$i]}.rc "242 echo "submitting: "$command243 condor_run $command &245 command="./callisto $opts --config=$outpath2/callisto_$n8$mc-${names[$i]}.rc " 246 echo "submitting: "$command 247 condor_run $command & 244 248 done 245 249
Note:
See TracChangeset
for help on using the changeset viewer.