source: trunk/MagicSoft/Mars/mjobs/MJPedestal.h@ 3066

Last change on this file since 3066 was 3051, checked in by gaug, 21 years ago
*** empty log message ***
File size: 928 bytes
Line 
1#ifndef MARS_MJPedestal
2#define MARS_MJPedestal
3
4#ifndef MARS_MPedestalCam
5#include "MPedestalCam.h"
6#endif
7
8class MParList;
9class MRunIter;
10class MHCamera;
11
12class MJPedestal : public MParContainer
13{
14private:
15 TString fOutputPath;
16
17 MRunIter *fRuns;
18
19 MPedestalCam fPedestalCam;
20
21 void DrawProjection(MHCamera *obj1, Int_t fit) const;
22 void CamDraw(TCanvas &c, Int_t x, Int_t y, MHCamera &cam1, Int_t fit);
23 void DisplayResult(MParList &plist);
24 Bool_t WriteResult();
25
26public:
27 MJPedestal(const char *name=NULL, const char *title=NULL);
28
29 void SetOutputPath(const char *path=".");
30 void SetInput(MRunIter *iter) { fRuns=iter; }
31
32 TString GetOutputFile() const;
33 MPedestalCam &GetPedestalCam() { return fPedestalCam; }
34
35 Bool_t ReadPedestalCam();
36 Bool_t ProcessFile();
37 Bool_t Process();
38
39 ClassDef(MJPedestal, 0) // Tool to create a pedestal file (MPedestalCam)
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.