- Timestamp:
- 10/05/10 12:05:58 (14 years ago)
- Location:
- trunk/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/Changelog
r10004 r10006 32 32 * datacenter/scripts/runcorsika, datacenter/scripts/sourcefile: 33 33 - implemented variable $SOURCEFILEPATH 34 35 * datacenter/db/menu.php, datacenter/db/mcdefs.php, 36 datacenter/scripts/runcorsika, datacenter/scripts/insertmc: 37 - implemented fNumReUseShowers (parameter how often a shower is 38 reused in Corsika) 34 39 35 40 -
trunk/Mars/datacenter/scripts/insertmc
r9940 r10006 44 44 # make sure that the information on the setup (i.e. table CeresSetup) 45 45 # has been inserted before 46 cereskeys=( 2 3 4 5 6)47 #cereskeys=( 1)46 cereskeys=( 7 ) 47 cereskeys=( 1 2 3 4 5 6 7 8 9 10 11 12 ) 48 48 49 49 … … 58 58 runmin=423 59 59 runmax=960 60 #runmin=104061 #runmax=107062 #runmin=63 #runmax=60 runmin=1040 61 runmax=1070 62 runmin= 63 runmax= 64 64 65 65 … … 72 72 # number of files per run 73 73 numfile=1 # 10 74 75 numreuse=1 76 numreuse=20 74 77 75 78 # particle type … … 111 114 # mirror diameter 112 115 mirrordia=1800 113 #mirrordia=900116 mirrordia=900 114 117 115 118 # wavelength range … … 246 249 query=$query", fImpactMax="$impactmax", fViewConeMax="$viewconemax 247 250 query=$query", fStartingAltitude="$startalt", fMirrorDiameter="$mirrordia 248 query=$query", fObservatoryKEY="$obskey 251 query=$query", fObservatoryKEY="$obskey", fNumReUseShowers="$numreuse 249 252 query=$query", fWavelengthMin="$wavelengthmin", fWavelengthMax="$wavelengthmax 250 253 sendquery2 -
trunk/Mars/datacenter/scripts/runcorsika
r10004 r10006 100 100 echo "CWAVLG "$wavelengths 101 101 # MMCS 102 echo "CSCAT 10. "$impactmax102 echo "CSCAT "$numreuse" 0. "$impactmax 103 103 # CORSIKA 104 # echo "CSCAT "$ reuse" "$impactmax" 0."104 # echo "CSCAT "$numreuse" "$impactmax" 0." 105 105 echo "CERSIZ 1." 106 106 # Write Cherenkov photons to cer-file … … 198 198 query="SELECT fWavelengthMin, fWavelengthMax FROM CorsikaInfo WHERE fRunNumber=$run AND fFileNumber=$file" 199 199 wavelengths=`sendquery` 200 query="SELECT fNumReUseShowers FROM CorsikaInfo WHERE fRunNumber=$run AND fFileNumber=$file" 201 numreuse=`sendquery` 200 202 201 203 outpath=$mcpath"/"$program"/"`printf %08d $run | cut -c 1-4`/`printf %08d $run | cut -c 5-8`
Note:
See TracChangeset
for help on using the changeset viewer.