CORSIKA add-on package IACT/ATMO:
Version 1.63 (November 2020)
|
Data Structures | |
struct | camera_electronics |
Parameters of the electronics of a telescope. More... | |
struct | mc_options |
Options of the simulation passed through to low-level functions. More... | |
struct | mc_run |
Basic parameters of the CORSIKA run. More... | |
struct | pm_camera |
Parameters of a telescope camera (pixels, ...) More... | |
struct | simulated_shower_parameters |
Basic parameters of a simulated shower. More... | |
struct | telescope_array |
Description of telescope position, array offets and shower parameters. More... | |
struct | telescope_optics |
Parameters describing the telescope optics. More... | |
Macros | |
#define | MAX_ARRAY 100 |
The largest no. More... | |
#define | MAX_BUNCHES 2500000 |
More... | |
#define | MAX_PHOTOELECTRONS 1000000 /** The largest number of photo-electrons. */ |
#define | MAX_PIXELS 1024 |
The largest no. More... | |
#define | MAX_TEL 16 |
The largest no. More... | |
#define | Nair(hkm) (1.+0.0002814*exp(-0.0947982*(hkm)-0.00134614*(hkm)*(hkm))) |
Refraction index of air as a function of height in km (0km<=h<=8km) | |
Functions | |
double | atmospheric_transmission (int iwl, double zem, double airmass) |
void | atmset_ (int *iatmo, double *obslev) |
Set number of atmospheric model profile to be used. More... | |
double | find_max_pos (double *y, int n) |
double | heigh_ (double *x) |
The CORSIKA built-in function for the height as a function of overburden. More... | |
double | line_point_distance (double x1, double y1, double z1, double cx, double cy, double cz, double x, double y, double z) |
Distance between a straight line and a point in space. More... | |
int | main (int argc, char **argv) |
Main program of Cherenkov telescope simulation. | |
double | RandFlat (void) |
double | rhof_ (double *h) |
The CORSIKA built-in density lookup function. More... | |
double | thick_ (double *h) |
The CORSIKA built-in function for vertical atmospheric thickness (overburden). More... | |
Variables | |
static double | airlightspeed = 29.9792458/1.0002256 |
struct linked_string | corsika_inputs |
#define MAX_ARRAY 100 |
of arrays to be handled
#define MAX_BUNCHES 2500000 |
The largest no. of bunches that can be handled.
#define MAX_PIXELS 1024 |
of pixels per camers
#define MAX_TEL 16 |
of telescopes/array.
void atmset_ | ( | int * | iatmo, |
double * | obslev | ||
) |
The atmospheric model is initialized first before the interpolating functions can be used. For efficiency reasons, the functions rhofx_(), thickx_(), ... don't check if the initialisation was done.
This function is called if the 'ATMOSPHERE' keyword is present in the CORSIKA input file.
The function may be called from CORSIKA to initialize the atmospheric model via 'CALL ATMSET(IATMO,OBSLEV)' or such.
iatmo | (pointer to) atmospheric profile number; negative for CORSIKA built-in profiles. |
obslev | (pointer to) altitude of observation level [cm] |
double heigh_ | ( | double * | thick | ) |
double line_point_distance | ( | double | x1, |
double | y1, | ||
double | z1, | ||
double | cx, | ||
double | cy, | ||
double | cz, | ||
double | x, | ||
double | y, | ||
double | z | ||
) |
x1,y1,z1 | reference point on the line |
cx,cy,cz | direction cosines of the line |
x,y,z | point in space |
double rhof_ | ( | double * | height | ) |
References rhofx_().
double thick_ | ( | double * | height | ) |