Last change
on this file since 2389 was 2361, checked in by cecile, 22 years ago |
nouveaux tuyaux de ring : theta, phi puis Nsamples mesures
|
File size:
994 bytes
|
Rev | Line | |
---|
[2352] | 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
|
---|
[2361] | 7 | // $Id: ring2cout.h,v 1.3 2003-04-17 13:47:34 cecile Exp $
|
---|
[2352] | 8 |
|
---|
| 9 | #ifndef TOI2RING_H
|
---|
| 10 | #define TOI2RING_H
|
---|
| 11 |
|
---|
| 12 | #include "toiprocessor.h"
|
---|
| 13 | #include "flagtoidef.h"
|
---|
| 14 |
|
---|
[2354] | 15 | //-- Un lecteur de RING
|
---|
[2352] | 16 |
|
---|
| 17 | class Ring2cout : public TOIProcessor {
|
---|
| 18 | public:
|
---|
[2361] | 19 | Ring2cout(long ns,long nr);
|
---|
[2352] | 20 | virtual ~Ring2cout();
|
---|
| 21 |
|
---|
[2354] | 22 | inline void setNSamples( long n=1024)
|
---|
| 23 | {Nsamples = n;}
|
---|
[2352] | 24 |
|
---|
[2361] | 25 | inline void setNRings( long n=1)
|
---|
| 26 | {Nrings = n;}
|
---|
| 27 |
|
---|
[2352] | 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; }
|
---|
[2361] | 36 | inline long ProcessedRingCount() const { return Nrings; }
|
---|
[2352] | 37 |
|
---|
| 38 | protected:
|
---|
| 39 | long Nsamples;
|
---|
| 40 | long totnscount;
|
---|
[2361] | 41 | long Nrings;
|
---|
[2352] | 42 |
|
---|
| 43 | };
|
---|
| 44 |
|
---|
| 45 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.