1 #include "TEveGeoNode.h" 2 #include "TEveStraightLineSet.h" 30 TEveElement& oItemHolder,
39 TEveElement& oItemHolder,
44 unsigned int rawid = me0Id.
rawId();
55 TEveStraightLineSet* recHitSet =
new TEveStraightLineSet;
56 recHitSet->SetLineWidth(3);
61 shape->SetMainTransparency( 75 );
62 shape->SetMainColor(
item()->defaultDisplayProperties().
color());
63 recHitSet->AddElement( shape );
75 localX - localXerr, localY, localZ
80 localX + localXerr, localY, localZ
85 localX, localY - localYerr, localZ
90 localX, localY + localYerr, localZ
105 recHitSet->AddLine( globalU1[0], globalU1[1], globalU1[2],
106 globalU2[0], globalU2[1], globalU2[2] );
108 recHitSet->AddLine( globalV1[0], globalV1[1], globalV1[2],
109 globalV2[0], globalV2[1], globalV2[2] );
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
virtual bool haveSingleProduct() const
virtual ~FWME0RecHitProxyBuilder()
IdToInfoItr find(unsigned int) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWEventItem * item() const
static const int kAll3DBits
virtual LocalError localPositionError() const
Return the 3-dimensional error on the local position.
uint32_t rawId() const
get the raw id
TEveGeoShape * getEveShape(unsigned int id) const
virtual void buildViewType(const ME0RecHit &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *)
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
virtual LocalPoint localPosition() const
Return the 3-dimensional local position.
bool contains(unsigned int id) const
FWME0RecHitProxyBuilder()
ME0DetId me0Id() const
Return the gemId.
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr
const FWGeometry * getGeom() const
const FWME0RecHitProxyBuilder & operator=(const FWME0RecHitProxyBuilder &)