- Timestamp:
- 04/16/04 19:51:08 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3768 r3769 42 42 signal integration range (only for MC), now from slices 5 to 10. 43 43 44 * msignal/MExtractSignal3.[h,cc] 45 - Changed name of function SetRange for the more adecquate 46 "SetWindows". No change in behaviour of the function. 44 47 45 48 2004/04/16: Markus Gaug -
trunk/MagicSoft/Mars/msignal/MExtractSignal3.cc
r3633 r3769 78 78 AddToBranchList("MRawEvtData.*"); 79 79 80 Set Range();81 } 82 83 void MExtractSignal3::Set Range(Byte_t windowh, Byte_t windowl, Byte_t peaksearchwindow)80 SetWindows(); 81 } 82 83 void MExtractSignal3::SetWindows(Byte_t windowh, Byte_t windowl, Byte_t peaksearchwindow) 84 84 { 85 85 // … … 93 93 if (fWindowSizeHiGain != windowh) 94 94 *fLog << endl << warn << 95 "MExtractSignal3::Set Range- Hi Gain window size has to be even, set to: "95 "MExtractSignal3::SetWindows - Hi Gain window size has to be even, set to: " 96 96 << int(fWindowSizeHiGain) << " samples " << endl; 97 97 98 98 if (fWindowSizeLoGain != windowl) 99 99 *fLog << endl << warn << 100 "MExtractSignal3::Set Range- Lo Gain window size has to be even, set to: "100 "MExtractSignal3::SetWindows - Lo Gain window size has to be even, set to: " 101 101 << int(fWindowSizeLoGain) << " samples " << endl; 102 102 103 103 if (fPeakSearchWindowSize != peaksearchwindow) 104 104 *fLog << endl << warn << 105 "MExtractSignal3::Set Range- Peak Search window size has to be even, set to: "105 "MExtractSignal3::SetWindows - Peak Search window size has to be even, set to: " 106 106 << int(fPeakSearchWindowSize) << " samples " << endl; 107 107 … … 110 110 { 111 111 fWindowSizeHiGain = 2; 112 *fLog << warn << "MExtractSignal3::Set Range- Hi Gain window size set to two samples" << endl;112 *fLog << warn << "MExtractSignal3::SetWindows - Hi Gain window size set to two samples" << endl; 113 113 } 114 114 … … 116 116 { 117 117 fWindowSizeLoGain = 2; 118 *fLog << warn << "MExtractSignal3::Set Range- Lo Gain window size set to two samples" << endl;118 *fLog << warn << "MExtractSignal3::SetWindows - Lo Gain window size set to two samples" << endl; 119 119 } 120 120 … … 122 122 { 123 123 fPeakSearchWindowSize = 2; 124 *fLog << warn << "MExtractSignal3::Set Range- Peak Search window size set to two samples" << endl;124 *fLog << warn << "MExtractSignal3::SetWindows - Peak Search window size set to two samples" << endl; 125 125 } 126 126 … … 129 129 { 130 130 fWindowSizeHiGain = fNumHiGainSamples & ~1; 131 *fLog << warn << "MExtractSignal3::Set Range- Hi Gain window size set to "131 *fLog << warn << "MExtractSignal3::SetWindows - Hi Gain window size set to " 132 132 << int(fWindowSizeHiGain) << " samples " << endl; 133 133 } … … 136 136 { 137 137 fWindowSizeLoGain = fNumLoGainSamples & ~1; 138 *fLog << warn << "MExtractSignal3::Set Range- Lo Gain window size set to "138 *fLog << warn << "MExtractSignal3::SetWindows - Lo Gain window size set to " 139 139 << int(fWindowSizeLoGain) << " samples " << endl; 140 140 } -
trunk/MagicSoft/Mars/msignal/MExtractSignal3.h
r3633 r3769 53 53 MExtractSignal3(const char *name=NULL, const char *title=NULL); 54 54 55 void Set Range(Byte_t windowh=fgWindowSize, Byte_t windowl=fgWindowSize,56 Byte_t peaksearchwindow=fgPeakSearchWindowSize);55 void SetWindows(Byte_t windowh=fgWindowSize, Byte_t windowl=fgWindowSize, 56 Byte_t peaksearchwindow=fgPeakSearchWindowSize); 57 57 58 58 void SetSaturationLimit(Byte_t lim) { fSaturationLimit = lim; }
Note:
See TracChangeset
for help on using the changeset viewer.