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

Last change on this file since 3020 was 2992, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 775 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;
10
11class MJPedestal : public MParContainer
12{
13private:
14 TString fOutputPath;
15
16 MRunIter *fRuns;
17
18 MPedestalCam fPedestalCam;
19
20 void DisplayResult(MParList &plist);
21 Bool_t WriteResult();
22
23public:
24 MJPedestal(const char *name=NULL, const char *title=NULL);
25
26 void SetOutputPath(const char *path=".");
27 void SetInput(MRunIter *iter) { fRuns=iter; }
28
29 TString GetOutputFile() const;
30 MPedestalCam &GetPedestalCam() { return fPedestalCam; }
31
32 Bool_t ReadPedestalCam();
33 Bool_t ProcessFile();
34 Bool_t Process();
35
36 ClassDef(MJPedestal, 0) // Tool to create a pedestal file (MPedestalCam)
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.