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] );
const FWME0RecHitProxyBuilder & operator=(const FWME0RecHitProxyBuilder &)=delete
LocalError localPositionError() const override
Return the 3-dimensional error on the local position.
#define REGISTER_PROXYBUILDER_METHODS()
#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
const FWEventItem * item() const
static const int kAll3DBits
uint32_t rawId() const
get the raw id
LocalPoint localPosition() const override
Return the 3-dimensional local position.
TEveGeoShape * getEveShape(unsigned int id) const
~FWME0RecHitProxyBuilder() override
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
bool contains(unsigned int id) const
FWME0RecHitProxyBuilder()
ME0DetId me0Id() const
Return the gemId.
bool haveSingleProduct() const override
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr
const FWGeometry * getGeom() const
void buildViewType(const ME0RecHit &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override