Line | |
---|
1 | #ifndef MARS_MJCalibration
|
---|
2 | #define MARS_MJCalibration
|
---|
3 |
|
---|
4 | #ifndef MARS_MCalibrationCam
|
---|
5 | #include "MCalibrationCam.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TCanvas;
|
---|
9 | class MHCamera;
|
---|
10 | class MCamEvent;
|
---|
11 | class MRunIter;
|
---|
12 | class MParList;
|
---|
13 | class MPedestalCam;
|
---|
14 |
|
---|
15 | class MJCalibration : public MParContainer
|
---|
16 | {
|
---|
17 | private:
|
---|
18 | TString fOutputPath;
|
---|
19 |
|
---|
20 | MRunIter *fRuns;
|
---|
21 |
|
---|
22 | MCalibrationCam fCalibrationCam;
|
---|
23 |
|
---|
24 | void DrawProjection(MHCamera *obj1, Int_t fit) const;
|
---|
25 | void CamDraw(TCanvas &c, const Int_t x, const Int_t y, const MHCamera &cam1, const Int_t fit);
|
---|
26 |
|
---|
27 | void DisplayResult(MParList &plist);
|
---|
28 | Bool_t WriteResult();
|
---|
29 |
|
---|
30 | public:
|
---|
31 | MJCalibration(const char *name=NULL, const char *title=NULL);
|
---|
32 |
|
---|
33 | void SetInput(MRunIter *iter) { fRuns=iter; }
|
---|
34 | void SetOutputPath(const char *path=".");
|
---|
35 |
|
---|
36 | TString GetOutputFile() const;
|
---|
37 | MCalibrationCam &GetCalibrationCam() { return fCalibrationCam; }
|
---|
38 |
|
---|
39 | Bool_t ReadCalibrationCam();
|
---|
40 | Bool_t ProcessFile(MPedestalCam &pedcam);
|
---|
41 | Bool_t Process(MPedestalCam &pedcam);
|
---|
42 |
|
---|
43 | ClassDef(MJCalibration, 0) // Tool to create a pedestal file (MPedestalCam)
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.