|
typedef std::vector< Product * >
::iterator | Product_it |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
virtual void | buildViewType (const ticl::Trackster &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
const ticl::Trackster & | modelData (int index) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
|
void | clean () override |
|
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 |
|
Definition at line 8 of file FWTracksterProxyBuilder.cc.
FWTracksterProxyBuilder::FWTracksterProxyBuilder |
( |
void |
| ) |
|
|
inline |
FWTracksterProxyBuilder::~FWTracksterProxyBuilder |
( |
void |
| ) |
|
|
inlineoverride |
void FWTracksterProxyBuilder::build |
( |
const ticl::Trackster & |
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< ticl::Trackster >.
Definition at line 25 of file FWTracksterProxyBuilder.cc.
References phi, FWProxyBuilderBase::setupAddElement(), mathSSE::sqrt(), and theta().
31 const std::array<float, 3> &eigenvalues = trackster.eigenvalues();
32 const double theta = barycenter.Theta();
33 const double phi = barycenter.Phi();
35 auto eveEllipsoid =
new TEveGeoShape(
"Ellipsoid");
36 auto sphere =
new TGeoSphere(0., 1.);
37 eveEllipsoid->SetShape(sphere);
38 eveEllipsoid->InitMainTrans();
39 eveEllipsoid->RefMainTrans().Move3PF(barycenter.x(), barycenter.y(), barycenter.z());
40 eveEllipsoid->RefMainTrans().SetRotByAnyAngles(theta, phi, 0.,
"xzy");
41 eveEllipsoid->RefMainTrans().SetScale(
sqrt(eigenvalues[2]),
sqrt(eigenvalues[1]),
sqrt(eigenvalues[0]));
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Geom::Theta< T > theta() const
const std::string & FWTracksterProxyBuilder::classPurpose |
( |
| ) |
|
|
static |
const std::string & FWTracksterProxyBuilder::classRegisterTypeName |
( |
| ) |
|
|
static |
const std::string & FWTracksterProxyBuilder::classTypeName |
( |
| ) |
|
|
static |
const std::string & FWTracksterProxyBuilder::classView |
( |
| ) |
|
|
static |
const std::string& FWTracksterProxyBuilder::purpose |
( |
| ) |
const |
|
inline |
const std::string& FWTracksterProxyBuilder::typeName |
( |
| ) |
const |
|
inline |
const std::string& FWTracksterProxyBuilder::view |
( |
| ) |
const |
|
inline |