source: trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.h@ 3361

Last change on this file since 3361 was 3322, checked in by gaug, 21 years ago
*** empty log message ***
File size: 2.0 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;
19class MRawEvtPixelIter;
20class MPedestalCam;
21class MExtractedSignalBlindPixel;
22class MExtractBlindPixel : public MTask
23{
24private:
25
26 static const Int_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 MPedestalCam *fPedestals; // pointer to the pedestal information
36
37 Byte_t fFirst;
38 Byte_t fLast;
39 Byte_t fNumSamples;
40 Float_t fSqrtSamples;
41 Byte_t fSaturationLimit;
42
43 Int_t fBlindPixelIdx;
44 Int_t PreProcess(MParList *pList);
45 Int_t Process();
46 Int_t PostProcess();
47 void StreamPrimitive(ofstream &out) const;
48
49public:
50
51 MExtractBlindPixel(const char *name=NULL, const char *title=NULL);
52
53 // Setters
54 void SetRange(const Byte_t first=fgFirst, const Byte_t last=fgLast);
55 void SetSaturationLimit(const Byte_t lim=fgSaturationLimit) { fSaturationLimit = lim; }
56 void SetBlindPixelIdx( const Int_t idx=fgBlindPixelIdx ) { fBlindPixelIdx = idx; }
57
58 ClassDef(MExtractBlindPixel, 0) // Task to fill the Extracted BlindPixel Containers from raw data
59};
60
61#endif
62
Note: See TracBrowser for help on using the repository browser.