Changeset 4947 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 09/10/04 22:32:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.h
r4912 r4947 99 99 kCheckExtractionWindow, 100 100 kCheckHistOverflow, 101 kCheckDeviatingBehavior 101 kCheckDeviatingBehavior, 102 kCheckOscillations 102 103 }; // Possible Checks 103 104 … … 123 124 void PrintUncalibrated( MBadPixelsPix::UncalibratedType_t typ, const char *text) const; 124 125 126 // Query checks 127 Bool_t IsCheckDeadPixels () const { return TESTBIT(fCheckFlags,kCheckDeadPixels); } 128 Bool_t IsCheckDeviatingBehavior() const { return TESTBIT(fCheckFlags,kCheckDeviatingBehavior); } 129 Bool_t IsCheckExtractionWindow () const { return TESTBIT(fCheckFlags,kCheckExtractionWindow); } 130 Bool_t IsCheckHistOverflow () const { return TESTBIT(fCheckFlags,kCheckHistOverflow); } 131 Bool_t IsCheckOscillations () const { return TESTBIT(fCheckFlags,kCheckOscillations); } 132 125 133 // Global fit results 126 134 void SetPheFitOK ( const Int_t aidx, const Bool_t b=kTRUE ) { … … 140 148 : CLRBIT(fPINDiodeFlags[idx], kPINDiodeFitOK); } 141 149 142 Bool_t IsCheckDeadPixels () const { return TESTBIT(fCheckFlags,kCheckDeadPixels); }143 Bool_t IsCheckExtractionWindow () const { return TESTBIT(fCheckFlags,kCheckExtractionWindow); }144 Bool_t IsCheckHistOverflow () const { return TESTBIT(fCheckFlags,kCheckHistOverflow); }145 Bool_t IsCheckDeviatingBehavior() const { return TESTBIT(fCheckFlags,kCheckDeviatingBehavior); }146 147 150 Int_t PreProcess (MParList *pList); 148 151 Bool_t ReInit (MParList *pList); … … 162 165 void SetChargeErrLimit ( const Float_t f=fgChargeErrLimit ) { fChargeErrLimit = f; } 163 166 void SetChargeRelErrLimit ( const Float_t f=fgChargeRelErrLimit ) { fChargeRelErrLimit = f; } 167 168 // Checks 169 void SetCheckDeadPixels( const Bool_t b=kTRUE ) { 170 b ? SETBIT(fCheckFlags,kCheckDeadPixels) 171 : CLRBIT(fCheckFlags,kCheckDeadPixels); } 172 void SetCheckDeviatingBehavior( const Bool_t b=kTRUE ) { 173 b ? SETBIT(fCheckFlags,kCheckDeviatingBehavior) 174 : CLRBIT(fCheckFlags,kCheckDeviatingBehavior); } 175 void SetCheckExtractionWindow( const Bool_t b=kTRUE ) { 176 b ? SETBIT(fCheckFlags,kCheckExtractionWindow) 177 : CLRBIT(fCheckFlags,kCheckExtractionWindow); } 178 void SetCheckHistOverflow( const Bool_t b=kTRUE ) { 179 b ? SETBIT(fCheckFlags,kCheckHistOverflow) 180 : CLRBIT(fCheckFlags,kCheckHistOverflow); } 181 void SetCheckOscillations( const Bool_t b=kTRUE ) { 182 b ? SETBIT(fCheckFlags,kCheckOscillations) 183 : CLRBIT(fCheckFlags,kCheckOscillations); } 184 164 185 void SetDebug ( const Bool_t b=kTRUE ) { b ? SETBIT(fFlags, kDebug) 165 186 : CLRBIT(fFlags, kDebug); } … … 172 193 void SetPulserColor ( const MCalibrationCam::PulserColor_t col ) { fPulserColor = col; } 173 194 174 // Checks175 void SetCheckDeadPixels( const Bool_t b=kTRUE ) {176 b ? SETBIT(fCheckFlags,kCheckDeadPixels)177 : CLRBIT(fCheckFlags,kCheckDeadPixels); }178 void SetCheckExtractionWindow( const Bool_t b=kTRUE ) {179 b ? SETBIT(fCheckFlags,kCheckExtractionWindow)180 : CLRBIT(fCheckFlags,kCheckExtractionWindow); }181 void SetCheckHistOverflow( const Bool_t b=kTRUE ) {182 b ? SETBIT(fCheckFlags,kCheckHistOverflow)183 : CLRBIT(fCheckFlags,kCheckHistOverflow); }184 void SetCheckDeviatingBehavior( const Bool_t b=kTRUE ) {185 b ? SETBIT(fCheckFlags,kCheckDeviatingBehavior)186 : CLRBIT(fCheckFlags,kCheckDeviatingBehavior); }187 188 195 ClassDef(MCalibrationChargeCalc, 1) // Task calculating Calibration Containers and Quantum Efficiencies 189 196 };
Note:
See TracChangeset
for help on using the changeset viewer.