Line | |
---|
1 | #ifndef FACT_DataWriteFits
|
---|
2 | #define FACT_DataWriteFits
|
---|
3 |
|
---|
4 | #include "DataProcessorImp.h"
|
---|
5 | #include "FitsFile.h"
|
---|
6 |
|
---|
7 | class Converter;
|
---|
8 |
|
---|
9 | class DataWriteFits : public DataProcessorImp
|
---|
10 | {
|
---|
11 | Converter *fConv;
|
---|
12 |
|
---|
13 | FitsFile fFile;
|
---|
14 |
|
---|
15 | template <typename T>
|
---|
16 | void WriteKey(const string &name, const int idx, const T &value, const string &comment);
|
---|
17 |
|
---|
18 | bool WriteFooter(RUN_TAIL *rt);
|
---|
19 |
|
---|
20 | public:
|
---|
21 | DataWriteFits(uint32_t runid, MessageImp &imp) :
|
---|
22 | DataProcessorImp(runid, imp), fConv(0), fFile(imp)
|
---|
23 | {
|
---|
24 | }
|
---|
25 |
|
---|
26 | ~DataWriteFits();
|
---|
27 |
|
---|
28 | bool Open(RUN_HEAD* h);
|
---|
29 | bool WriteEvt(EVENT *e);
|
---|
30 | bool Close(RUN_TAIL *rt = 0);
|
---|
31 | };
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.