Changeset 3725 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 04/13/04 20:03:32 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3723 r3725 66 66 67 67 #include "MPedestalCam.h" 68 #include "MCalibrationCam.h" 68 69 #include "MCalibrationQECam.h" 69 70 #include "MCalibrationChargeCam.h" … … 95 96 // Default constructor. 96 97 // 97 // Sets fRuns to 0 98 // 99 MJCalibration::MJCalibration(const char *name, const char *title) : fRuns(0) 100 { 101 fName = name ? name : "MJCalibration"; 102 fTitle = title ? title : "Tool to create a pedestal file (MPedestalCam)"; 98 // Sets fRuns to 0, fColor to kNONE 99 // 100 MJCalibration::MJCalibration(const char *name, const char *title) 101 : fRuns(0), fColor(MCalibrationCam::kNONE) 102 { 103 fName = name ? name : "MJCalibration"; 104 fTitle = title ? title : "Tool to create a pedestal file (MPedestalCam)"; 105 103 106 } 104 107 … … 719 722 MExtractSignal2 extract; 720 723 MCalibrationChargeCalc calcalc; 721 calcalc.SetPulserColor(MCalibrationCam::kCT1); 724 725 // 726 // As long as there are no DM's, have to colour by hand 727 // 728 calcalc.SetPulserColor(fColor); 722 729 723 730 MFillH fillpin("MHCalibrationChargePINDiode", "MExtractedSignalPINDiode"); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r3723 r3725 29 29 MCalibrationQECam fQECam; // Quantum efficiency, can be set from previous runs 30 30 MBadPixelsCam fBadPixels; // Bad Pixels cam, can be set from previous runs 31 32 MCalibrationCam::PulserColor_t fColor; // Colour of the pulsed LEDs 31 33 32 34 void DrawProjection ( MHCamera *obj, Int_t fit) const; // Draw projection of pixels values … … 53 55 void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); } 54 56 void SetQECam (const MCalibrationQECam &qe) { qe.Copy(fQECam); } 57 void SetColor (const MCalibrationCam::PulserColor_t color) { fColor = color; } 55 58 56 59 Bool_t ReadCalibrationCam();
Note:
See TracChangeset
for help on using the changeset viewer.