source: trunk/MagicSoft/Mars/mjobs/MJExtractSignal.h@ 3030

Last change on this file since 3030 was 2992, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MJExtractSignal
2#define MARS_MJExtractSignal
3
4#ifndef MARS_MPedPhotCam
5#include "MPedPhotCam.h"
6#endif
7
8class TCanvas;
9class MHCamera;
10class MCamEvent;
11class MRunIter;
12class MParList;
13class MPedestalCam;
14class MCalibrationCam;
15
16class MJExtractSignal : public MParContainer
17{
18private:
19 TString fOutputPath;
20
21 MRunIter *fRuns;
22
23 MPedPhotCam fPedPhotCam;
24
25 void DisplayResult(MParList &plist);
26 Bool_t WriteResult();
27
28 Bool_t ReadPedPhotCam();
29
30 Bool_t ProcessFileD(MPedestalCam &pedcam);
31 Bool_t ProcessFileP(MPedestalCam &pedcam, MCalibrationCam &calcam);
32
33public:
34 MJExtractSignal(const char *name=NULL, const char *title=NULL);
35
36 void SetInput(MRunIter *iter) { fRuns = iter; }
37 void SetOutputPath(const char *path=".");
38
39 TString GetOutputFileP() const;
40 TString GetOutputFileD() const;
41
42 Bool_t ProcessD(MPedestalCam &pedcam);
43 Bool_t ProcessP(MPedestalCam &pedcam, MCalibrationCam &calcam);
44
45 const MPedPhotCam &GetPedPhotCam() const { return fPedPhotCam; }
46
47 ClassDef(MJExtractSignal, 0) // Tool to create a pedestal file (MPedestalCam)
48};
49
50#endif
Note: See TracBrowser for help on using the repository browser.