Public Member Functions | |
FWBeamSpotOnlineProxyBuilder (void) | |
REGISTER_PROXYBUILDER_METHODS () | |
virtual | ~FWBeamSpotOnlineProxyBuilder (void) |
Private Member Functions | |
virtual void | build (const BeamSpotOnline &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
FWBeamSpotOnlineProxyBuilder (const FWBeamSpotOnlineProxyBuilder &) | |
const FWBeamSpotOnlineProxyBuilder & | operator= (const FWBeamSpotOnlineProxyBuilder &) |
Definition at line 17 of file FWBeamSpotOnlineProxyBuilder.cc.
FWBeamSpotOnlineProxyBuilder::FWBeamSpotOnlineProxyBuilder | ( | void | ) | [inline] |
Definition at line 20 of file FWBeamSpotOnlineProxyBuilder.cc.
{}
virtual FWBeamSpotOnlineProxyBuilder::~FWBeamSpotOnlineProxyBuilder | ( | void | ) | [inline, virtual] |
Definition at line 21 of file FWBeamSpotOnlineProxyBuilder.cc.
{}
FWBeamSpotOnlineProxyBuilder::FWBeamSpotOnlineProxyBuilder | ( | const FWBeamSpotOnlineProxyBuilder & | ) | [private] |
void FWBeamSpotOnlineProxyBuilder::build | ( | const BeamSpotOnline & | iData, |
unsigned int | iIndex, | ||
TEveElement & | oItemHolder, | ||
const FWViewContext * | |||
) | [private, virtual] |
iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement
Reimplemented from FWSimpleProxyBuilderTemplate< BeamSpotOnline >.
Definition at line 35 of file FWBeamSpotOnlineProxyBuilder.cc.
References BeamSpotOnline::err_x(), BeamSpotOnline::err_y(), BeamSpotOnline::err_z(), FWProxyBuilderBase::setupAddElement(), BeamSpotOnline::x(), BeamSpotOnline::y(), and BeamSpotOnline::z().
{ TEvePointSet* pointSet = new TEvePointSet; setupAddElement( pointSet, &oItemHolder ); TEveStraightLineSet* lineSet = new TEveStraightLineSet; setupAddElement( lineSet, &oItemHolder ); double posx = iData.x(); double posy = iData.y(); double posz = iData.z(); double errx = iData.err_x(); double erry = iData.err_y(); double errz = iData.err_z(); pointSet->SetNextPoint( posx, posy, posz ); pointSet->SetNextPoint( posx + errx, posy + erry, posz + errz ); pointSet->SetNextPoint( posx - errx, posy - erry, posz - errz ); lineSet->AddLine( posx + errx, posy + erry, posz + errz, posx - errx, posy - erry, posz - errz ); }
const FWBeamSpotOnlineProxyBuilder& FWBeamSpotOnlineProxyBuilder::operator= | ( | const FWBeamSpotOnlineProxyBuilder & | ) | [private] |
FWBeamSpotOnlineProxyBuilder::REGISTER_PROXYBUILDER_METHODS | ( | ) |