- Timestamp:
- 02/02/04 17:03:36 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3004 r3005 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 2004/02/02: Markus Gaug 8 9 * manalysis/MPedCalcPedRun.cc 10 - corrected formulae in Class descriptino 11 6 12 7 13 2004/02/02: Abelardo Moralejo -
trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc
r2997 r3005 39 39 // Actually, MPedCalcPedRun applies the following formula (1): 40 40 // 41 // PedRMS = Sqrt( (sum(x_i^2) - sum(x_i) /n) / n-1 / 14 )41 // PedRMS = Sqrt( (sum(x_i^2) - sum(x_i)^2/n) / n-1 / 14 ) 42 42 // 43 43 // where x_i is the sum of 14 FADC slices and sum means the sum over all … … 46 46 // For a high number of events, this formula is equivalent to formula (2): 47 47 // 48 // PedRMS = Sqrt( (<x_i*x_i> - <x_i>*<x_i> *n) / 14 )48 // PedRMS = Sqrt( (<x_i*x_i> - <x_i>*<x_i>) / 14 ) 49 49 // 50 50 // where <> is the mean over all events and x_i again the sum over the 14 … … 55 55 // equivalent to (old formula) (3): 56 56 // 57 // PedRMS = Sqrt( (<p_i*p_i> - <p_i>*<p_i>*m) / m ) * Sqrt(14) 58 // 59 // which is the RMS of a single slice (p_i) with m being the total number of 60 // measurements, i.e. m = n*14, later re-scaled to the number of used slices 61 // (the factor sqrt(14)). 57 // PedRMS = Sqrt( (<p_i*p_i> - <p_i>*<p_i>) ) 58 // 59 // which is the RMS per slice of a single slice (p_i) and 60 // <> the mean over the total number of measurements, i.e. n*14. 62 61 // 63 62 // If we assume that at least our pairs fluctuate independently and Gaussian, 64 // then we can use the actual formula (1) in order to get what you call63 // then we can use the actual formula (1) in order to get 65 64 // fluctuations of pairs by the transformation: 66 65 // 67 // PedRMS/pair = PedRMS (form. (3)) / Sqrt(7)66 // PedRMS/pair = PedRMS (form. (3)) * Sqrt(2) 68 67 // 69 68 // (However, we know that our slice-to-slice fluctuations are not Gaussian 70 69 // (and moreover asymmetric) and that they are also correlated.) 71 70 // 72 // We could still measure also the pair-to-pair fluctuations and add another73 // value to be investigated. What do you think?74 //75 71 // 76 72 // Input Containers:
Note:
See TracChangeset
for help on using the changeset viewer.