|
typedef std::vector< Product * >::iterator | Product_it |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
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 (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) 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 |
|
virtual void | buildViewType (const TrajectorySeed &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
virtual void | buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0 |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
const TrajectorySeed & | 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 |
|
void FWTrajectorySeedProxyBuilder::build |
( |
const TrajectorySeed & |
iData, |
|
|
unsigned int |
iIndex, |
|
|
TEveElement & |
oItemHolder, |
|
|
const FWViewContext * |
|
|
) |
| |
|
overrideprivatevirtual |
iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement
Reimplemented from FWSimpleProxyBuilderTemplate< TrajectorySeed >.
Definition at line 51 of file FWTrajectorySeedProxyBuilder.cc.
60 TEvePointSet* pointSet =
new TEvePointSet;
61 TEveLine*
line =
new TEveLine;
62 TEveStraightLineSet* lineSet =
new TEveStraightLineSet;
65 unsigned int id =
hit.geographicalId();
67 const float* pars =
geom->getParameters(
id);
72 if (!
geom->contains(
id)) {
73 fwLog(
fwlog::kWarning) <<
"failed get geometry of SiPixelCluster with detid: " <<
id << std::endl;
77 float localPoint[3] = {
81 geom->localToGlobal(
id, localPoint, globalPoint);
83 pointSet->SetNextPoint(globalPoint[0], globalPoint[1], globalPoint[2]);
84 line->SetNextPoint(globalPoint[0], globalPoint[1], globalPoint[2]);
93 float localTop[3] = {0.0, 0.0, 0.0};
94 float localBottom[3] = {0.0, 0.0, 0.0};
99 float globalBottom[3];
100 geom->localToGlobal(
id, localTop, globalTop, localBottom, globalBottom);
102 lineSet->AddLine(globalTop[0], globalTop[1], globalTop[2], globalBottom[0], globalBottom[1], globalBottom[2]);
References SiPixelRecHit::cluster(), fireworks::extractClusterFromTrackingRecHit(), SiStripCluster::firstStrip(), fwLog, relativeConstraints::geom, edm::Ref< C, T, F >::get(), FWEventItem::getGeom(), FWProxyBuilderBase::item(), fwlog::kWarning, mps_splice::line, fireworks::localSiStrip(), fireworks::pixelLocalX(), fireworks::pixelLocalY(), TrajectorySeed::recHits(), and FWProxyBuilderBase::setupAddElement().