source: trunk/MagicSoft/Simulation/Detector/Starfield/convertcorsika.h@ 341

Last change on this file since 341 was 341, checked in by petry, 25 years ago
First version of the Starfield Generator in this repository. Fully functional version using the SKY2000 star catalog.
File size: 557 bytes
Line 
1// include files
2
3#ifndef _CONVERTCORSIKA_H_
4#define _CONVERTCORSIKA_H_
5
6#include <string.h>
7
8#include "photon.hxx"
9//#include "getphotons.h"
10
11//include classes for corsika filling events from reflector mc
12
13
14#include "COREventHeader.hxx"
15#include "CORParticle.hxx"
16#include "CORStatfile.hxx"
17
18
19//File definition
20
21const char CORSIKA_FILE[15] = "cer999";
22const char STAT_FILE[15]= "sta999";
23
24
25#ifndef PI
26#define PI 3.1415927
27#endif
28
29//Function definition
30int convertcorsika(int id, int photnum, photon phot[], float inttime_s, int verbose);
31
32#endif
33
34
35
36
37
38
39
40
41
42
Note: See TracBrowser for help on using the repository browser.