source: Sophya/trunk/Poubelle/archTOI.old/toillsstproducer.h@ 534

Last change on this file since 534 was 534, checked in by ansari, 26 years ago

V2

File size: 777 bytes
Line 
1// toillsstproducer.h
2// Eric Aubourg CEA/DAPNIA/SPP octobre 1999
3
4#ifndef TOILLSSTPRODUCER_H
5#define TOILLSSTPRODUCER_H
6
7#include "toiproducer.h"
8#include "ark.h"
9
10class SSTDataProcessor {
11public:
12 virtual void dataFeed(long sampleNum, int* diodeSignal)=0; // signal for 46 diodes...
13};
14
15class TOILLSSTProducer : public TOILowLevProducer {
16public:
17 TOILLSSTProducer();
18 void handleBlock(ArchFileSet*); // push !
19
20 void registerProcessor(SSTDataProcessor*);
21 virtual string getName();
22
23protected:
24 static int diodpermut[46]; // diodpermut[i] = channel de la diode i
25 vector<SSTDataProcessor*> processors;
26
27 void DecodeTMBlock(block_type_sst* blk, int i, int* diod);
28 double getSSTRawSignalCN(ArchFileSet* fs, int ichannel, int imesure);
29};
30
31
32
33
34
35#endif
Note: See TracBrowser for help on using the repository browser.