|
typedef std::vector< Product * >::iterator | Product_it |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | build (const void *, unsigned int iIndex, TEveElement &iItemHolder, const FWViewContext *)=0 |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
|
virtual void | buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0 |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) 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 () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
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 FWTrackTrackingRecHitProxyBuilder::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 29 of file FWTrackTrackingRecHitProxyBuilder.cc.
References fwLog, TrackingRecHit::geographicalId(), relativeConstraints::geom, FWEventItem::getGeom(), TrackingRecHit::isValid(), FWProxyBuilderBase::item(), fwlog::kError, TrackingRecHit::localPosition(), DetId::rawId(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), and FWProxyBuilderBase::setupAddElement().
36 TEvePointSet* pointSet =
new TEvePointSet;
45 if (!
geom->contains(rawid)) {
51 if (
hit->hasPositionAndError()) {
54 }
else if (
const SiStripRecHit1D*
hit = dynamic_cast<const SiStripRecHit1D*>(rechit)) {
55 if (
hit->hasPositionAndError()) {
60 float localPos[3] = {
pos.x(),
pos.y(),
pos.z()};
62 geom->localToGlobal(rawid, localPos, globalPos);
63 pointSet->SetNextPoint(globalPos[0], globalPos[1], globalPos[2]);
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
const FWGeometry * getGeom() const
DetId geographicalId() const
constexpr uint32_t rawId() const
get the raw id
virtual LocalPoint localPosition() const =0
const FWEventItem * item() const