13 #include "TEveGeoNode.h"
14 #include "TEveStraightLineSet.h"
42 TEveElement& oItemHolder,
51 TEveElement& oItemHolder,
56 unsigned int rawid = gemId.
rawId();
67 TEveStraightLineSet* recHitSet =
new TEveStraightLineSet;
68 recHitSet->SetLineWidth(3);
73 shape->SetMainTransparency( 75 );
74 shape->SetMainColor(
item()->defaultDisplayProperties().
color());
75 recHitSet->AddElement( shape );
87 localX - localXerr, localY, localZ
92 localX + localXerr, localY, localZ
97 localX, localY - localYerr, localZ
102 localX, localY + localYerr, localZ
117 recHitSet->AddLine( globalU1[0], globalU1[1], globalU1[2],
118 globalU2[0], globalU2[1], globalU2[2] );
120 recHitSet->AddLine( globalV1[0], globalV1[1], globalV1[2],
121 globalV2[0], globalV2[1], globalV2[2] );
virtual LocalPoint localPosition() const
Return the 3-dimensional local position.
const FWGEMRecHitProxyBuilder & operator=(const FWGEMRecHitProxyBuilder &)
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
IdToInfoItr find(unsigned int) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
REGISTER_PROXYBUILDER_METHODS()
virtual void buildViewType(const GEMRecHit &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *)
virtual ~FWGEMRecHitProxyBuilder()
const FWEventItem * item() const
static const int kAll3DBits
FWGEMRecHitProxyBuilder()
uint32_t rawId() const
get the raw id
TEveGeoShape * getEveShape(unsigned int id) const
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
bool contains(unsigned int id) const
virtual LocalError localPositionError() const
Return the 3-dimensional error on the local position.
virtual bool haveSingleProduct() const
GEMDetId gemId() const
Return the gemId.
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr
const FWGeometry * getGeom() const