15ut.bookHist(h,
'Bx',
'Bx',60,-113.86,126.14,21,-44.09,79.81,102,-253.77,256.27)
16ut.bookHist(h,
'By',
'By',60,-113.86,126.14,21,-44.09,79.81,102,-253.77,256.27)
17ut.bookHist(h,
'Bz',
'Bz',60,-113.86,126.14,21,-44.09,79.81,102,-253.77,256.27)
18ut.bookHist(h,
'Byvsz',
'By vs z for x=1.4,y=1.6',102,-253.77,256.27)
19f=open(
'ExtGoliathFieldMap.txt',
'r')
25 x,y,z,Bx,By,Bz = line.split()
33 rc=h[
'Bx'].Fill(float(x),float(y),float(z),float(Bx))
34 rc=h[
'By'].Fill(float(x),float(y),float(z),float(By))
35 rc=h[
'Bz'].Fill(float(x),float(y),float(z),float(Bz))
37 if (round(x,2)==0.14)
and (round(y,2)==0.16):
38 rc=h[
'Byvsz'].Fill(float(z),float(By))
40ut.writeHists(h,
"GoliathFieldMap.root")