|
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 | 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 |
|
virtual void | buildViewType (const reco::CandSecondaryVertexTagInfo &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
const reco::CandSecondaryVertexTagInfo & | 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 |
|
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::CandSecondaryVertexTagInfo >.
Definition at line 43 of file FWSecVertexCandidateProxyBuilder.cc.
References DummyCfis::c, FWProxyBuilderBase::context(), gather_cfg::cout, MillePedeFileConverter_cfg::e, mps_fire::i, FWProxyBuilderBase::item(), dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), position, fireworks::prepareCandidate(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), FWProxyBuilderBase::setupAddElement(), l1trig_cff::shape, mathSSE::sqrt(), submitPVValidationJobs::t, and findQualityFiles::v.
47 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
48 TEvePointSet* pointSet =
new TEvePointSet();
49 pointSet->SetMainColor(
item()->defaultDisplayProperties().color());
53 TGeoSphere* sphere =
new TGeoSphere(0, 0.002);
55 TEveGeoShape*
shape =
new TEveGeoShape();
56 sphere->SetBoxDimensions(2.5, 2.5, 2.5);
57 shape->SetShape(sphere);
58 shape->SetMainColor(
item()->defaultDisplayProperties().color());
59 shape->SetMainTransparency(10);
61 TEveTrans&
t =
shape->RefMainTrans();
64 for (
int i = 0;
i < 3;
i++)
65 for (
int j = 0;
j < 3;
j++) {
70 TMatrixD mm = svd.GetU();
72 for (
int i = 0;
i < 3;
i++)
73 for (
int j = 0;
j < 3;
j++) {
74 t(
i + 1,
j + 1) = mm(
i,
j);
76 TVectorD vv(eig.GetEigenValuesRe());
77 t.Scale(
sqrt(vv(0)) * 1000.,
sqrt(vv(1)) * 1000.,
sqrt(vv(2)) * 1000.);
78 t.SetPos(
v.vx(),
v.vy(),
v.vz());
82 pointSet->SetNextPoint(
v.vx(),
v.vy(),
v.vz());
84 for (
unsigned int j = 0;
j <
v.numberOfDaughters();
j++) {
89 trk->SetMainColor(
item()->defaultDisplayProperties().color());
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
math::Error< dimension >::type Error
covariance error matrix (3x3)
const fireworks::Context & context() const
const VTX & secondaryVertex(unsigned int index) const
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
static int position[264][3]
const FWEventItem * item() const
unsigned int nVertices() const