Hint: Remember the rule white-to-the-right So when cable you testing is facing you, red cable is on top then the white wire of probe cable should be to the right.
MT2 Sectors 1-12 => Cable 1(1:12)
MT2 Sectors 13-24 => Cable 2(1:12)
As a result you will get:
$PREFIX.out Fit results
$PREFIX.ps Pictures of the fit
J1/ T: 1- 8 ---> test cable #1 J7/L2: 1- 8 ---> test cable #2 J2/ T: 9-16 ---> test cable #3 J8/L2: 9-16 ---> test cable #4 J3/ T: 17-24 ---> test cable #5 J9/L2: 17-24 ---> test cable #6
As a result you will get:
$PREFIX.out Fit results
$PREFIX.ps Pictures of the fit
CABLE 1: Odd Sector 3-10 CABLE 2: Odd Sector 11-18 CABLE 3: Odd Sector 19-T CABLE 4: Even Sector 3-10 CABLE 5: Even Sector 11-18 CABLE 6: Even Sector 19-T
Hints:
If the name convension can not be followed then create symbolic links.
% cd .. - go to upper direcotry
% paw
PAW> exec source/trim#fit PREFIX
PAW> exec source/trim#getfit PREFIX
PAW> exec source/trim#plot PREFIX
PAW> exec source/trim#view PREFIX
alternatively
PAW> exec ../source/trim#view PREFIX sec# layer# end#
As a result you will get:
$PREFIX.fit Fit results
PREFIX_secXX.hbk files will contain now
fitted histograms.
$PREFIX.hbk Fit results in Ntuple for easy
analysis
$PREFIX.ps Pictures of the fit.
Caution
$PREFIX.ps is a 114 pages monstrosity. Don't
blindly send it to printer, unless you love to look on
endless gaussian fits. You may want to do the following to
print few pictures of questionable channels:
PAW> for/file 69 filename.ps; meta 66 -111
PAW> exec source/trim#view PREFIX 24 1 2
PAW> exec source/trim#view PREFIX 24 4 1
PAW> exec source/trim#view PREFIX 13 6 1
PAW> ....
PAW> close 69
If this is the first time you do this procedure
If this is the second time you do this procedure
Now you have measuremnets before and after the trim, and
you can compare how the things improve because of the trim.
Edit command script trim_status.sh .
You can use the following script as an example.
You will get a set of pictures and histogram file trim_status.hbk with Ntuple that describe arrival times before trim, after trim and suggested trims.
| On the plot check if Red solid triangles are inside black box |
This measurement compares RS TDC arrival times. So there are 2 measurements involved: first is the RS TDC arrival time when RS trimming was performed, and the second is some time along the run.
% cd .. - go to upper direcotry
% paw
PAW> exec ../StepD/source/trim#fit check_46380
PAW> exec ../StepD/source/trim#getfit check_46380
As a result you will get:
check_46380.fit Fit results
check_46380_secXX.hbk files will contain now
fitted histograms.
check_46380.hbk Fit results in Ntuple for easy
analysis
You will get a set of pictures and histogram file trim_status.hbk with Ntuple that describe arrival times before trim, after trim and suggested trims.
| On the plot check if Purple open triangles are inside black box |