|
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 reco::Track &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
const reco::Track & | 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 |
|
void FWTracksModulesProxyBuilder::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 FWTracksModulesProxyBuilder.cc.
References DetId::det(), MuonSubdetId::DT, reco::Track::extra(), fwLog, relativeConstraints::geom, FWGeometry::getEveShape(), FWEventItem::getGeom(), fireworks::info(), edm::Ref< C, T, F >::isAvailable(), FWProxyBuilderBase::item(), fwlog::kDebug, DetId::Muon, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), FWProxyBuilderBase::setupAddElement(), and DetId::subdetId().
39 if(
track.extra().isAvailable() )
44 recIt != recItEnd; ++recIt )
46 DetId detid = ( *recIt )->geographicalId();
47 if(( *recIt )->isValid())
63 <<
"Failed to get shape extract for track-id " << iIndex <<
", tracking rec hit: "
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWEventItem * item() const
TEveGeoShape * getEveShape(unsigned int id) const
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::string info(const DetId &)
Detector det() const
get the detector field from this detid
const FWGeometry * getGeom() const