Changeset 5136 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 09/25/04 13:56:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc
r4984 r5136 94 94 : fHiGainSignal(NULL), 95 95 fHiGainFirstDeriv(NULL), 96 fHiGainSecondDeriv(NULL) 96 fHiGainSecondDeriv(NULL), 97 fDataType(0) 97 98 { 98 99 … … 213 214 return kFALSE; 214 215 215 216 if (IsDataType(kRawEvt2)) 217 fRawEvt = (MRawEvtData*)pList->FindObject(AddSerialNumber("MRawEvtData2")); 218 else 219 fRawEvt = (MRawEvtData*)pList->FindObject(AddSerialNumber("MRawEvtData")); 220 221 if (!fRawEvt) 222 { 223 *fLog << err << "MRawEvtData2 or MRawEvtData not found... aborting." << endl; 224 return kFALSE; 225 } 216 226 return kTRUE; 217 227 } … … 718 728 // ------------------------------------------------------------------------------------ 719 729 // 730 // Returns true if the Data type. Available are: kAmplitude, kIntegral and kFilter 731 // The flags kIntegral and kFilter may be set both. 732 // 733 Bool_t MExtractBlindPixel::IsDataType( const DataType_t typ ) 734 { 735 736 return TESTBIT( fDataType, typ ); 737 738 } 739 740 // ------------------------------------------------------------------------------------ 741 // 720 742 // Returns true if the extraction type. Available are: kAmplitude, kIntegral and kFilter 721 743 // The flags kIntegral and kFilter may be set both. … … 730 752 // -------------------------------------------------------------------------- 731 753 // 754 // Sets the Data type. Available are: kAmplitude and kIntegral 755 // 756 void MExtractBlindPixel::SetDataType( const DataType_t typ ) 757 { 758 SETBIT( fDataType, typ ); 759 } 760 761 // -------------------------------------------------------------------------- 762 // 732 763 // Sets the extraction type. Available are: kAmplitude and kIntegral 733 764 //
Note:
See TracChangeset
for help on using the changeset viewer.