| 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 |  | 
|---|
| 10 | class SSTDataProcessor { | 
|---|
| 11 | public: | 
|---|
| 12 | virtual void dataFeed(long sampleNum, int* diodeSignal)=0; // signal for 46 diodes... | 
|---|
| 13 | }; | 
|---|
| 14 |  | 
|---|
| 15 | class TOILLSSTProducer : public TOILowLevProducer { | 
|---|
| 16 | public: | 
|---|
| 17 | TOILLSSTProducer(); | 
|---|
| 18 | void handleBlock(ArchFileSet*); // push ! | 
|---|
| 19 |  | 
|---|
| 20 | void registerProcessor(SSTDataProcessor*); | 
|---|
| 21 | virtual string getName(); | 
|---|
| 22 |  | 
|---|
| 23 | protected: | 
|---|
| 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.