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 | class MCalibrationQECam;
|
---|
19 |
|
---|
20 | class MJExtractSignal : public MParContainer
|
---|
21 | {
|
---|
22 | private:
|
---|
23 | TString fOutputPath;
|
---|
24 |
|
---|
25 | MRunIter *fRuns;
|
---|
26 |
|
---|
27 | MPedPhotCam fPedPhotCam;
|
---|
28 | MBadPixelsCam fBadPixels;
|
---|
29 |
|
---|
30 | void DisplayResult(MParList &plist);
|
---|
31 | Bool_t WriteResult();
|
---|
32 |
|
---|
33 | Bool_t ReadPedPhotCam();
|
---|
34 |
|
---|
35 | Bool_t ProcessFileD(MPedestalCam &pedcam);
|
---|
36 | Bool_t ProcessFileP(MPedestalCam &pedcam, MCalibrationChargeCam &calcam, MCalibrationQECam &qecam);
|
---|
37 |
|
---|
38 | public:
|
---|
39 | MJExtractSignal(const char *name=NULL, const char *title=NULL);
|
---|
40 |
|
---|
41 | void SetInput(MRunIter *iter) { fRuns = iter; }
|
---|
42 | void SetOutputPath(const char *path=".");
|
---|
43 |
|
---|
44 | TString GetOutputFileP() const;
|
---|
45 | TString GetOutputFileD() const;
|
---|
46 |
|
---|
47 | MPedPhotCam &GetPedPhotCam() { return fPedPhotCam; }
|
---|
48 | const MBadPixelsCam &GetBadPixels() const { return fBadPixels; }
|
---|
49 |
|
---|
50 | void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); }
|
---|
51 |
|
---|
52 | Bool_t ProcessD(MPedestalCam &pedcam);
|
---|
53 | Bool_t ProcessP(MPedestalCam &pedcam, MCalibrationChargeCam &calcam, MCalibrationQECam &qecam);
|
---|
54 |
|
---|
55 | ClassDef(MJExtractSignal, 0) // Tool to create a pedestal file (MPedestalCam)
|
---|
56 | };
|
---|
57 |
|
---|
58 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.