- Timestamp:
- 01/14/09 13:53:27 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9219 r9220 60 60 * mraw/MRawRunHeader.h: 61 61 - 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 62 70 63 71 -
trunk/MagicSoft/Mars/datacenter/scripts/runcorsika
r9183 r9220 35 35 set -C 36 36 37 export FLUPRO=$corsikapath'/fluka2008_3' 38 37 39 # printing input card to stdout 38 40 function printinputcard() 39 41 { 42 # Run number 40 43 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 41 53 echo "PRMPAR "$primparticle 42 54 echo "ERANGE "$erange 43 echo "EVTNR 1"44 echo "NSHOW "$numevts45 55 echo "ESLOPE "$slope 56 # Simulation range (theta, phi, view cone, starting altitude) 46 57 echo "THETAP "$zdrange 47 58 echo "PHIP "$azrange 48 59 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 53 62 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 54 68 echo "RADNKG 200.E2" 55 echo "MAGNET 29.5 23.0"56 69 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"61 70 echo "ECTMAP 1.E4" 62 71 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 64 77 echo "CWAVLG 290. 600." 65 78 echo "CSCAT "$reuse" 0. "$impactmax 66 79 echo "CERSIZ 1." 67 80 echo "CERFIL T" 68 echo "FIXCHI "$startalt69 echo "DATBAS F"70 81 echo "CERTEL 1" 71 82 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) 72 97 echo "USER "`whoami` 73 echo "ATMOSPHERE 11 T" 98 echo "HOST "`hostname` 99 # End of input card 74 100 echo "EXIT" 75 101 } … … 111 137 query="SELECT fZenithDistanceMin, fZenithDistanceMax FROM MCCorsikaRunData where fCorsikaRunNumber="$corsikarunno 112 138 zdrange=`sendquery` 139 # Change from the MARS definition (Az=90 -> East) to Corsika (Az=90 -> West) 113 140 query="SELECT 180-fAzimuthMin, 180-fAzimuthMax FROM MCCorsikaRunData where fCorsikaRunNumber="$corsikarunno 114 141 azrange=`sendquery`
Note:
See TracChangeset
for help on using the changeset viewer.