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