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