Changeset 3645 in Sophya for trunk/AddOn/TAcq/brproc.h
- Timestamp:
- Jun 1, 2009, 10:24:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brproc.h
r3640 r3645 25 25 class BRProcARaw2C : public ZThread { 26 26 public: 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); 29 29 virtual void run(); 30 30 void Stop(); … … 34 34 bool stop_; 35 35 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 //--------------------------------------------------------------------- 45 class BRProcBRaw4C : public ZThread { 46 public: 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; } 52 protected: 53 RAcqMemZoneMgr& memgr1; 54 RAcqMemZoneMgr& memgr2; 55 bool stop_; 56 uint_4 nmax_; // Nombre maxi de blocs MemZone traites 37 57 uint_4 nmean_; // Nombre de blocs pour le calcul des moyennes 38 58 string path_; … … 41 61 42 62 63 43 64 #endif
Note:
See TracChangeset
for help on using the changeset viewer.