5 #include "TEveGeoNode.h"
6 #include "TEveStraightLineSet.h"
37 unsigned int iIndex, TEveElement& oItemHolder,
const FWViewContext* )
46 shape->SetElementName(
"Det" );
52 <<
"failed to get shape of SiStripCluster with detid: "
53 << rawid << std::endl;
57 TEveStraightLineSet *lineSet =
new TEveStraightLineSet(
"strip" );
63 <<
"failed to geometry of SiStripCluster with detid: "
64 << rawid << std::endl;
69 float localTop[3] = { 0.0, 0.0, 0.0 };
70 float localBottom[3] = { 0.0, 0.0, 0.0 };
75 float globalBottom[3];
76 geom->
localToGlobal( rawid, localTop, globalTop, localBottom, globalBottom );
78 lineSet->AddLine( globalTop[0], globalTop[1], globalTop[2],
79 globalBottom[0], globalBottom[1], globalBottom[2] );
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
const float * getParameters(unsigned int id) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
uint16_t firstStrip() const
void localToGlobal(unsigned int id, const float *local, float *global) const
const FWEventItem * item() const
static const int kAll3DBits
void localSiStrip(short strip, float *localTop, float *localBottom, const float *pars, unsigned int id)
uint32_t geographicalId() const
const FWSiStripClusterProxyBuilder & operator=(const FWSiStripClusterProxyBuilder &)
TEveGeoShape * getEveShape(unsigned int id) const
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
bool contains(unsigned int id) const
REGISTER_PROXYBUILDER_METHODS()
const FWGeometry * getGeom() const
void increaseComponentTransparency(unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
virtual ~FWSiStripClusterProxyBuilder(void)
FWSiStripClusterProxyBuilder(void)