|
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 DTRecHit1DPair &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 DTRecHit1DPair & | 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 21 of file FWDTRecHitProxyBuilder.cc.
Reimplemented from FWSimpleProxyBuilderTemplate< DTRecHit1DPair >.
Definition at line 44 of file FWDTRecHitProxyBuilder.cc.
References DTRecHit1DPair::componentRecHit(), fwLog, relativeConstraints::geom, B2GTnPMonitor_cfi::item, FWViewType::k3D, fwlog::kError, FWViewType::kISpy, FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, DTWireId::layerId(), DTEnums::Left, DTRecHit1D::localPosition(), DTEnums::Right, fireworks::setupAddElement(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), DTRecHit1DPair::wireId(), and PV3DBase< T, PVType, FrameType >::x().
54 if (!
geom->contains(layerId)) {
55 fwLog(
fwlog::kError) <<
"failed get geometry of DT layer with detid: " << layerId << std::endl;
59 TEveStraightLineSet* recHitSet =
new TEveStraightLineSet;
62 TEvePointSet* pointSet =
new TEvePointSet;
72 float leftGlobalPoint[3];
73 float rightGlobalPoint[3];
75 geom->localToGlobal(layerId, lLocalPos, leftGlobalPoint, rLocalPos, rightGlobalPoint);
77 pointSet->SetNextPoint(leftGlobalPoint[0], leftGlobalPoint[1], leftGlobalPoint[2]);
78 pointSet->SetNextPoint(rightGlobalPoint[0], rightGlobalPoint[1], rightGlobalPoint[2]);
80 recHitSet->AddLine(leftGlobalPoint[0],
int superLayer() const
Return the superlayer number.
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWGeometry * getGeom() const
DTSuperLayerId superlayerId() const
Return the corresponding SuperLayerId.
DTLayerId layerId() const
Return the corresponding LayerId.
const FWEventItem * item() const
LocalPoint localPosition() const override
Return the 3-dimensional local position.
const DTRecHit1D * componentRecHit(DTEnums::DTCellSide lrSide) const
Return the left/right DTRecHit1D.