Line | |
---|
1 | #ifndef MARS_MPedestalSubtract
|
---|
2 | #define MARS_MPedestalSubtract
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MRawEvtData;
|
---|
9 | class MPedestalCam;
|
---|
10 | class MPedestalSubtractedEvt;
|
---|
11 |
|
---|
12 | class MPedestalSubtract : public MTask
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | static const TString fgNamePedestalCam; //! "MPedestalCam"
|
---|
16 | static const TString fgNamePedestalSubtractedEvt; //! "MPedestalSubtractedEvt"
|
---|
17 |
|
---|
18 | MRawEvtData *fRawEvt; //! Input Raw data
|
---|
19 | MPedestalCam *fPedestals; //! Pedestals of all pixels in the camera
|
---|
20 | MPedestalSubtractedEvt *fSignal; //! Output container
|
---|
21 |
|
---|
22 | TString fNamePedestalCam; // Name of the 'MPedestalCam' container
|
---|
23 | TString fNamePedestalSubtractedEvt; // Name of the 'MPedestalSubtractedEvt' container
|
---|
24 |
|
---|
25 | Int_t PreProcess(MParList *pList);
|
---|
26 | Int_t Process();
|
---|
27 |
|
---|
28 | public:
|
---|
29 | MPedestalSubtract(const char *name=NULL, const char *title=NULL);
|
---|
30 |
|
---|
31 | void SetPedestalCam(MPedestalCam *pedcam) { fPedestals = pedcam; }
|
---|
32 | void SetNamePedestalCam(const char *name=fgNamePedestalCam.Data()) { fNamePedestalCam = name; }
|
---|
33 |
|
---|
34 | void SetNamePedestalSubtractedEvt(const char *name=fgNamePedestalSubtractedEvt.Data()) { fNamePedestalSubtractedEvt = name; }
|
---|
35 |
|
---|
36 | ClassDef(MPedestalSubtract, 0) // Class to subtract pedestal including AB-noise
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.