Changeset 8417 for trunk/MagicSoft/Mars/mjobs/MJCalibration.h
- Timestamp:
- 04/18/07 16:34:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r7013 r8417 5 5 #include "MJCalib.h" 6 6 #endif 7 #ifndef MARS_MCalibrationIntensityChargeCam8 #include "MCalibrationIntensityChargeCam.h"9 #endif10 7 #ifndef MARS_MCalibrationChargeCam 11 8 #include "MCalibrationChargeCam.h" 12 #endif13 #ifndef MARS_MCalibrationIntensityBlindCam14 #include "MCalibrationIntensityBlindCam.h"15 9 #endif 16 10 #ifndef MARS_MCalibrationBlindCam … … 20 14 #include "MCalibrationChargePINDiode.h" 21 15 #endif 22 #ifndef MARS_MCalibrationIntensityRelTimeCam23 #include "MCalibrationIntensityRelTimeCam.h"24 #endif25 16 #ifndef MARS_MCalibrationRelTimeCam 26 17 #include "MCalibrationRelTimeCam.h" 27 18 #endif 28 #ifndef MARS_MCalibrationIntensityQECam29 #include "MCalibrationIntensityQECam.h"30 #endif31 19 #ifndef MARS_MCalibrationQECam 32 20 #include "MCalibrationQECam.h" 33 #endif34 #ifndef MARS_MBadPixelsIntensityCam35 #include "MBadPixelsIntensityCam.h"36 21 #endif 37 22 #ifndef MARS_MBadPixelsCam … … 102 87 MExtractTime *fTimeExtractor; // Arrival Time extractor 103 88 104 MBadPixelsIntensityCam fIntensBadCam; // Bad Pixels cam, can be set from previous runs105 89 MBadPixelsCam fBadPixels; // Bad Pixels cam, can be set from previous runs 106 MCalibrationIntensityChargeCam fIntensCalibCam; // Calibration conversion factors FADC2Phe for diff. intens.107 90 MCalibrationChargeCam fCalibrationCam; // Calibration conversion factors FADC2Phe 108 MCalibrationIntensityBlindCam fIntensBlindCam; // Calibration from Blind Pixel(s)109 91 MCalibrationBlindCam fCalibrationBlindCam; // Calibration from Blind Pixel(s) 110 92 MCalibrationChargePINDiode fCalibrationPINDiode; // Calibration from PIN Diode 111 MCalibrationIntensityQECam fIntensQECam; // Quantum efficiency for diff. intensities,112 93 MCalibrationQECam fQECam; // Quantum efficiency, can be set from previous runs 113 MCalibrationIntensityRelTimeCam fIntensRelTimeCam; // Calibration constants rel. times for diff. intensities114 94 MCalibrationRelTimeCam fRelTimeCam; // Calibration constants rel. times 115 95 … … 127 107 Display_t fDisplayType; // Chosen Display type 128 108 129 enum { kRelTimes, kDebug , kIntensity };// Possible flags109 enum { kRelTimes, kDebug }; // Possible flags 130 110 131 111 Byte_t fFlags; // Bit-field for the flags … … 135 115 Bool_t IsRelTimes () const { return TESTBIT(fFlags,kRelTimes); } 136 116 Bool_t IsDebug () const { return TESTBIT(fFlags,kDebug); } 137 Bool_t IsIntensity () const { return TESTBIT(fFlags,kIntensity); }138 117 139 118 void DrawTab(MParList &plist, const char *cont, const char *name, Option_t *opt); … … 162 141 public: 163 142 MJCalibration(const char *name=NULL, const char *title=NULL); 164 165 MCalibrationIntensityChargeCam &GetIntensCalibrationCam() { return fIntensCalibCam; }166 MCalibrationIntensityRelTimeCam &GetIntensRelTimeCam() { return fIntensRelTimeCam; }167 MCalibrationIntensityQECam &GetIntensQECam() { return fIntensQECam; }168 MBadPixelsIntensityCam &GetIntensBadCam() { return fIntensBadCam; }169 143 170 MCalibrationChargeCam &GetCalibrationCam() { return fCalibrationCam;}171 MCalibrationRelTimeCam &GetRelTimeCam() { return fRelTimeCam;}172 MCalibrationQECam &GetQECam() { return fQECam;}173 MBadPixelsCam &GetBadPixels() { return fBadPixels;}144 const MCalibrationChargeCam &GetCalibrationCam() const { return fCalibrationCam; } 145 const MCalibrationRelTimeCam &GetRelTimeCam() const { return fRelTimeCam; } 146 const MCalibrationQECam &GetQECam() const { return fQECam; } 147 const MBadPixelsCam &GetBadPixels() const { return fBadPixels; } 174 148 175 149 // Containers and pointers … … 192 166 void SetRelTimeCalibration( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kRelTimes) : CLRBIT(fFlags,kRelTimes); } 193 167 void SetDebug ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kDebug) : CLRBIT(fFlags,kDebug); } 194 void SetIntensity ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kIntensity) : CLRBIT(fFlags,kIntensity); }168 //void SetIntensity ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags,kIntensity) : CLRBIT(fFlags,kIntensity); } 195 169 196 170 // Files
Note:
See TracChangeset
for help on using the changeset viewer.