Changeset 3435 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 03/07/04 20:48:16 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r3434 r3435 6 6 #endif 7 7 8 #ifndef ROOT_TArray C9 #include <TArray C.h>8 #ifndef ROOT_TArrayI 9 #include <TArrayI.h> 10 10 #endif 11 11 … … 13 13 { 14 14 private: 15 TArray CfInfo;15 TArrayI fInfo; 16 16 17 17 public: … … 108 108 109 109 Bool_t IsHiGainSaturation () const 110 { return !( fInfo[1] | ~kHiGainSaturation== ~kHiGainSaturation ); }110 { return !((fInfo[1] | ~kHiGainSaturation) == ~kHiGainSaturation ); } 111 111 Bool_t IsLoGainSaturation () const 112 { return !( fInfo[1] | ~kLoGainSaturation== ~kLoGainSaturation ); }112 { return !((fInfo[1] | ~kLoGainSaturation) == ~kLoGainSaturation ); } 113 113 Bool_t IsCombinedMethodNotValid () const 114 { return !( fInfo[1] | ~kCombinedMethodNotValid== ~kCombinedMethodNotValid ); }114 { return !((fInfo[1] | ~kCombinedMethodNotValid) == ~kCombinedMethodNotValid ); } 115 115 Bool_t IsPINDiodeMethodNotValid () const 116 { return !( fInfo[1] | ~kPINDiodeMethodNotValid== ~kPINDiodeMethodNotValid ); }116 { return !((fInfo[1] | ~kPINDiodeMethodNotValid) == ~kPINDiodeMethodNotValid ); } 117 117 Bool_t IsFFactorMethodNotValid () const 118 { return !( fInfo[1] | ~kFFactorMethodNotValid== ~kFFactorMethodNotValid ); }118 { return !((fInfo[1] | ~kFFactorMethodNotValid) == ~kFFactorMethodNotValid ); } 119 119 Bool_t IsBlindPixelMethodNotValid () const 120 { return !( fInfo[1] | ~kBlindPixelMethodNotValid== ~kBlindPixelMethodNotValid ); }120 { return !((fInfo[1] | ~kBlindPixelMethodNotValid) == ~kBlindPixelMethodNotValid ); } 121 121 Bool_t IsMeanTimeInLastBin () const 122 { return !( fInfo[1] | ~kMeanTimeInLastBin== ~kMeanTimeInLastBin ); }122 { return !((fInfo[1] | ~kMeanTimeInLastBin) == ~kMeanTimeInLastBin ); } 123 123 Bool_t IsMeanTimeInFirstBin () const 124 { return !( fInfo[1] | ~kMeanTimeInFirstBin== ~kMeanTimeInFirstBin ); }124 { return !((fInfo[1] | ~kMeanTimeInFirstBin) == ~kMeanTimeInFirstBin ); } 125 125 Bool_t IsLoGainOscillating () const 126 { return !( fInfo[1] | ~kLoGainOscillating== ~kLoGainOscillating ); }126 { return !((fInfo[1] | ~kLoGainOscillating) == ~kLoGainOscillating ); } 127 127 Bool_t IsHiGainOscillating () const 128 { return !( fInfo[1] | ~kHiGainOscillating== ~kHiGainOscillating ); }128 { return !((fInfo[1] | ~kHiGainOscillating) == ~kHiGainOscillating ); } 129 129 Bool_t IsConvHiLoNotValid () const 130 { return !( fInfo[1] | ~kConvHiLoNotValid== ~kConvHiLoNotValid ); }130 { return !((fInfo[1] | ~kConvHiLoNotValid) == ~kConvHiLoNotValid ); } 131 131 Bool_t IsChargeSigmaNotValid () const 132 { return !( fInfo[1] | ~kChargeSigmaNotValid== ~kChargeSigmaNotValid ); }132 { return !((fInfo[1] | ~kChargeSigmaNotValid) == ~kChargeSigmaNotValid ); } 133 133 Bool_t IsChargeRelErrNotValid () const 134 { return !( fInfo[1] | ~kChargeRelErrNotValid== ~kChargeRelErrNotValid ); }134 { return !((fInfo[1] | ~kChargeRelErrNotValid) == ~kChargeRelErrNotValid ); } 135 135 Bool_t IsChargeErrNotValid () const 136 { return !( fInfo[1] | ~kChargeErrNotValid== ~kChargeErrNotValid ); }136 { return !((fInfo[1] | ~kChargeErrNotValid) == ~kChargeErrNotValid ); } 137 137 Bool_t IsChargeIsPedestal () const 138 { return !( fInfo[1] | ~kChargeIsPedestal== ~kChargeIsPedestal ); }138 { return !((fInfo[1] | ~kChargeIsPedestal) == ~kChargeIsPedestal ); } 139 139 Bool_t IsLoGainNotFitted () const 140 { return !( fInfo[1] | ~kLoGainNotFitted== ~kLoGainNotFitted ); }140 { return !((fInfo[1] | ~kLoGainNotFitted) == ~kLoGainNotFitted ); } 141 141 Bool_t IsHiGainNotFitted () const 142 { return !( fInfo[1] | ~kHiGainNotFitted== ~kHiGainNotFitted ); }142 { return !((fInfo[1] | ~kHiGainNotFitted) == ~kHiGainNotFitted ); } 143 143 144 144 Bool_t IsLoGainBad() const { return IsLoGainSaturation() … … 155 155 Bool_t IsCalibrationFitOK() const { return !( (IsHiGainSaturation() && IsHiGainNotFitted()) 156 156 || ( IsLoGainSaturation() && IsLoGainNotFitted()) ); } 157 Bool_t IsCalibrationOscillating() const { return ( IsHiGainSaturation() && IsHiGainOscillating())158 || ( Is LoGainSaturation() && IsLoGainOscillating()) ; }157 Bool_t IsCalibrationOscillating() const { return ( !IsHiGainSaturation() && IsHiGainOscillating()) 158 || ( IsHiGainSaturation() && IsLoGainOscillating()) ; } 159 159 Bool_t IsCalibrationResultOK() const { return IsCalibrationSignalOK() 160 160 && !(IsCalibrationOscillating()) … … 173 173 void Merge(const MBadPixelsPix &pix); 174 174 175 const TArray C&GetInfo() const { return fInfo; }175 const TArrayI &GetInfo() const { return fInfo; } 176 176 177 177 ClassDef(MBadPixelsPix, 1) // Storage Container for bad pixel information of a single pixel
Note:
See TracChangeset
for help on using the changeset viewer.