source: fact/tools/rootmacros/openFits.h@ 15370

Last change on this file since 15370 was 13535, checked in by neise, 13 years ago
Makefile works
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#ifndef __OPENFITS__H
2#define __OPENFITS__H
3
4#include "fits.h"
5
6#include <cstdio>
7#include "stdint.h"
8#include <vector>
9
10size_t openDataFits(
11 const char *datafilename, // path to fits file containing FACT raw data
12 std::fits * * datafile, // ptr to pointer, where to return the fits object
13 std::vector<int16_t> &Data, // vector, which will be filled with raw data
14 std::vector<int16_t> &StartCells, // vector, which will be filled with DRS start positions
15 unsigned int &EventID, // index of the current event
16 unsigned int &RegionOfInterest, // Width of the Region, read out of the DRS
17 unsigned int &NumberOfPixels, // Total number of pixel, read out of the camera
18 size_t &PXLxROI, // Size of column "Data" = #Pixel x ROI
19 // this can be used, to x-check RegionOfInterest and NumberOfPixels
20 int VerbosityLevel = 1 //
21);
22
23size_t openCalibFits(
24 const char *FileName, // path to fits file
25 std::vector<float> &Offset,
26 std::vector<float> &Gain,
27 std::vector<float> &TriggerOffset,
28 size_t &TriggerOffsetROI,
29 int VerbosityLevel =0
30);
31
32
33#endif //__OPENFITS__H
Note: See TracBrowser for help on using the repository browser.