9 #include "TEvePointSet.h"
10 #include "TEveStraightLineSet.h"
37 TEvePointSet* pointSet =
new TEvePointSet;
40 TEveStraightLineSet* lineSet =
new TEveStraightLineSet;
43 double posx = iData.
x();
44 double posy = iData.
y();
45 double posz = iData.
z();
46 double errx = iData.
err_x();
47 double erry = iData.
err_y();
48 double errz = iData.
err_z();
50 pointSet->SetNextPoint( posx, posy, posz );
51 pointSet->SetNextPoint( posx + errx, posy + erry, posz + errz );
52 pointSet->SetNextPoint( posx - errx, posy - erry, posz - errz );
54 lineSet->AddLine( posx + errx, posy + erry, posz + errz,
55 posx - errx, posy - erry, posz - errz );
FWBeamSpotOnlineProxyBuilder(void)
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
REGISTER_PROXYBUILDER_METHODS()
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
static const int kAll3DBits
const FWBeamSpotOnlineProxyBuilder & operator=(const FWBeamSpotOnlineProxyBuilder &)
virtual ~FWBeamSpotOnlineProxyBuilder(void)