Ignore:
Timestamp:
05/09/07 17:05:15 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/scripts/makemovie

    r8473 r8482  
    2525# ========================================================================
    2626#
    27 #
    28 #
    2927##############################################################################
    3028#
     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.
    3140#
    3241##############################################################################
     
    4352NumEvents=500
    4453Threshold=3
    45 
    46 #MFEvtNumber.FileName: ganymed00001218.root
    47 #MFEvtNumber.Selector: ThetaSquared.fVal<0.04 && DataType.fVal>0.5
    48 #MMovieWrite.Filename: movie-00071431-off-all.mpg
    49 
    5054
    5155function usage()
     
    8387do
    8488   case $1 in
    85            --sequ)  shift
    86                     sequence=$1
    87                     ;;
    88             --out)  shift
    89                     outpath=$1
    90                     ;;
    91   --target-length)  shift
    92                     TargetLength=$1
    93                     ;;
    94      --num-events)  shift
    95                     NumEvents=$1
    96                     ;;
    97           -wobble)  wobble='yes'
    98                     ;;
    99               -mc)  mc='mc'
    100                     ;;
    101                -h)  usage
    102                     ;;
    103       *)      echo "unknown option $1 "
    104               usage
    105               exit
    106               ;;
     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                        ;;
    107111   esac
    108112   shift
     
    239243for (( i=1 ; i < 4 ; i++ ))
    240244do
    241   command="./callisto $opts --config=$outpath2/callisto_$n8$mc-${names[$i]}.rc "
    242   echo "submitting: "$command
    243   condor_run $command &
     245   command="./callisto $opts --config=$outpath2/callisto_$n8$mc-${names[$i]}.rc "
     246   echo "submitting: "$command
     247   condor_run $command &
    244248done
    245249
Note: See TracChangeset for help on using the changeset viewer.