Ignore:
Timestamp:
10/18/10 17:15:28 (14 years ago)
Author:
Daniela Dorner
Message:
added fAvailable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/datacenter/scripts/insertmc

    r10006 r10013  
    4646cereskeys=( 7 )
    4747cereskeys=( 1 2 3 4 5 6 7 8 9 10 11 12 )
     48cereskeys=( 8 9 10 11 12 )
    4849
    4950
     
    6970
    7071# number of events per file
    71 numevents=10000  # 250000
     72numevents=35000  # Protons CSCAT=20
     73#numevents=2000 # Gamma CSCAT=20
     74
    7275# number of files per run
    73 numfile=1 # 10
     76#numfile=1 #
     77numfile=50 # Protons CSCAT=20
     78#numfile=10 # Gamma CSCAT=20
    7479
    7580numreuse=1
     
    9398
    9499# energy (in GeV)
    95 emin=10  # 20
    96 emax=10  # 200000
    97 slope=-2.0 # for gammas, depends on source spectrum, or for test
    98 #slope=-2.78 # for protons and muons and irons
     100emin=20  # 20
     101emax=200000  # 200000
     102#emin=100 # Gamma
     103#emax=50000 # Gamma
     104#slope=-2.7 # for gammas, depends on source spectrum, or for test
     105slope=-2.78 # for protons and muons and irons
    99106
    100107# impact
     
    184191   echo "  Energy:            "$emin" GeV - "$emax" GeV "
    185192   echo "  Slope:             "$slope
    186    echo "  Maximum Impact:    "$impactmax" m "
     193   echo "  Maximum Impact:    "$impactmax" cm "
    187194   echo "  Maximum View Cone: "$viewconemax" deg "
    188195   echo "  Starting Altitude: "$startalt
     
    213220
    214221answer=`head -n 1`
     222#answer=y
    215223echo "Your answer: "$answer
    216224
     
    254262   done
    255263
    256    query="INSERT CorsikaStatus SET fRunNumber="$prun", fFileNumber=1, fStartTime='1970-01-01 00:00:00', fStopTime='1970-01-01 00:00:00' "", fPriority="$prun
     264   query="INSERT CorsikaStatus SET fRunNumber="$prun", fFileNumber=1, fStartTime='1970-01-01 00:00:00', fStopTime='1970-01-01 00:00:00', fAvailable='1970-01-01 00:00:00', fPriority="$prun
    257265   sendquery2
    258    query="INSERT CorsikaStatus SET fRunNumber="$crun", fFileNumber=1, fStartTime='1970-01-01 00:00:00', fStopTime='1970-01-01 00:00:00' "", fPriority="$crun
     266   query="INSERT CorsikaStatus SET fRunNumber="$crun", fFileNumber=1, fStartTime='1970-01-01 00:00:00', fStopTime='1970-01-01 00:00:00', fAvailable='1970-01-01 00:00:00', fPriority="$crun
    259267   sendquery2
    260268
Note: See TracChangeset for help on using the changeset viewer.