130 likes | 256 Views
Timing Parameter Predictions. Daniel Aharoni August 21 st , 2007 UCLA Group Meeting. Since Last Week. Confirmed alct_dav_cable_delay shift with new firmware Worked on inputs and outputs for program Program now handles all chambers at the same time Added TTCrxCoarseDelay
E N D
Timing Parameter Predictions Daniel Aharoni August 21st, 2007 UCLA Group Meeting
Since Last Week • Confirmed alct_dav_cable_delay shift with new firmware • Worked on inputs and outputs for program • Program now handles all chambers at the same time • Added TTCrxCoarseDelay • User can shift measured MPC/afeb delays for alignment • User can modify an existing config file with new comp_timing, alct/clct_drift_delays, and match_trig_window_size • Changed format and name of the file holding the measured weighted average match_trig_alct_delays so that it will be easier to add more chamber’s values • Program now automatically aligns muons at MPC
alct_dav_cable_delay ME-3/2/15 is right on the boarder of 1 and 2 ME-3/1/10 has no reason to be off from what I can see
AFEB Input and Output • Inputs afeb_fine_delays for all chambers except a few ME+ chambers • ME+1/1/06 • ME+1/1/27 • ME+1/1/34 • ME+3/2/03 • ME+3/2/21 • ME+4/1/06 • Inputs afeb_thresholds for all chambers • afeb_fine_delays and afeb_thresholds added to config file output.
All Chambers • Added a 4th dimension to chamber array • Before there was no distinction between ‘+’ and ‘-’ chambers so program could only handle one side at a time • ME[station][ring][chamber] • Now the array of chambers has 4 instead of 3 dimensions… • ME[side][station][ring][chamber] where side = 0 for ‘-’ side and 1 for ‘+’ • When selecting a chamber user must enter ‘+’, ‘-’, or ‘x’ to define the side he/she is interested in • Entering MEx2/1/9 will show ME+2/1/9 and ME-2/1/9 • Entering ME-2/X/X will show all ME-2 chambers
TTCrxCoarseDelay • Inputs fiber lengths • Calculates the delay for each CCB in order to match with longest TTC to CCB fiber length • Then centers all predicted TTCrxCoarseDelays in a 15 bx window • Only have TTC to CCB fiber lengths for YE+1 • Automatically will recalculate all TTCrxCoarseDelays when another fiber length is added to txt file Within 1 bx
Shifting MPC/AFEB Delays • User enters in config file to modify • Program will ask user to define how much to shift each chamber in file • Shift is done by moving the afeb_fine_delays and mpc_tx_delay if necessary • If mpc_tx_delay is changed so will the mpc_rx_delay, and tmb_l1a_delay • If the shift pushes mpc_tx_delay to a negative number or an afeb_fine_delay out of range it will show a warning and a description of the problem • A new config file will be created containing the shift of values. The name of the new config file is new_”original file name”.xml
Modifying a Config File • User defines how much to change • comp_timing • clct_drift_delay • alct_drift_delay • match_trig_window_size • Corrections will be made to all dependent timing parameters • A new config file will be created with new values named new_”original file name” • A warning will come up if a timing parameter is change to a value that is not allowed
Aligning muons at MPC alct_skewclearAFEBMPC • Based on • afeb_fine_delays • alct_skewclear_delay • mpc_tx_delay • Time of flight (Not yet added) • Finds the chamber who has the longest afeb_fine_delay + alct_skewclear_delay and sets its mpc_tx_delay to 1 • Adjust all other chamber’s afeb_fine_delays and calculate its mpc_tx_delay such that all chambers are aligned at MPC • If by adjusting the afeb_fine_delays one or more afeb_fine_delay is pushed out of range (0 to 15) • The program will find the best way to move these delays into range (either 0 or 15) • Appears that the most an afeb_fine_delay will be moved is about 2 channles (17 15 or -2 0) • mpc_tx_delay is then adjusted depending on the match_trig_alct_delay
Example of Some Chambers After Alignment All chambers are with in 0.2bx of each other Before adjusting for match_trig_alct_delay
To Do • Add time of flight • Figure out why afeb_fine_delays do not match on the previous page