Changeset 4371 for trunk/MagicSoft/Mars
- Timestamp:
- 07/14/04 13:43:54 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4370 r4371 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/07/14: Hendrik Bartko 23 * msignal/MExtractTimeHighestIntegral.cc 24 - implemented the time calculation respective to the zero FADC 25 time sample, not respective to the first sample of the chosen 26 range 27 * msignal/ArrivalTimeCalc2.cc 28 - implemented the time calculation respective to the zero FADC 29 time sample, not respective to the first sample of the chosen 30 range 31 21 32 22 33 2004/06/30: Thomas Bretz -
trunk/MagicSoft/Mars/msignal/MArrivalTimeCalc2.cc
r4246 r4371 244 244 sat++; 245 245 246 pix.SetArrivalTime(timehi , deltatimehi, timelo, deltatimelo);246 pix.SetArrivalTime(timehi+ Float_t(fHiGainFirst), deltatimehi, timelo + Float_t(fLoGainFirst), deltatimelo); 247 247 pix.SetGainSaturation(sathi, sathi, satlo); 248 248 } -
trunk/MagicSoft/Mars/msignal/MExtractTimeHighestIntegral.cc
r3913 r4371 204 204 { 205 205 max = sum; 206 ptrmax = p ;206 ptrmax = p+1; 207 207 } 208 208 } … … 225 225 const Float_t pedsubtimesignalsum = timesignalsum - timesum*pedes; 226 226 227 time = pedsubsum != 0 ? pedsubtimesignalsum / pedsubsum : 1;227 time = pedsubsum != 0 ? pedsubtimesignalsum / pedsubsum + Float_t(fHiGainFirst): 1; 228 228 deltatime = pedsubsum != 0 ? pedrms / pedsubsum * sqrt(timesquaredsum - fHiGainWindowSize*time) : 1; 229 229 } … … 272 272 { 273 273 max = sum; 274 ptrmax = p ;274 ptrmax = p+1; 275 275 } 276 276 } … … 293 293 const Float_t pedsubtimesignalsum = timesignalsum - timesum*pedes; 294 294 295 time = pedsubsum != 0 ? pedsubtimesignalsum / pedsubsum : 1;295 time = pedsubsum != 0 ? pedsubtimesignalsum / pedsubsum + Float_t(fLoGainFirst) : 1; 296 296 deltatime = pedsubsum != 0 ? pedrms / pedsubsum * sqrt(timesquaredsum - fLoGainWindowSize*time) : 1; 297 297 }
Note:
See TracChangeset
for help on using the changeset viewer.