Changeset 10013
- Timestamp:
- 10/18/10 17:15:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/datacenter/scripts/insertmc
r10006 r10013 46 46 cereskeys=( 7 ) 47 47 cereskeys=( 1 2 3 4 5 6 7 8 9 10 11 12 ) 48 cereskeys=( 8 9 10 11 12 ) 48 49 49 50 … … 69 70 70 71 # number of events per file 71 numevents=10000 # 250000 72 numevents=35000 # Protons CSCAT=20 73 #numevents=2000 # Gamma CSCAT=20 74 72 75 # number of files per run 73 numfile=1 # 10 76 #numfile=1 # 77 numfile=50 # Protons CSCAT=20 78 #numfile=10 # Gamma CSCAT=20 74 79 75 80 numreuse=1 … … 93 98 94 99 # 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 100 emin=20 # 20 101 emax=200000 # 200000 102 #emin=100 # Gamma 103 #emax=50000 # Gamma 104 #slope=-2.7 # for gammas, depends on source spectrum, or for test 105 slope=-2.78 # for protons and muons and irons 99 106 100 107 # impact … … 184 191 echo " Energy: "$emin" GeV - "$emax" GeV " 185 192 echo " Slope: "$slope 186 echo " Maximum Impact: "$impactmax" m "193 echo " Maximum Impact: "$impactmax" cm " 187 194 echo " Maximum View Cone: "$viewconemax" deg " 188 195 echo " Starting Altitude: "$startalt … … 213 220 214 221 answer=`head -n 1` 222 #answer=y 215 223 echo "Your answer: "$answer 216 224 … … 254 262 done 255 263 256 query="INSERT CorsikaStatus SET fRunNumber="$prun", fFileNumber=1, fStartTime='1970-01-01 00:00:00', fStopTime='1970-01-01 00:00:00' "", fPriority="$prun264 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 257 265 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="$crun266 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 259 267 sendquery2 260 268
Note:
See TracChangeset
for help on using the changeset viewer.