source: Sophya/trunk/ArchTOIPipe/ProcWSophya/ring2cout.h@ 2356

Last change on this file since 2356 was 2354, checked in by cecile, 23 years ago

* empty log message *

File size: 921 bytes
RevLine 
[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
[2354]7// $Id: ring2cout.h,v 1.2 2003-03-26 09:48:53 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
17class Ring2cout : public TOIProcessor {
18public:
[2354]19 Ring2cout(long n);
[2352]20 virtual ~Ring2cout();
21
[2354]22 inline void setNSamples( long n=1024)
23 {Nsamples = n;}
[2352]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
35protected:
36 long Nsamples;
37 long totnscount;
38 long nRings;
39
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.