| Rev | Line |   | 
|---|
| [1437] | 1 | // This may look like C code, but it is really -*- C++ -*-
 | 
|---|
 | 2 | 
 | 
|---|
| [1738] | 3 | // ArchTOIPipe           (C)     CEA/DAPNIA/SPP IN2P3/LAL
 | 
|---|
 | 4 | //                               Eric Aubourg
 | 
|---|
 | 5 | //                               Christophe Magneville
 | 
|---|
 | 6 | //                               Reza Ansari
 | 
|---|
 | 7 | // $Id: rztoi.h,v 1.3 2001-11-08 15:47:45 aubourg Exp $
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | 
 | 
|---|
| [1437] | 10 | #ifndef RZTOIPROC_H
 | 
|---|
 | 11 | #define RZTOIPROC_H
 | 
|---|
 | 12 | 
 | 
|---|
 | 13 | #include "toiprocessor.h"
 | 
|---|
 | 14 | 
 | 
|---|
 | 15 | class RzTOIProc : public TOIProcessor {
 | 
|---|
 | 16 | public:
 | 
|---|
 | 17 |   RzTOIProc(int w1=4096, int w2=128, int nmax=20);
 | 
|---|
 | 18 |   inline void setOutPPF(string const & ppfname) 
 | 
|---|
 | 19 |               { outppf = ppfname; }
 | 
|---|
 | 20 |   virtual void init();  
 | 
|---|
 | 21 |   virtual void run();
 | 
|---|
 | 22 | 
 | 
|---|
 | 23 | protected:
 | 
|---|
 | 24 |   int _width1;
 | 
|---|
 | 25 |   int _width2;
 | 
|---|
 | 26 |   int _nmax;
 | 
|---|
 | 27 |   string outppf;
 | 
|---|
 | 28 | };
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | class RzSimpleTOIProc : public TOIProcessor {
 | 
|---|
 | 31 | public:
 | 
|---|
| [1442] | 32 |   RzSimpleTOIProc(int wsz=1024, double fact=1.0);
 | 
|---|
| [1437] | 33 |   virtual void init();  
 | 
|---|
 | 34 |   virtual void run();
 | 
|---|
 | 35 | 
 | 
|---|
 | 36 | protected:
 | 
|---|
 | 37 |   double _fact;
 | 
|---|
| [1442] | 38 |   int _wsz;
 | 
|---|
| [1437] | 39 | };
 | 
|---|
 | 40 | 
 | 
|---|
 | 41 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.