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.2 2003-03-26 09:48:53 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 n);
|
---|
20 | virtual ~Ring2cout();
|
---|
21 |
|
---|
22 | inline void setNSamples( long n=1024)
|
---|
23 | {Nsamples = n;}
|
---|
24 |
|
---|
25 | virtual void init(void);
|
---|
26 | virtual void run(void);
|
---|
27 |
|
---|
28 |
|
---|
29 |
|
---|
30 | // Print
|
---|
31 | void Print(::ostream & os);
|
---|
32 | inline long ProcessedSampleCount() const { return totnscount; }
|
---|
33 | inline long ProcessedRingCount() const { return nRings; }
|
---|
34 |
|
---|
35 | protected:
|
---|
36 | long Nsamples;
|
---|
37 | long totnscount;
|
---|
38 | long nRings;
|
---|
39 |
|
---|
40 | };
|
---|
41 |
|
---|
42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.