Last change
on this file since 1442 was 1442, checked in by ansari, 25 years ago |
Ajout de processeurs simples - Deglitcher + Filtre, + programme test - Reza 15/3/2001
|
File size:
637 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:
|
---|
[1442] | 25 | RzSimpleTOIProc(int wsz=1024, double fact=1.0);
|
---|
[1437] | 26 | virtual void init();
|
---|
| 27 | virtual void run();
|
---|
| 28 |
|
---|
| 29 | protected:
|
---|
| 30 | double _fact;
|
---|
[1442] | 31 | int _wsz;
|
---|
[1437] | 32 | };
|
---|
| 33 |
|
---|
| 34 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.