Grinnell-ISU Simulation Package

How to do everything in the instruction typing mode?

The simulation of an Air-Cherenkov Experiment can be subdivided in three steps:

-Simulating the Cherenkov light arriving on the detector.

-Simulating the response of the detector to the Cherenkov light. The output should look exactly the same as real data.

-Analyzing the simulated detector output as well as analyzing real data.

This operation involves two programs: The kascade program simulates the development of the shower and the cherenkf7 program simulates the Cherenkov light produced by the shower and drops the photons on the telescope. Note that all versions of kascade have the same "kascade" executable code name.

In order to start the shower simulation type:

The program kascade will then read by default, kascade.pilot, which contains the number of showers to be simulated, the energy spectrum and other things (see our kascade section). The output of kascade consists of particle track records. The output is made directly on the standard output or to a file (see kascade.pilot).

Should you wish to use a kascade.pilot file with a different name, you may enter this name on the kascade command line:

      Simulation/Shower/kascade   <new pilot filename>

A problem that often occurs is that the program attempts to create an output file, such as a log file or a segment file, which already exists. In such case, you have to move the file or change the file name you want to use for the output and then rerun kascade.

Then you may want to generate the Cherenkov light that these shower are producing over the detector. Stay in /GrISU and edit the file cherenkov.pilot which controls the operation of cherenkf7. For help on this pilot file look at our cherenkf section. The you can type

Simulation/Cherenk/cherenkf7 < Dump/myshowers.seg

 or if you prefer to avoid generating the particles tracks segments file just type:

Once again, you may use a pilot file with a name different from cherenkov.pilot by placing this name on the cherenkf7 command line.

cherenkf7 will then read the particle track segments and write the Cherenkov photons in the output file specified in cherenkov.pilot (or the file specified on the command line). The output from cherenkf7 overwrites existing files.

Once again, you may use a pilot file with a name different from detector.pilot by placing this name on the above grisudet command line.

Once again, you may use a pilot file with a name different from analysis.pilot by placing this name on the above analysis command line. 

The number of photons, the radius over which the photons will arrive on the ground (the telescope is assumed to be centered on 0,0) or on the camera, and other parameters are specified in the pilot file, make_photons.pilot. For further documentation on make_photons, see the make_photons documentation; use the Utilities documentation link.

The file can be read by grisudet,possibly with the option * OPTIC activated in detector.pilot and pointing to a file Data/TestOptics/mytest.opt which can be explored from PAW using optics.kumac.