source: trunk/MagicSoft/Mars/mcalib/MExtractBlindPixel.h@ 3198

Last change on this file since 3198 was 3198, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MExtractBlindPixel
2#define MARS_MExtractBlindPixel
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MExtractBlindPixel //
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 MExtractedSignalBlindPixel;
22class MExtractBlindPixel : public MTask
23{
24private:
25
26 static const UInt_t fgBlindPixelIdx;
27 static const Byte_t fgSaturationLimit;
28 static const Byte_t fgFirst;
29 static const Byte_t fgLast;
30
31 MExtractedSignalBlindPixel *fBlindPixel; // Extracted signal of the Blind Pixel
32
33 MRawEvtData *fRawEvt; // raw event data (time slices)
34 MRawRunHeader *fRunHeader; // RunHeader information
35
36 Byte_t fFirst;
37 Byte_t fLast;
38 Byte_t fNumSamples;
39 Float_t fSqrtSamples;
40 Byte_t fSaturationLimit;
41
42 UInt_t fBlindPixelIdx;
43
44 Int_t PreProcess(MParList *pList);
45 Int_t Process();
46 void StreamPrimitive(ofstream &out) const;
47
48public:
49
50 MExtractBlindPixel(const char *name=NULL, const char *title=NULL);
51
52 // Setters
53 void SetRange(const Byte_t first=fgFirst, const Byte_t last=fgLast);
54 void SetSaturationLimit(const Byte_t lim=fgSaturationLimit) { fSaturationLimit = lim; }
55 void SetBlindPixelIdx( const UInt_t idx=fgBlindPixelIdx ) { fBlindPixelIdx = idx; }
56
57 ClassDef(MExtractBlindPixel, 0) // Task to fill the Extracted BlindPixel Containers from raw data
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.