#ifndef __OPENFITS__H #define __OPENFITS__H #include size_t openDataFits( 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 = 1 // ); size_t openCalibFits( const char *FileName, // path to fits file vector &Offset, vector &Gain, vector &TriggerOffset, size_t &TriggerOffsetROI, int VerbosityLevel =0 ); #endif //__OPENFITS__H