// include files

#ifndef _CONVERTCORSIKA_H_
#define _CONVERTCORSIKA_H_

#include <string.h>

#include "photon.hxx"
//#include "getphotons.h"

//include classes for corsika filling events from reflector mc


#include "COREventHeader.hxx"
#include "CORParticle.hxx"
#include "CORStatfile.hxx"


//File definition

const char CORSIKA_FILE[15] = "cer999";
const char STAT_FILE[15]= "sta999";


#ifndef PI
#define PI 3.1415927
#endif

//Function definition
int convertcorsika(int id, int photnum, photon phot[], float inttime_s, int verbose, char output_name[]);

#endif










