|
typedef std::vector< Product * >
::iterator | Product_it |
|
virtual void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) |
|
virtual void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) |
|
virtual void | buildViewType (const reco::Track &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
const reco::Track & | 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 |
|
void FWTracksRecHitsProxyBuilder::build |
( |
const reco::Track & |
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< reco::Track >.
Definition at line 37 of file FWTracksRecHitsProxyBuilder.cc.
References fireworks::addSiStripClusters(), reco::Track::extra(), edm::Ref< C, T, F >::isAvailable(), FWProxyBuilderBase::item(), fireworks::pushPixelHits(), and FWProxyBuilderBase::setupAddElement().
39 if( track.extra().isAvailable() )
41 std::vector<TVector3> points;
45 TEvePointSet* pointSet =
new TEvePointSet();
46 for( std::vector<TVector3>::const_iterator it = points.begin(), itEnd = points.end(); it != itEnd; ++it )
48 pointSet->SetNextPoint( it->x(), it->y(), it->z());
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWEventItem * item() const
void pushPixelHits(std::vector< TVector3 > &pixelPoints, const FWEventItem &iItem, const reco::Track &t)
void addSiStripClusters(const FWEventItem *iItem, const reco::Track &t, class TEveElement *tList, bool addNearbyClusters, bool master)