// This may look like C code, but it is really -*- C++ -*- // ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL // Eric Aubourg // Christophe Magneville // Reza Ansari // $Id: ring2cout.h,v 1.2 2003-03-26 09:48:53 cecile Exp $ #ifndef TOI2RING_H #define TOI2RING_H #include "toiprocessor.h" #include "flagtoidef.h" //-- Un lecteur de RING class Ring2cout : public TOIProcessor { public: Ring2cout(long n); virtual ~Ring2cout(); inline void setNSamples( long n=1024) {Nsamples = n;} virtual void init(void); virtual void run(void); // Print void Print(::ostream & os); inline long ProcessedSampleCount() const { return totnscount; } inline long ProcessedRingCount() const { return nRings; } protected: long Nsamples; long totnscount; long nRings; }; #endif