Changeset 8428 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 04/20/07 14:59:58 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8427 r8428 70 70 #include "MCalibConstCam.h" 71 71 #include "MCalibrationIntensityChargeCam.h" 72 #include "MCalibrationIntensityRelTimeCam.h"73 72 74 73 #include "MHCalibrationChargeCam.h" … … 255 254 // Read File 256 255 MCalibrationIntensityChargeCam ichcam; 257 MCalibrationIntensityRelTimeCam itmcam;258 256 259 257 MHCalibrationChargeCam hchacam; … … 282 280 { 283 281 interlacedcont.Add(&ichcam); 284 interlacedcont.Add(&itmcam);285 282 interlacedcont.Add(&hchacam); 286 283 if (IsUseBlindPixel()) -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8414 r8428 2038 2038 // 2039 2039 // If the flag kRelTimes is set, then also: 2040 // - MCalibrationRelTimeCam or MCalibrationIntensityRelTimeCam2040 // - MCalibrationRelTimeCam 2041 2041 // 2042 2042 Bool_t MJCalibration::WriteResult(MParList &plist) -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r8417 r8428 11 11 #include "MCalibrationBlindCam.h" 12 12 #endif 13 #ifndef MARS_MCalibrationRelTimeCam 14 #include "MCalibrationRelTimeCam.h" 15 #endif 13 16 #ifndef MARS_MCalibrationChargePINDiode 14 17 #include "MCalibrationChargePINDiode.h" 15 #endif16 #ifndef MARS_MCalibrationRelTimeCam17 #include "MCalibrationRelTimeCam.h"18 18 #endif 19 19 #ifndef MARS_MCalibrationQECam … … 80 80 Float_t fRefTimeResolutionInner; //! Reference value for the time resolution - inner 81 81 Float_t fRefTimeResolutionOuter; //! Reference value for the time resolution - outer 82 82 83 83 TString fReferenceFile; // File name containing the reference values 84 84 TString fHiLoCalibFile; // File name containing the hi-lo calib. constants … … 86 86 MExtractor *fExtractor; // Signal extractor 87 87 MExtractTime *fTimeExtractor; // Arrival Time extractor 88 88 89 89 MBadPixelsCam fBadPixels; // Bad Pixels cam, can be set from previous runs 90 90 MCalibrationChargeCam fCalibrationCam; // Calibration conversion factors FADC2Phe … … 93 93 MCalibrationQECam fQECam; // Quantum efficiency, can be set from previous runs 94 94 MCalibrationRelTimeCam fRelTimeCam; // Calibration constants rel. times 95 95 96 96 MPedestalCam fExtractorCam; // Pedestal Cam with extractor resolution 97 97 98 98 MCalibrationCam::PulserColor_t fColor; // Colour of the pulsed LEDs 99 99 100 100 enum Display_t // Possible Display types 101 101 { … … 104 104 kNormalDisplay 105 105 }; 106 106 107 107 Display_t fDisplayType; // Chosen Display type 108 108 109 109 enum { kRelTimes, kDebug }; // Possible flags 110 110 111 111 Byte_t fFlags; // Bit-field for the flags 112 112 113 113 TString fGeometry; // Class name geometry 114 114 115 115 Bool_t IsRelTimes () const { return TESTBIT(fFlags,kRelTimes); } 116 116 Bool_t IsDebug () const { return TESTBIT(fFlags,kDebug); } … … 124 124 const Int_t CountBadPixels ( MHCamera *cam , const Int_t what ) const; 125 125 void FixDataCheckHist ( TH1D *hist ) const; 126 126 127 127 Bool_t WriteResult (MParList &plist); 128 128 //Bool_t WriteEventloop( MEvtLoop &evtloop ) const; 129 129 Bool_t WriteTasks ( MTask *t1, MTask *t2) const; 130 130 Bool_t CheckEnvLocal (); 131 131 132 132 // WORKAROUNDS!!! 133 133 void InitBlindPixel(MExtractBlindPixel &blindext, … … 138 138 void ReadReferenceFile(); 139 139 Bool_t ReadHiLoCalibFile(); 140 140 141 141 public: 142 142 MJCalibration(const char *name=NULL, const char *title=NULL); … … 146 146 const MCalibrationQECam &GetQECam() const { return fQECam; } 147 147 const MBadPixelsCam &GetBadPixels() const { return fBadPixels; } 148 148 149 149 // Containers and pointers 150 150 void SetBadPixels ( const MBadPixelsCam &bad) { bad.Copy(fBadPixels); } … … 154 154 void SetQECam ( const MCalibrationQECam &qe) { qe.Copy(fQECam); } 155 155 void SetTimeExtractor( MExtractTime* ext) { fTimeExtractor = ext; } 156 156 157 157 // Displays 158 158 void SetFullDisplay() { fDisplayType = kFullDisplay; } … … 162 162 // Camera Geomtry 163 163 void SetGeometry(const char *geom) { fGeometry = geom; } 164 164 165 165 // Flags 166 166 void SetRelTimeCalibration( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kRelTimes) : CLRBIT(fFlags,kRelTimes); } 167 167 void SetDebug ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kDebug) : CLRBIT(fFlags,kDebug); } 168 168 //void SetIntensity ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kIntensity) : CLRBIT(fFlags,kIntensity); } 169 169 170 170 // Files 171 171 void SetReferenceFile( const TString ref=fgReferenceFile ) { fReferenceFile = ref; }
Note:
See TracChangeset
for help on using the changeset viewer.