- Timestamp:
- 04/11/04 18:17:20 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3708 r3709 22 22 * macros/dohtml.C 23 23 - included directory mjobs 24 25 * mjobs/MJCalibration.[h,cc] 26 - added and updated documentation (not yet ready) 27 28 * htmldoc/images/CalibClasses.gif 29 - scheme of the calibration classes, used for documentation in 30 MJCalibration.cc 24 31 25 32 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3689 r3709 28 28 // MJCalibration 29 29 // 30 //Begin_Html 31 /* 32 <img src="images/CalibClasses.gif"> 33 */ 34 //End_Html 35 // 30 36 ///////////////////////////////////////////////////////////////////////////// 31 37 #include "MJCalibration.h" -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r3564 r3709 4 4 #ifndef MARS_MCalibrationChargeCam 5 5 #include "MCalibrationChargeCam.h" 6 #endif 7 #ifndef MARS_MCalibrationQECam 8 #include "MCalibrationQECam.h" 6 9 #endif 7 10 #ifndef MARS_MBadPixelsCam … … 15 18 class MParList; 16 19 class MPedestalCam; 17 18 20 class MJCalibration : public MParContainer 19 21 { 20 22 private: 21 TString fOutputPath;22 23 23 MRunIter *fRuns; 24 TString fOutputPath; // Path to the output files 25 26 MRunIter *fRuns; // Calibration files 27 28 MCalibrationChargeCam fCalibrationCam; // Calibration conversion factors FADC2Phe 29 MCalibrationQECam fQECam; // Quantum efficiency, can be set from previous runs 30 MBadPixelsCam fBadPixels; // Bad Pixels cam, can be set from previous runs 31 32 void DrawProjection ( MHCamera *obj, Int_t fit) const; // Draw projection of pixels values 33 void DrawRadialProfile( MHCamera *obj) const; // Draw projection of pixels values onto camera radius 34 void CamDraw(TCanvas &c, const Int_t x, const Int_t y, const MHCamera &cam1, 35 const Int_t fit, const Int_t rad=0); // Draw histograms into the MStatusDisplay 36 37 void DisplayResult(MParList &plist); 38 Bool_t WriteResult(); 39 40 public: 24 41 25 MCalibrationChargeCam fCalibrationCam; 26 MBadPixelsCam fBadPixels; 27 28 void DrawProjection ( MHCamera *obj, Int_t fit) const; 29 void DrawRadialProfile( MHCamera *obj) const; 30 void CamDraw(TCanvas &c, const Int_t x, const Int_t y, const MHCamera &cam1, 31 const Int_t fit, const Int_t rad=0); 32 33 void DisplayResult(MParList &plist); 34 Bool_t WriteResult(); 35 36 public: 37 MJCalibration(const char *name=NULL, const char *title=NULL); 38 39 void SetInput(MRunIter *iter) { fRuns=iter; } 40 void SetOutputPath(const char *path="."); 41 42 TString GetOutputFile() const; 43 44 MCalibrationChargeCam &GetCalibrationCam() { return fCalibrationCam; } 45 const MBadPixelsCam &GetBadPixels() const { return fBadPixels; } 46 47 void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); } 48 49 Bool_t ReadCalibrationCam(); 50 Bool_t ProcessFile(MPedestalCam &pedcam); 51 Bool_t Process(MPedestalCam &pedcam); 52 53 ClassDef(MJCalibration, 0) // Tool to create a pedestal file (MPedestalCam) 42 MJCalibration(const char *name=NULL, const char *title=NULL); 43 44 void SetInput(MRunIter *iter) { fRuns=iter; } 45 void SetOutputPath(const char *path="."); 46 47 TString GetOutputFile() const; 48 49 MCalibrationChargeCam &GetCalibrationCam() { return fCalibrationCam; } 50 MCalibrationQECam &GetQECam() { return fQECam; } 51 const MBadPixelsCam &GetBadPixels() const { return fBadPixels; } 52 53 void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); } 54 void SetQECam (const MCalibrationQECam &qe) { qe.Copy(fQECam); } 55 56 Bool_t ReadCalibrationCam(); 57 Bool_t ProcessFile( MPedestalCam &pedcam ); 58 Bool_t Process ( MPedestalCam &pedcam ); 59 60 ClassDef(MJCalibration, 0) // Tool to create a calibration file (MCalibrationCam) 54 61 }; 55 62
Note:
See TracChangeset
for help on using the changeset viewer.