Line | |
---|
1 | #ifndef MARS_MJExtractSignal
|
---|
2 | #define MARS_MJExtractSignal
|
---|
3 |
|
---|
4 | #ifndef MARS_MPedPhotCam
|
---|
5 | #include "MPedPhotCam.h"
|
---|
6 | #endif
|
---|
7 | #ifndef MARS_MBadPixelsCam
|
---|
8 | #include "MBadPixelsCam.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class TCanvas;
|
---|
12 | class MHCamera;
|
---|
13 | class MCamEvent;
|
---|
14 | class MRunIter;
|
---|
15 | class MParList;
|
---|
16 | class MPedestalCam;
|
---|
17 | class MCalibrationChargeCam;
|
---|
18 |
|
---|
19 | class MJExtractSignal : public MParContainer
|
---|
20 | {
|
---|
21 | private:
|
---|
22 | TString fOutputPath;
|
---|
23 |
|
---|
24 | MRunIter *fRuns;
|
---|
25 |
|
---|
26 | MPedPhotCam fPedPhotCam;
|
---|
27 | MBadPixelsCam fBadPixels;
|
---|
28 |
|
---|
29 | void DisplayResult(MParList &plist);
|
---|
30 | Bool_t WriteResult();
|
---|
31 |
|
---|
32 | Bool_t ReadPedPhotCam();
|
---|
33 |
|
---|
34 | Bool_t ProcessFileD(MPedestalCam &pedcam);
|
---|
35 | Bool_t ProcessFileP(MPedestalCam &pedcam, MCalibrationChargeCam &calcam);
|
---|
36 |
|
---|
37 | public:
|
---|
38 | MJExtractSignal(const char *name=NULL, const char *title=NULL);
|
---|
39 |
|
---|
40 | void SetInput(MRunIter *iter) { fRuns = iter; }
|
---|
41 | void SetOutputPath(const char *path=".");
|
---|
42 |
|
---|
43 | TString GetOutputFileP() const;
|
---|
44 | TString GetOutputFileD() const;
|
---|
45 |
|
---|
46 | const MPedPhotCam &GetPedPhotCam() const { return fPedPhotCam; }
|
---|
47 | const MBadPixelsCam &GetBadPixels() const { return fBadPixels; }
|
---|
48 |
|
---|
49 | void SetBadPixels(MBadPixelsCam &bad) { bad.Copy(fBadPixels); }
|
---|
50 |
|
---|
51 | Bool_t ProcessD(MPedestalCam &pedcam);
|
---|
52 | Bool_t ProcessP(MPedestalCam &pedcam, MCalibrationChargeCam &calcam);
|
---|
53 |
|
---|
54 | ClassDef(MJExtractSignal, 0) // Tool to create a pedestal file (MPedestalCam)
|
---|
55 | };
|
---|
56 |
|
---|
57 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.