source: trunk/MagicSoft/Mars/manalysis/MExtractSignal.h@ 2640

Last change on this file since 2640 was 2640, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.8 KB
Line 
1#ifndef MARS_MExtractSignal
2#define MARS_MExtractSignal
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MExtractSignal //
7// //
8// Integrates the time slices of the all pixels of a calibration event //
9// and substract the pedestal value //
10// //
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef MARS_MTask
14#include "MTask.h"
15#endif
16
17class MRawEvtData;
18class MRawRunHeader;
19
20class MPedestalCam;
21class MExtractedSignalCam;
22
23class MExtractSignal : public MTask
24{
25private:
26
27 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera
28 MExtractedSignalCam *fSignals; // Extracted signal of all pixels in the camera
29
30 MRawEvtData *fRawEvt; // raw event data (time slices)
31 MRawRunHeader *fRunHeader; // RunHeader information
32
33 Byte_t fNumHiGainSamples;
34 Byte_t fNumLoGainSamples;
35
36 Float_t fSqrtHiGainSamples;
37 Float_t fSqrtLoGainSamples;
38
39 Byte_t fBefore;
40 Byte_t fAfter;
41
42 Byte_t fSaturationLimit;
43 Float_t fConversionHiLo;
44
45 Bool_t ReInit(MParList *pList);
46 Int_t PreProcess(MParList *pList);
47 Int_t Process();
48 Int_t PostProcess();
49
50public:
51
52 MExtractSignal(const char *name=NULL, const char *title=NULL);
53
54 void SetSaturationLimit(Byte_t lim) { fSaturationLimit = lim; }
55 void SetConversionHiLo(Float_t con) { fConversionHiLo = con; }
56
57 ClassDef(MExtractSignal, 0) // Task to fill the Extracted Signal Containers from raw data
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.