11 #include "TEveGeoNode.h"
12 #include "TEveStraightLineSet.h"
40 TEveElement& oItemHolder,
49 TEveElement& oItemHolder,
54 unsigned int rawid = rpcId.
rawId();
65 TEveStraightLineSet* recHitSet =
new TEveStraightLineSet;
66 recHitSet->SetLineWidth(3);
71 shape->SetMainTransparency( 75 );
72 shape->SetMainColor(
item()->defaultDisplayProperties().
color());
73 recHitSet->AddElement( shape );
85 localX - localXerr, localY, localZ
90 localX + localXerr, localY, localZ
95 localX, localY - localYerr, localZ
100 localX, localY + localYerr, localZ
115 recHitSet->AddLine( globalU1[0], globalU1[1], globalU1[2],
116 globalU2[0], globalU2[1], globalU2[2] );
118 recHitSet->AddLine( globalV1[0], globalV1[1], globalV1[2],
119 globalV2[0], globalV2[1], globalV2[2] );
#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 ~FWRPCRecHitProxyBuilder()
virtual LocalError localPositionError() const
Return the 3-dimensional error on the local position.
virtual bool haveSingleProduct() const override
virtual LocalPoint localPosition() const
Return the 3-dimensional local position.
REGISTER_PROXYBUILDER_METHODS()
FWRPCRecHitProxyBuilder()
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr
const FWGeometry * getGeom() const