|
typedef std::vector< Product * >::iterator | Product_it |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | build (const void *, unsigned int iIndex, TEveElement &iItemHolder, const FWViewContext *)=0 |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
|
virtual void | build (const ME0RecHit &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
|
virtual void | buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0 |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
const ME0RecHit & | modelData (int index) |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
|
void | clean () override |
|
virtual void | cleanLocal () |
|
TEveCompound * | createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const |
|
| FWProxyBuilderBase (const FWProxyBuilderBase &) |
|
void | increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset) |
|
virtual void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) |
|
virtual void | modelChanges (const FWModelIds &, Product *) |
|
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
|
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
|
FWSimpleProxyHelper | m_helper |
|
std::vector< Product * > | m_products |
|
Definition at line 12 of file FWME0RecHitProxyBuilder.cc.
Reimplemented from FWSimpleProxyBuilderTemplate< ME0RecHit >.
Definition at line 32 of file FWME0RecHitProxyBuilder.cc.
References fwLog, relativeConstraints::geom, FWEventItem::getGeom(), FWProxyBuilderBase::item(), FWViewType::k3D, fwlog::kError, FWViewType::kISpy, ME0RecHit::localPosition(), ME0RecHit::localPositionError(), ME0RecHit::me0Id(), DetId::rawId(), FWProxyBuilderBase::setupAddElement(), l1trig_cff::shape, mathSSE::sqrt(), LocalError::xx(), and LocalError::yy().
38 unsigned int rawid = me0Id.
rawId();
42 if (!
geom->contains(rawid)) {
43 fwLog(
fwlog::kError) <<
"failed to get geometry of ME0 roll with detid: " << rawid << std::endl;
47 TEveStraightLineSet* recHitSet =
new TEveStraightLineSet;
48 recHitSet->SetLineWidth(3);
51 TEveGeoShape*
shape =
geom->getEveShape(rawid);
52 shape->SetMainTransparency(75);
53 shape->SetMainColor(
item()->defaultDisplayProperties().color());
54 recHitSet->AddElement(
shape);
64 float localU1[3] = {localX - localXerr, localY, localZ};
66 float localU2[3] = {localX + localXerr, localY, localZ};
68 float localV1[3] = {localX, localY - localYerr, localZ};
70 float localV2[3] = {localX, localY + localYerr, localZ};
79 geom->localToGlobal(*det, localU1, globalU1);
80 geom->localToGlobal(*det, localU2, globalU2);
81 geom->localToGlobal(*det, localV1, globalV1);
82 geom->localToGlobal(*det, localV2, globalV2);
84 recHitSet->AddLine(globalU1[0], globalU1[1], globalU1[2], globalU2[0], globalU2[1], globalU2[2]);
86 recHitSet->AddLine(globalV1[0], globalV1[1], globalV1[2], globalV2[0], globalV2[1], globalV2[2]);
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
LocalPoint localPosition() const override
Return the 3-dimensional local position.
ME0DetId me0Id() const
Return the gemId.
const FWGeometry * getGeom() const
constexpr uint32_t rawId() const
get the raw id
LocalError localPositionError() const override
Return the 3-dimensional error on the local position.
const FWEventItem * item() const
std::vector< FWGeometry::GeomDetInfo >::const_iterator IdToInfoItr