Changeset 9543 for trunk/MagicSoft/Mars/datacenter/scripts/fillmcdb
- Timestamp:
- 02/05/10 14:52:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/fillmcdb
r9504 r9543 34 34 35 35 # number of runs to be inserted 36 #numruns=300 36 37 numruns=2700 37 38 # number of events per run … … 41 42 # 14 = proton 42 43 # 6 = muon 43 particlekey=144 #particlekey=1 44 45 particlekey=14 45 46 47 obslevel=3700 46 48 47 49 # … … 70 72 71 73 72 echo "Inserting "$numruns" runs with "$numevts" events each and particle number "$particlekey" ."74 echo "Inserting "$numruns" runs with "$numevts" events each and particle number "$particlekey" and observation level "$obslevel" m." 73 75 echo "Next runs in DB from run number "${runs[0]}" to run number "${runs[1]}"." 74 76 if [ "$1" == "-n" ] … … 80 82 for i in `seq ${runs[0]} ${runs[1]}` 81 83 do 82 query="INSERT MCRunData SET fNumEvents=$numevts, fParticleTypeKEY=$particlekey, f MCRunNumber=$i"84 query="INSERT MCRunData SET fNumEvents=$numevts, fParticleTypeKEY=$particlekey, fObsLevel=$obslevel, fMCRunNumber=$i" 83 85 echo $query 84 86 sendquery "$query"
Note:
See TracChangeset
for help on using the changeset viewer.