|
static std::string | typeOfBuilder () |
| Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
|
|
static bool | representsSubPart () |
|
static std::string | typeOfBuilder () |
| Used by the plugin system to determine how the proxy uses the data from FWEventItem. More...
|
|
typedef std::vector< Product * >
::iterator | Product_it |
|
const BeamSpotOnline & | modelData (int index) |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) |
|
virtual void | clean () |
|
virtual void | cleanLocal () |
|
TEveCompound * | createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const |
|
| FWProxyBuilderBase (const FWProxyBuilderBase &) |
|
void | increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset) |
|
virtual void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) |
|
virtual void | modelChanges (const FWModelIds &, Product *) |
|
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
|
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
|
FWSimpleProxyHelper | m_helper |
|
std::vector< Product * > | m_products |
|
FWBeamSpotOnlineProxyBuilder::FWBeamSpotOnlineProxyBuilder |
( |
void |
| ) |
|
|
inline |
virtual FWBeamSpotOnlineProxyBuilder::~FWBeamSpotOnlineProxyBuilder |
( |
void |
| ) |
|
|
inlinevirtual |
void FWBeamSpotOnlineProxyBuilder::build |
( |
const BeamSpotOnline & |
iData, |
|
|
unsigned int |
iIndex, |
|
|
TEveElement & |
oItemHolder, |
|
|
const FWViewContext * |
|
|
) |
| |
|
overrideprivatevirtual |
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().
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 );
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
FWBeamSpotOnlineProxyBuilder::REGISTER_PROXYBUILDER_METHODS |
( |
| ) |
|