|
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 reco::SecondaryVertexTagInfo &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 reco::SecondaryVertexTagInfo & | 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 22 of file FWSecVertexProxyBuilder.cc.
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< reco::SecondaryVertexTagInfo >.
Definition at line 41 of file FWSecVertexProxyBuilder.cc.
45 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
46 TEvePointSet* pointSet =
new TEvePointSet();
47 pointSet->SetMainColor(
item()->defaultDisplayProperties().color());
51 TGeoSphere* sphere =
new TGeoSphere(0, 0.002);
53 TEveGeoShape* shape =
new TEveGeoShape();
54 sphere->SetBoxDimensions(2.5, 2.5, 2.5);
55 shape->SetShape(sphere);
56 shape->SetMainColor(
item()->defaultDisplayProperties().color());
57 shape->SetMainTransparency(10);
59 TEveTrans&
t = shape->RefMainTrans();
62 for (
int i = 0;
i < 3;
i++)
63 for (
int j = 0;
j < 3;
j++) {
68 TMatrixD mm = svd.GetU();
70 for (
int i = 0;
i < 3;
i++)
71 for (
int j = 0;
j < 3;
j++) {
72 t(
i + 1,
j + 1) = mm(
i,
j);
74 TVectorD vv(eig.GetEigenValuesRe());
75 t.Scale(
sqrt(vv(0)) * 1000.,
sqrt(vv(1)) * 1000.,
sqrt(vv(2)) * 1000.);
76 t.SetPos(
v.x(),
v.y(),
v.z());
80 pointSet->SetNextPoint(
v.x(),
v.y(),
v.z());
89 TEveTrack* trk =
new TEveTrack(&
t,
context().getTrackPropagator());
90 trk->SetMainColor(
item()->defaultDisplayProperties().color());
References FWProxyBuilderBase::context(), MillePedeFileConverter_cfg::e, mps_fire::i, FWProxyBuilderBase::item(), dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), position, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), FWProxyBuilderBase::setupAddElement(), mathSSE::sqrt(), submitPVValidationJobs::t, HLT_FULL_cff::track, and findQualityFiles::v.