Hi,
I've added a root script in brat/scritps/calib/bb called refitSlewing.C
for checking slewing profiles and fits quickly and refit them if the fits
are bad.
Assuming that you have perforemed a slewing calibration and got a root
file bbslew.root, you can use this script like this:
root bbslew.root
root [0]
Attaching file <bbslew.root>
root [1] .L refitSlewing.C
root [2] display(<tube>, "<array>");
-----
<tube> is from 1 to 35 for right array
1 to 44 for left array
<array> is either "l" or "r"
if the fit looks not good (very bad chi2, slewing tail not fitted
correctly, etc), then
-----
root [3] refit(<min>, <max>, <tube>, "<array>")
The default values are:
<min> = 0.7
<max> = 3
<tube> = 1
<array> = "l"
That's all.
Ciao
Djam
--
Djamel Ouerdane ------------------------------------------o
| Niels Bohr Institute | Home: |
| Blegdamsvej 17, DK-2100 Ø | Jagtvej 141 2D, |
| Fax: +45 35 32 50 16 | DK-2200 Copenhagen N |
| Tel: +45 35 32 52 69 | +45 35 86 19 74 |
| http://www.nbi.dk/~ouerdane |
| ouerdane@nbi.dk |
o---------------------------------------------------------o
This archive was generated by hypermail 2b30 : Thu Apr 11 2002 - 06:38:11 EDT