1 #include "TEvePointSet.h"
35 TEvePointSet* pointSet =
new TEvePointSet;
48 <<
"failed get geometry for detid: "
49 << rawid << std::endl;
53 if(
const SiStripRecHit2D*
hit = dynamic_cast<const SiStripRecHit2D*>( rechit ))
55 if(
hit->hasPositionAndError())
60 else if(
const SiStripRecHit1D*
hit = dynamic_cast<const SiStripRecHit1D*>( rechit ))
62 if(
hit->hasPositionAndError())
68 float localPos[3] = { pos.
x(), pos.
y(), pos.
z() };
71 pointSet->SetNextPoint( globalPos[0], globalPos[1], globalPos[2] );
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWEventItem * item() const
static const int kAll3DBits
uint32_t rawId() const
get the raw id
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
bool contains(unsigned int id) const
const FWTrackTrackingRecHitProxyBuilder & operator=(const FWTrackTrackingRecHitProxyBuilder &)
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
REGISTER_PROXYBUILDER_METHODS()
FWTrackTrackingRecHitProxyBuilder(void)
virtual ~FWTrackTrackingRecHitProxyBuilder(void)
DetId geographicalId() const
virtual LocalPoint localPosition() const =0
const FWGeometry * getGeom() const
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.