Changeset 12820
- Timestamp:
- 02/03/12 10:46:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/tools/fbsl.py
r12819 r12820 9 9 from myhisto import * 10 10 from hist import * 11 12 import sys 11 13 12 14 year, month, day = 2011, 11, 24 … … 42 44 bslMeanValues = np.zeros( ( nsteps, rd.NPIX) ) 43 45 44 45 46 def loopEvents( first, last, hist): 46 47 """ … … 48 49 """ 49 50 for ev in range( first, last ): 50 print 'Event', ev 51 if ev%100 == 0: print 'Event', ev 52 51 53 rd.next() 52 54 # rd.CorrectBaseline() … … 80 82 81 83 pixstephist = hist_array( rd.NPIX, 400, -99.5, 100.5, 82 'bsl_pix ', 'Pixel Baseline',84 'bsl_pix_step', 'Pixel Baseline', 83 85 'sample value in mV', 'Entries / 0.5 mV' ) 86 84 87 loopEvents( evranges[step], evranges[step+1], pixstephist ) 85 88 pixhist.y[:,:] += pixstephist.y[:,:]
Note:
See TracChangeset
for help on using the changeset viewer.