11 #include "TEveGeoNode.h" 12 #include "TEveStraightLineSet.h" 41 TEveElement& oItemHolder,
50 TEveElement& oItemHolder,
55 unsigned int rawid = rpcId.
rawId();
66 TEveStraightLineSet* recHitSet =
new TEveStraightLineSet;
67 recHitSet->SetLineWidth(3);
72 shape->SetMainTransparency( 75 );
73 shape->SetMainColor(
item()->defaultDisplayProperties().
color());
74 recHitSet->AddElement( shape );
86 localX - localXerr, localY, localZ
91 localX + localXerr, localY, localZ
96 localX, localY - localYerr, localZ
101 localX, localY + localYerr, localZ
116 recHitSet->AddLine( globalU1[0], globalU1[1], globalU1[2],
117 globalU2[0], globalU2[1], globalU2[2] );
119 recHitSet->AddLine( globalV1[0], globalV1[1], globalV1[2],
120 globalV2[0], globalV2[1], globalV2[2] );
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
const FWRPCRecHitProxyBuilder & operator=(const FWRPCRecHitProxyBuilder &)
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
RPCDetId rpcId() const
Return the rpcId.
TEveGeoShape * getEveShape(unsigned int id) const
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
virtual void buildViewType(const RPCRecHit &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override
bool contains(unsigned int id) const
virtual bool haveSingleProduct() const override
virtual ~FWRPCRecHitProxyBuilder()
virtual LocalError localPositionError() const
Return the 3-dimensional error on the local position.
virtual LocalPoint localPosition() const
Return the 3-dimensional local position.
FWRPCRecHitProxyBuilder()
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr
const FWGeometry * getGeom() const