14 #include "TEveStraightLineSet.h"
15 #include "TEvePointSet.h"
65 TEvePointSet* pointSet =
new TEvePointSet;
66 TEveLine*
line =
new TEveLine;
67 TEveStraightLineSet* lineSet =
new TEveStraightLineSet;
70 for(; hit != iData.
recHits().second; hit++) {
72 unsigned int id = hit->geographicalId();
82 <<
"failed get geometry of SiPixelCluster with detid: "
98 pointSet->SetNextPoint( globalPoint[0], globalPoint[1], globalPoint[2] );
99 line->SetNextPoint( globalPoint[0], globalPoint[1], globalPoint[2] );
108 float localTop[3] = { 0.0, 0.0, 0.0 };
109 float localBottom[3] = { 0.0, 0.0, 0.0 };
114 float globalBottom[3];
115 geom->
localToGlobal(
id, localTop, globalTop, localBottom, globalBottom );
117 lineSet->AddLine( globalTop[0], globalTop[1], globalTop[2],
118 globalBottom[0], globalBottom[1], globalBottom[2] );
#define REGISTER_PROXYBUILDER_METHODS()
virtual ~FWTrajectorySeedProxyBuilder()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
float pixelLocalY(const double mpy, const int m_ncols)
const float * getParameters(unsigned int id) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
uint16_t firstStrip() const
const FWEventItem * item() const
static const int kAll3DBits
void localSiStrip(short strip, float *localTop, float *localBottom, const float *pars, unsigned int id)
recHitContainer::const_iterator const_iterator
const SiStripCluster * extractClusterFromTrackingRecHit(const TrackingRecHit *rh)
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
bool contains(unsigned int id) const
T const * get() const
Returns C++ pointer to the item.
FWTrajectorySeedProxyBuilder()
ClusterRef cluster() const
const FWTrajectorySeedProxyBuilder & operator=(const FWTrajectorySeedProxyBuilder &)
Pixel cluster – collection of neighboring pixels above threshold.
float pixelLocalX(const double mpx, const int m_nrows)
const FWGeometry * getGeom() const