Changeset 9220


Ignore:
Timestamp:
01/14/09 13:53:27 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9219 r9220  
    6060   * mraw/MRawRunHeader.h:
    6161     - allow to validate the magic-number from outside (for MCs)
     62
     63   * datacenter/scripts/runcorsika:
     64     - added a lot of comments
     65     - reordered values in input card
     66     - switched off a lot of obsolete output
     67     - changed the Magnetic field to a value corresponding to the location of
     68       MAGIC at 2200m height valid for January 2009. (The old value never took
     69       place there?!) The value was taken from www.noaa.gov/geomagmodels
    6270
    6371
  • trunk/MagicSoft/Mars/datacenter/scripts/runcorsika

    r9183 r9220  
    3535set -C
    3636
     37export FLUPRO=$corsikapath'/fluka2008_3'
     38
    3739# printing input card to stdout
    3840function printinputcard()
    3941{
     42   # Run number
    4043   echo "RUNNR "$corsikarunno
     44   # Starting event number
     45   echo "EVTNR 1"
     46   # Number of simulated events
     47   echo "NSHOW "$numevts
     48   # Seed values for simulation
     49   echo "SEED "$seed1" 0 0 "
     50   echo "SEED "$seed2" 0 0 "
     51   echo "SEED "$seed3" 0 0 "
     52   # Primary particle
    4153   echo "PRMPAR "$primparticle
    4254   echo "ERANGE "$erange
    43    echo "EVTNR 1"
    44    echo "NSHOW "$numevts
    4555   echo "ESLOPE "$slope
     56   # Simulation range (theta, phi, view cone, starting altitude)
    4657   echo "THETAP "$zdrange
    4758   echo "PHIP "$azrange
    4859   echo "VIEWCONE 0. "$viewconemax
    49    echo "DIRECT "$outpath
    50    echo "SEED "$seed1" 0 0 "
    51    echo "SEED "$seed2" 0 0 "
    52    echo "SEED "$seed3" 0 0 "
     60   echo "FIXCHI "$startalt
     61   # Observation level, magnetic field, atmosphere
    5362   echo "OBSLEV 2200.E2"
     63   # From www.noaa.gov/geomagmodels roughly for January 2009. (was 29.5 and 23.0)
     64   echo "MAGNET 30.3 24.1"
     65   # Atmosphere
     66   echo "ATMOSPHERE 11 T"
     67   # Other parameters
    5468   echo "RADNKG 200.E2"
    55    echo "MAGNET 29.5 23.0"
    5669   echo "ECUTS 0.3 0.3 0.02 0.02"
    57    echo "MUADDI F"
    58    echo "MUMULT T"
    59    echo "LONGI T 10. T F"
    60    echo "MAXPRT 0"
    6170   echo "ECTMAP 1.E4"
    6271   echo "STEPFC 0.1"
    63    echo "DEBUG F 6 F 1000000"
     72   # Don't add muon particle data to output
     73   echo "MUADDI F"
     74   # Enable muon multiple scattering
     75   echo "MUMULT T"
     76   # Cherenkov telescope options
    6477   echo "CWAVLG 290. 600."
    6578   echo "CSCAT "$reuse" 0. "$impactmax
    6679   echo "CERSIZ 1."
    6780   echo "CERFIL T"
    68    echo "FIXCHI "$startalt
    69    echo "DATBAS F"
    7081   echo "CERTEL 1"
    7182   echo " 0. 0. 0. 0. 0. "$diameter" 1700."
     83   # How the longitudinal shower development is sampled
     84   # echo "LONGI T 10. T F"
     85   echo "LONGI F 20 0 F F"
     86   # Maximum number of detailed particles to print
     87   echo "MAXPRT 0"
     88   # Suppress file with partciles reaching ground (DATnnnnnn)
     89   echo "PAROUT F F"
     90   # Don't write a database file
     91   echo "DATBAS F"
     92   # Switch off all debugging output
     93   echo "DEBUG F 6 F 1000000"
     94   # Output path
     95   echo "DIRECT "$outpath
     96   # User and host (for convinience)
    7297   echo "USER "`whoami`
    73    echo "ATMOSPHERE 11 T"
     98   echo "HOST "`hostname`
     99   # End of input card
    74100   echo "EXIT"
    75101}
     
    111137query="SELECT fZenithDistanceMin, fZenithDistanceMax FROM MCCorsikaRunData where fCorsikaRunNumber="$corsikarunno
    112138zdrange=`sendquery`
     139# Change from the MARS definition (Az=90 -> East) to Corsika (Az=90 -> West)
    113140query="SELECT 180-fAzimuthMin, 180-fAzimuthMax FROM MCCorsikaRunData where fCorsikaRunNumber="$corsikarunno
    114141azrange=`sendquery`
Note: See TracChangeset for help on using the changeset viewer.