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 FWGeometry::contains(), fwLog, TrackingRecHit::geographicalId(), relativeConstraints::geom, FWEventItem::getGeom(), TrackingRecHit::isValid(), FWProxyBuilderBase::item(), fwlog::kError, TrackingRecHit::localPosition(), FWGeometry::localToGlobal(), pos, DetId::rawId(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), FWProxyBuilderBase::setupAddElement(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
35 TEvePointSet* pointSet =
new TEvePointSet;
48 <<
"failed get geometry for detid: "
49 << rawid << std::endl;
55 if(
hit->hasPositionAndError())
62 if(
hit->hasPositionAndError())
68 float localPos[3] = {
pos.x(),
pos.y(),
pos.z() };
71 pointSet->SetNextPoint( globalPos[0], globalPos[1], globalPos[2] );
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void localToGlobal(unsigned int id, const float *local, float *global) const
const FWEventItem * item() const
uint32_t rawId() const
get the raw id
bool contains(unsigned int id) const
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
DetId geographicalId() const
virtual LocalPoint localPosition() const =0
const FWGeometry * getGeom() const
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.