9 #include "TEvePointSet.h"
10 #include "TEveStraightLineSet.h"
36 TEveElement& oItemHolder,
38 TEvePointSet* pointSet =
new TEvePointSet;
41 TEveStraightLineSet* lineSet =
new TEveStraightLineSet;
44 double posx = iData.
x();
45 double posy = iData.
y();
46 double posz = iData.
z();
47 double errx = iData.
err_x();
48 double erry = iData.
err_y();
49 double errz = iData.
err_z();
51 pointSet->SetNextPoint(posx, posy, posz);
52 pointSet->SetNextPoint(posx + errx, posy + erry, posz + errz);
53 pointSet->SetNextPoint(posx - errx, posy - erry, posz - errz);
55 lineSet->AddLine(posx + errx, posy + erry, posz + errz, posx - errx, posy - erry, posz - errz);