Last change
on this file since 1439 was 1437, checked in by ansari, 25 years ago |
Protections diverses dans TOIProcessor et FITSTOIReader/Writer
Ajout d'un TOI (TOISeqBuffered) avec gestion d'un buffer entre put/get
Ajout de processeurs de test (RZTOIProc...) , programme test associe
et SMakefile (pour compil avec SOPHYA)
Reza 12/3/2001
|
File size:
638 bytes
|
Rev | Line | |
---|
[1437] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 |
|
---|
| 3 | #ifndef RZTOIPROC_H
|
---|
| 4 | #define RZTOIPROC_H
|
---|
| 5 |
|
---|
| 6 | #include "toiprocessor.h"
|
---|
| 7 |
|
---|
| 8 | class RzTOIProc : public TOIProcessor {
|
---|
| 9 | public:
|
---|
| 10 | RzTOIProc(int w1=4096, int w2=128, int nmax=20);
|
---|
| 11 | inline void setOutPPF(string const & ppfname)
|
---|
| 12 | { outppf = ppfname; }
|
---|
| 13 | virtual void init();
|
---|
| 14 | virtual void run();
|
---|
| 15 |
|
---|
| 16 | protected:
|
---|
| 17 | int _width1;
|
---|
| 18 | int _width2;
|
---|
| 19 | int _nmax;
|
---|
| 20 | string outppf;
|
---|
| 21 | };
|
---|
| 22 |
|
---|
| 23 | class RzSimpleTOIProc : public TOIProcessor {
|
---|
| 24 | public:
|
---|
| 25 | RzSimpleTOIProc(double fact=1.0, int npr=1000);
|
---|
| 26 | virtual void init();
|
---|
| 27 | virtual void run();
|
---|
| 28 |
|
---|
| 29 | protected:
|
---|
| 30 | double _fact;
|
---|
| 31 | int _nprt;
|
---|
| 32 | };
|
---|
| 33 |
|
---|
| 34 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.