Changeset 10006


Ignore:
Timestamp:
10/05/10 12:05:58 (14 years ago)
Author:
Daniela Dorner
Message:
implemented fNumReUseShowers (parameter how often a shower is reused in
Corsika)
Location:
trunk/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r10004 r10006  
    3232   * datacenter/scripts/runcorsika, datacenter/scripts/sourcefile:
    3333     - 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)
    3439
    3540
  • trunk/Mars/datacenter/scripts/insertmc

    r9940 r10006  
    4444#  make sure that the information on the setup (i.e. table CeresSetup)
    4545#  has been inserted before
    46 cereskeys=( 2 3 4 5 6 )
    47 #cereskeys=( 1 )
     46cereskeys=( 7 )
     47cereskeys=( 1 2 3 4 5 6 7 8 9 10 11 12 )
    4848
    4949
     
    5858runmin=423
    5959runmax=960
    60 #runmin=1040
    61 #runmax=1070
    62 #runmin=
    63 #runmax=
     60runmin=1040
     61runmax=1070
     62runmin=
     63runmax=
    6464
    6565
     
    7272# number of files per run
    7373numfile=1 # 10
     74
     75numreuse=1
     76numreuse=20
    7477
    7578# particle type
     
    111114# mirror diameter
    112115mirrordia=1800
    113 #mirrordia=900
     116mirrordia=900
    114117
    115118# wavelength range
     
    246249      query=$query", fImpactMax="$impactmax", fViewConeMax="$viewconemax
    247250      query=$query", fStartingAltitude="$startalt", fMirrorDiameter="$mirrordia
    248       query=$query", fObservatoryKEY="$obskey
     251      query=$query", fObservatoryKEY="$obskey", fNumReUseShowers="$numreuse
    249252      query=$query", fWavelengthMin="$wavelengthmin", fWavelengthMax="$wavelengthmax
    250253      sendquery2
  • trunk/Mars/datacenter/scripts/runcorsika

    r10004 r10006  
    100100   echo "CWAVLG "$wavelengths
    101101   # MMCS
    102    echo "CSCAT 1 0. "$impactmax
     102   echo "CSCAT "$numreuse" 0. "$impactmax
    103103   # CORSIKA
    104    # echo "CSCAT "$reuse" "$impactmax" 0."
     104   # echo "CSCAT "$numreuse" "$impactmax" 0."
    105105   echo "CERSIZ 1."
    106106   # Write Cherenkov photons to cer-file
     
    198198query="SELECT fWavelengthMin, fWavelengthMax FROM CorsikaInfo WHERE fRunNumber=$run AND fFileNumber=$file"
    199199wavelengths=`sendquery`
     200query="SELECT fNumReUseShowers FROM CorsikaInfo WHERE fRunNumber=$run AND fFileNumber=$file"
     201numreuse=`sendquery`
    200202
    201203outpath=$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.