Line | |
---|
1 | #ifndef MARS_MJPedestal
|
---|
2 | #define MARS_MJPedestal
|
---|
3 |
|
---|
4 | #ifndef MARS_MPedestalCam
|
---|
5 | #include "MPedestalCam.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MParList;
|
---|
9 | class MRunIter;
|
---|
10 | class MHCamera;
|
---|
11 |
|
---|
12 | class MJPedestal : public MParContainer
|
---|
13 | {
|
---|
14 | private:
|
---|
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 |
|
---|
26 | public:
|
---|
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.