source: trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.h@ 6751

Last change on this file since 6751 was 6699, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MJCalibrateSignal
2#define MARS_MJCalibrateSignal
3
4#ifndef MARS_MJCalib
5#include "MJCalib.h"
6#endif
7
8class TEnv;
9class TList;
10class MTask;
11class MParList;
12class MGeomCam;
13class MSequence;
14class MExtractor;
15class MPedestalCam;
16class MBadPixelsCam;
17class MRunIter;
18
19class MJCalibrateSignal : public MJCalib
20{
21private:
22
23 // MRunIter *fCruns; // Calibration run iter
24
25 Bool_t fIsInterlaced; // Distinguish interlaced from other calibration
26 Bool_t fIsRelTimesUpdate; // Choose to update relative times from interlaced
27 Bool_t fIsHiLoCalibration; // Choose to calibrate the high-gain vs. low-gains
28
29 Bool_t CheckEnvLocal();
30
31 void DisplayResult(MParList &plist);
32
33 Bool_t WriteResult(TObjArray &cont);
34 Bool_t ReadCalibration(TObjArray &o, MBadPixelsCam &bpix,
35 MExtractor* &ext1, MExtractor* &ext2, TString &geom) const;
36
37 const char* GetInputFileName() const;
38 const char* GetInputFile() const;
39
40public:
41
42 MJCalibrateSignal(const char *name=NULL, const char *title=NULL);
43
44 Bool_t ProcessFile(MPedestalCam &camab, MPedestalCam &cam1, MPedestalCam &cam2);
45
46 void SetInterlaced ( const Bool_t b=kTRUE ) { fIsInterlaced = b; }
47 void SetRelTimesUpdate ( const Bool_t b=kTRUE ) { fIsRelTimesUpdate = b; }
48 void SetHiLoCalibration( const Bool_t b=kTRUE ) { fIsHiLoCalibration = b; }
49
50 // void SetInputCal ( MRunIter *iter ) { fCruns = iter; }
51
52 ClassDef(MJCalibrateSignal, 0) // Tool to create a pedestal file (MPedestalCam)
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.