Changeset 3645 in Sophya for trunk/AddOn/TAcq/brproc.h


Ignore:
Timestamp:
Jun 1, 2009, 10:24:41 PM (16 years ago)
Author:
ansari
Message:

Traitement 4 canaux ds brproc.cc, mcrd.cc , mais il reste des problemes - Reza 01/06/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/brproc.h

    r3640 r3645  
    2525class BRProcARaw2C : public ZThread {
    2626public:
    27   BRProcARaw2C(RAcqMemZoneMgr& mem, string& path, uint_4 nmean=1,
    28                uint_4 step=1, uint_4 nmax=100, bool fgnotrl=false);
     27  BRProcARaw2C(RAcqMemZoneMgr& mem, string& path, uint_4 nmean=10,
     28               uint_4 nmax=100, bool fgnotrl=false, int card=1);
    2929  virtual void run();
    3030  void Stop();
     
    3434  bool stop_; 
    3535  uint_4 nmax_;  // Nombre maxi de blocs MemZone traites
    36   uint_4 step_;  // 1/step_ frame traite ds chaque bloc
     36  uint_4 nmean_;  // Nombre de blocs pour le calcul des moyennes
     37  string path_; 
     38  bool fgnotrl_;   // if true, don't check packet trailer - when using pre-june fits files
     39  int card_;   // Numeros de voies 2*card_-1, 2*card_
     40};
     41
     42//---------------------------------------------------------------------
     43// Classe thread de traitement 2 x 2 voies/frames (Apres BRProcARaw2C)
     44//---------------------------------------------------------------------
     45class BRProcBRaw4C : public ZThread {
     46public:
     47  BRProcBRaw4C(RAcqMemZoneMgr& mem1, RAcqMemZoneMgr& mem2, string& path,
     48               uint_4 nmean=10, uint_4 nmax=100, bool fgnotrl=false);
     49  virtual void run();
     50  void Stop();
     51  inline void STOP() { stop_ = true; } 
     52protected:
     53  RAcqMemZoneMgr& memgr1;
     54  RAcqMemZoneMgr& memgr2;
     55  bool stop_; 
     56  uint_4 nmax_;  // Nombre maxi de blocs MemZone traites
    3757  uint_4 nmean_;  // Nombre de blocs pour le calcul des moyennes
    3858  string path_; 
     
    4161
    4262
     63
    4364#endif
Note: See TracChangeset for help on using the changeset viewer.