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
IdToInfoItr find(unsigned int) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
constexpr uint32_t rawId() const
get the raw id
constexpr uint16_t localY(uint16_t py)
LocalError localPositionError() const override
Return the 3-dimensional error on the local position.
const FWEventItem * item() const
static const int kAll3DBits
LocalPoint localPosition() const override
Return the 3-dimensional local position.
~FWRPCRecHitProxyBuilder() override
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
void buildViewType(const RPCRecHit &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType type, const FWViewContext *) override
bool contains(unsigned int id) const
const FWRPCRecHitProxyBuilder & operator=(const FWRPCRecHitProxyBuilder &)=delete
constexpr uint16_t localX(uint16_t px)
bool haveSingleProduct() const override
FWRPCRecHitProxyBuilder()
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr
const FWGeometry * getGeom() const