source: trunk/MagicSoft/Mars/mjobs/MJCalibration.h@ 3054

Last change on this file since 3054 was 3054, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MJCalibration
2#define MARS_MJCalibration
3
4#ifndef MARS_MCalibrationCam
5#include "MCalibrationCam.h"
6#endif
7
8class TCanvas;
9class MHCamera;
10class MCamEvent;
11class MRunIter;
12class MParList;
13class MPedestalCam;
14
15class MJCalibration : public MParContainer
16{
17private:
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
30public:
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.