#ifndef __OPENFITS__H #define __OPENFITS__H #include "fits.h" #include #include "stdint.h" #include size_t openDataFits( const char *datafilename, // path to fits file containing FACT raw data std::fits * * datafile, // ptr to pointer, where to return the fits object std::vector &Data, // vector, which will be filled with raw data std::vector &StartCells, // vector, which will be filled with DRS start positions unsigned int &EventID, // index of the current event unsigned int &RegionOfInterest, // Width of the Region, read out of the DRS unsigned int &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 = 1 // ); size_t openCalibFits( const char *FileName, // path to fits file std::vector &Offset, std::vector &Gain, std::vector &TriggerOffset, size_t &TriggerOffsetROI, int VerbosityLevel =0 ); #endif //__OPENFITS__H