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 | void Memcpy(void *sample, void *ptr, Int_t cnt) const;
|
---|
29 |
|
---|
30 | public:
|
---|
31 | MPedestalSubtract(const char *name=NULL, const char *title=NULL);
|
---|
32 |
|
---|
33 | void SetPedestalCam(MPedestalCam *pedcam) { fPedestals = pedcam; }
|
---|
34 | void SetNamePedestalCam(const char *name=fgNamePedestalCam.Data()) { fNamePedestalCam = name; }
|
---|
35 |
|
---|
36 | void SetNamePedestalSubtractedEvt(const char *name=fgNamePedestalSubtractedEvt.Data()) { fNamePedestalSubtractedEvt = name; }
|
---|
37 |
|
---|
38 | ClassDef(MPedestalSubtract, 0) // Class to subtract pedestal including AB-noise
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.