; Add ability to write out the scaler rate at each scaler read ; for up to 10 scalers ; When g_writeout_scaler_filename is commented out then file ; is not written and other info not used. ; To get scaler indices look in TEMPLATE/hreport.template ; and sreport.template . ; In output file for each scaler read is the number of the scaler read and the ; time between scaler reads and then the rates for each scaler. ; g_writeout_scaler_filename = %d.scal ; INDEX_WRITEOUT_SCALERS = 347,351,187,191,321 ; NUM_WRITEOUT_SCALERS = 5 g_writeout_scaler_filename = 'charge_scalers/%d.scal' INDEX_WRITEOUT_SCALERS = 168,160,320,189,190,347,346,349,350 NUM_WRITEOUT_SCALERS = 9 ; Old charge calibrations from Run 16707; BCM1 in gain pos 1, BCM2 in ; gain position 2 ;point to scaler indices for BCM's gbcm1_index = 321 gbcm2_index = 322 gbcm3_index = 323 gunser_index = 324 ;gain factors for three cavity monitors ; gbcm1_gain = .0009435 ; microA/Hz ; gbcm2_gain = .0002849 ; microA/Hz ; gbcm3_gain = .0002537 ; microA/Hz ; gunser_gain = .00025000 ; microA/Hz ; ; From Feb99 BCM cal: ; gbcm1_gain = .00004811 ; microA/Hz ; gbcm2_gain = .00026421 ; microA/Hz ; gbcm3_gain = .00043343 ; microA/Hz ; gunser_gain = .00025000 ; microA/Hz ; JRA - adjust calibration factors by hand to get semi-sensible values (apr03) ; gbcm1_gain = .00008685 ; microA/Hz ; gbcm2_gain = .00029148 ; microA/Hz ; gbcm3_gain = .00043343 ; microA/Hz ; gunser_gain = .00025000 ; microA/Hz ;calibrations from DJM (07/11/03) ; gbcm1_gain = .00088114 ; microA/Hz ; gbcm2_gain = .00096397 ; microA/Hz ; gbcm3_gain = .00043343 ; microA/Hz ; gunser_gain = .00025000 ; microA/Hz ; gbcm1_offset = 249632. ; Hz ; gbcm2_offset = 249483. ; Hz ; gbcm3_offset = 245437. ; Hz ; gunser_offset = 250000. ; TEST ;even better calibrations from DJM (07/17/03) ; gbcm1_gain = .000889442 ; microA/Hz ; gbcm2_gain = .000973427 ; microA/Hz ; gbcm3_gain = .00043343 ; microA/Hz ; gunser_gain = .00025000 ; microA/Hz ; gbcm1_offset = 250390. ; Hz ; gbcm2_offset = 250207. ; Hz ; gbcm3_offset = 245437. ; Hz ; gunser_offset = 250000. ; TEST ;final calibrations from DJM (09/24/03) gbcm1_gain = .00088915 ; microA/Hz gbcm2_gain = .00097379 ; microA/Hz gbcm3_gain = .00043343 ; microA/Hz gunser_gain = .00025000 ; microA/Hz gbcm1_offset = 250368. ; Hz gbcm2_offset = 250220. ; Hz gbcm3_offset = 245437. ; Hz gunser_offset = 250000. ; TEST ;zero offsets for BCM s ; VALUES FROM REAL FIT: ; gbcm1_offset = 250632. ; Hz ; gbcm2_offset = 251195. ; Hz ; gbcm3_offset = 249543. ; Hz ; ; VALUES FROM BEAM OFF (starting point for jan99) ; gbcm1_offset = 244795. ; Hz ; gbcm2_offset = 253647. ; Hz ; gbcm3_offset = 245437. ; Hz ; gunser_offset = 250000. ; TEST ; gunser_offset = 545693. ; Hz ;define the threshold current at which beam is "on". (in microamps) g_beam_on_thresh_cur = 5.,1.5 bcm_for_threshold_cut = 2 ;point to hardware clock (1MHz scaler, scaler channel 325) gclock_index = 325 gclock_rate = 1.e+6