source: trunk/MagicSoft/Mars/mpedestal/MPedestalSubtract.h@ 8405

Last change on this file since 8405 was 8154, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MPedestalSubtract
2#define MARS_MPedestalSubtract
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MRawEvtData;
9class MPedestalCam;
10class MPedestalSubtractedEvt;
11
12class MPedestalSubtract : public MTask
13{
14private:
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
28public:
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.