Ignore:
Timestamp:
02/05/10 14:52:18 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/fillmcdb

    r9504 r9543  
    3434
    3535# number of runs to be inserted
     36#numruns=300
    3637numruns=2700
    3738# number of events per run
     
    4142#  14 = proton
    4243#   6 = muon
    43 particlekey=1
     44#particlekey=1
    4445particlekey=14
    4546
     47obslevel=3700
    4648
    4749#
     
    7072
    7173
    72 echo "Inserting "$numruns" runs with "$numevts" events each and particle number "$particlekey"."
     74echo "Inserting "$numruns" runs with "$numevts" events each and particle number "$particlekey" and observation level "$obslevel" m."
    7375echo "Next runs in DB from run number "${runs[0]}" to run number "${runs[1]}"."
    7476if [ "$1" == "-n" ]
     
    8082for i in `seq ${runs[0]} ${runs[1]}`
    8183do
    82    query="INSERT MCRunData SET fNumEvents=$numevts, fParticleTypeKEY=$particlekey, fMCRunNumber=$i"
     84   query="INSERT MCRunData SET fNumEvents=$numevts, fParticleTypeKEY=$particlekey, fObsLevel=$obslevel, fMCRunNumber=$i"
    8385   echo $query
    8486   sendquery "$query"
Note: See TracChangeset for help on using the changeset viewer.