#ifndef __FOPENDATAFILE__H #define __FOPENDATAFILE__H #include int FOpenDataFile( fits &datafile, vector &data, vector &data_offset, unsigned int &data_num, size_t &data_n, UInt_t &data_roi, UInt_t &data_px); size_t OpenDataFile( const char *datafilename, // path to fits file containing FACT raw data fits * * datafile, // ptr to pointer, where to return the fits object vector &Data, // vector, which will be filled with raw data vector &StartCells, // vector, which will be filled with DRS start positions unsigned int &EventID, // index of the current event UInt_t &RegionOfInterest, // Width of the Region, read out of the DRS UInt_t &NumberOfPixels, // Total number of pixel, read out of the camera size_t &PXLxROI, // Size of column "Data" = #Pixel x ROI // this can be used, to x-check RegionOfInterest and NumberOfPixels int VerbosityLevel // ); #endif //__FOPENDATAFILE__H