source: trunk/Mars/msignal/MTreatSaturation.h@ 17859

Last change on this file since 17859 was 17858, checked in by tbretz, 11 years ago
First version of a class to treat saturating samples... still very preliminary and with debug output.
File size: 657 bytes
Line 
1#ifndef MARS_MTreatSaturation
2#define MARS_MTreatSaturation
3
4#ifndef MARS_MArrayF
5#include "MArrayF.h"
6#endif
7#ifndef MARS_MTask
8#include "MTask.h"
9#endif
10
11class MRawEvtData;
12class MPedestalSubtractedEvt;
13
14class MTreatSaturation : public MTask
15{
16private:
17 MRawEvtData *fRaw;
18 MPedestalSubtractedEvt *fEvt;
19
20 MArrayF fDev1;
21 MArrayF fDev2;
22
23 Int_t PreProcess(MParList *pList);
24 Int_t Process();
25
26public:
27 MTreatSaturation(const char *name=NULL, const char *title=NULL);
28
29 // For MExtractPedestal
30 Bool_t ReInit(MParList *pList);
31
32 ClassDef(MTreatSaturation, 0) // Replace saturating samples with pulse
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.