8 for i
in range(len(iblElements1)):
9 ibl_x1 = iblElements1[i][4]
10 ibl_y1 = iblElements1[i][5]
11 ibl_z1 = iblElements1[i][6]
13 ibl_x2 = iblElements2[i][4]
14 ibl_y2 = iblElements2[i][5]
15 ibl_z2 = iblElements2[i][6]
17 if iblElements1[i][0] == 0:
24 iblTransCan[
int(iblElements1[i][3]+10)].
cd()
25 line.SetLineColor(kMagenta+1)
26 line.DrawArrow(ibl_x1,ibl_y1,ibl_x1+TRASL_FACTOR*(ibl_x2-ibl_x1),ibl_y1+TRASL_FACTOR*(ibl_y2-ibl_y1),0.01,
"")
28 if int(iblElements1[i][3]) == 0:
30 line.SetLineColor(kMagenta+1)
31 line.DrawArrow(ibl_x1,ibl_y1,ibl_x1+TRASL_FACTOR*(ibl_x2-ibl_x1),ibl_y1+TRASL_FACTOR*(ibl_y2-ibl_y1),0.01,
"")
35 iblPoly = TPolyLine3D(2)
36 iblPoly.SetLineWidth(1)
37 iblPoly.SetLineColor(51 + 3*
int(iblElements1[i][2]))
43 ibl_x1+TRASL_FACTOR*(ibl_x2-ibl_x1),
44 ibl_y1+TRASL_FACTOR*(ibl_y2-ibl_y1),
45 ibl_z1+TRASL_FACTOR*(ibl_z2-ibl_z1))
46 iblLines[
int(iblElements1[i][2])].
append(iblPoly)
48 iblMark = TPolyMarker3D(1)
49 iblMark.SetMarkerSize(4)
51 iblMark.SetMarkerColor(51 +3*
int(iblElements1[i][2]))
52 iblMark.SetMarkerStyle(7)
57 iblPoints[
int(iblElements1[i][2])].
append(iblMark)
60 if iblElements1[i][0] == 4:
69 if iblElements1[i][0] == -4:
83 for i
in range(len(ibl3DStaves)):
87 for j
in range(len(iblLines[i])):
90 iblPoints[i][j].Draw()
93 iblPoints[i][j].Draw()