1 #include "TEvePointSet.h"
36 TEvePointSet* pointSet =
new TEvePointSet;
49 <<
"failed get geometry for detid: "
50 << rawid << std::endl;
54 if(
const SiStripRecHit2D*
hit = dynamic_cast<const SiStripRecHit2D*>( rechit ))
56 if(
hit->hasPositionAndError())
61 else if(
const SiStripRecHit1D*
hit = dynamic_cast<const SiStripRecHit1D*>( rechit ))
63 if(
hit->hasPositionAndError())
69 float localPos[3] = { pos.
x(), pos.
y(), pos.
z() };
72 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.