| Line | |
|---|
| 1 | #ifndef MARS_MJExtractSignal
|
|---|
| 2 | #define MARS_MJExtractSignal
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MPedPhotCam
|
|---|
| 5 | #include "MPedPhotCam.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TCanvas;
|
|---|
| 9 | class MHCamera;
|
|---|
| 10 | class MCamEvent;
|
|---|
| 11 | class MRunIter;
|
|---|
| 12 | class MParList;
|
|---|
| 13 | class MPedestalCam;
|
|---|
| 14 | class MCalibrationCam;
|
|---|
| 15 |
|
|---|
| 16 | class MJExtractSignal : public MParContainer
|
|---|
| 17 | {
|
|---|
| 18 | private:
|
|---|
| 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 |
|
|---|
| 33 | public:
|
|---|
| 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.