| Last change
 on this file since 2863 was             2361, checked in by cecile, 23 years ago | 
        
          | 
nouveaux tuyaux de ring : theta, phi puis Nsamples mesures
 | 
        
          | File size:
            994 bytes | 
      
      
| Line |  | 
|---|
| 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
| 2 |  | 
|---|
| 3 | // ArchTOIPipe           (C)     CEA/DAPNIA/SPP IN2P3/LAL | 
|---|
| 4 | //                               Eric Aubourg | 
|---|
| 5 | //                               Christophe Magneville | 
|---|
| 6 | //                               Reza Ansari | 
|---|
| 7 | // $Id: ring2cout.h,v 1.3 2003-04-17 13:47:34 cecile Exp $ | 
|---|
| 8 |  | 
|---|
| 9 | #ifndef TOI2RING_H | 
|---|
| 10 | #define TOI2RING_H | 
|---|
| 11 |  | 
|---|
| 12 | #include "toiprocessor.h" | 
|---|
| 13 | #include "flagtoidef.h" | 
|---|
| 14 |  | 
|---|
| 15 | //-- Un lecteur de RING | 
|---|
| 16 |  | 
|---|
| 17 | class Ring2cout : public TOIProcessor { | 
|---|
| 18 | public: | 
|---|
| 19 | Ring2cout(long ns,long nr); | 
|---|
| 20 | virtual       ~Ring2cout(); | 
|---|
| 21 |  | 
|---|
| 22 | inline void setNSamples( long n=1024) | 
|---|
| 23 | {Nsamples = n;} | 
|---|
| 24 |  | 
|---|
| 25 | inline void setNRings( long n=1) | 
|---|
| 26 | {Nrings = n;} | 
|---|
| 27 |  | 
|---|
| 28 | virtual void  init(void); | 
|---|
| 29 | virtual void  run(void); | 
|---|
| 30 |  | 
|---|
| 31 |  | 
|---|
| 32 |  | 
|---|
| 33 | // Print | 
|---|
| 34 | void Print(::ostream & os); | 
|---|
| 35 | inline long   ProcessedSampleCount() const { return totnscount; } | 
|---|
| 36 | inline long   ProcessedRingCount() const { return Nrings; } | 
|---|
| 37 |  | 
|---|
| 38 | protected: | 
|---|
| 39 | long Nsamples; | 
|---|
| 40 | long totnscount; | 
|---|
| 41 | long Nrings; | 
|---|
| 42 |  | 
|---|
| 43 | }; | 
|---|
| 44 |  | 
|---|
| 45 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.