9 #include "TEvePointSet.h"
10 #include "TEveStraightLineSet.h"
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,
56 posx - errx, posy - erry, posz - errz );
FWBeamSpotOnlineProxyBuilder(void)
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
static const int kAll3DBits
const FWBeamSpotOnlineProxyBuilder & operator=(const FWBeamSpotOnlineProxyBuilder &)
virtual ~FWBeamSpotOnlineProxyBuilder(void)