Changeset 4289
- Timestamp:
- 06/14/04 10:58:10 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4288 r4289 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 22 2004/06/12: Markus Gaug 23 24 * msignal/MExtractFixedWindow.cc 25 - output the number and exact range of extraction to *fLog in the 26 ReInit(), like it is done by MPedCalcPedRun 20 27 21 28 -
trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc
r4047 r4289 28 28 // MExtractFixedWindow 29 29 // 30 // Extracts the signal from a fixed window in a given range. 30 // Extracts the signal from a fixed window in a given range by summing up the 31 // slice contents. 31 32 // 32 33 // Call: SetRange(fHiGainFirst, fHiGainLast, fLoGainFirst, fLoGainLast) … … 62 63 // 63 64 // Default constructor. 65 // 66 // Calls: 67 // - SetRange(fgHiGainFirst, fgHiGainLast, fgLoGainFirst, fgLoGainLast) 64 68 // 65 69 MExtractFixedWindow::MExtractFixedWindow(const char *name, const char *title) … … 158 162 fLoGainFirst, fLoGainLast, fNumLoGainSamples); 159 163 164 165 *fLog << endl; 166 *fLog << inf << GetDescriptor() << ": Taking " << (int)fNumHiGainSamples 167 << " HiGain FADC samples from slice: " << (int)fHiGainFirst 168 << " to (including) slice: " << (int)fHiGainLast+(int)fHiLoLast << endl; 169 *fLog << inf << GetDescriptor() << ": Taking " << (int)fNumLoGainSamples 170 << " LoGain FADC samples from slice: " << (int)fLoGainFirst << endl; 171 << " to (including) slice: " << (int)fLoGainLast << endl; 160 172 return kTRUE; 161 173 … … 170 182 // - If *ptr is greater than fSaturationLimit, raise sat by 1 171 183 // 184 // - If fHiLoLast is not 0, loop also from logain to (logain+fHiLoLast) 185 // - Sum up contents of logain 186 // - If *logain is greater than fSaturationLimit, raise sat by 1 187 // 172 188 void MExtractFixedWindow::FindSignalHiGain(Byte_t *ptr, Byte_t *logain, Int_t &sum, Byte_t &sat) const 173 189 { … … 193 209 sat++; 194 210 } 195 196 211 } 197 212
Note:
See TracChangeset
for help on using the changeset viewer.