|
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::VertexCompositePtrCandidate &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::VertexCompositePtrCandidate & | 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 | 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::VertexCompositePtrCandidate >.
Definition at line 75 of file FWVertexCandidateProxyBuilder.cc.
82 TEveGeoManagerHolder gmgr(TEveGeoShape::GetGeoMangeur());
83 TEvePointSet* pointSet =
new TEvePointSet();
84 pointSet->SetNextPoint(
v.vx(),
v.vy(),
v.vz());
88 if (
item()->getConfig()->value<bool>(
"Draw Ellipse")) {
91 eveEllipsoid->
RefPos().Set(
v.vx(),
v.vy(),
v.vz());
95 for (
int i = 0;
i < 3;
i++)
96 for (
int j = 0;
j < 3;
j++) {
102 double ellipseScale = 1.;
106 eveEllipsoid->
SetScale(ellipseScale);
109 TMatrixDEigen eig(
m);
110 TVectorD vv(eig.GetEigenValuesRe());
111 eveEllipsoid->
RefExtent3D().Set(
sqrt(vv(0)) * ellipseScale,
sqrt(vv(1)) * ellipseScale,
sqrt(vv(2)) * ellipseScale);
113 eveEllipsoid->SetLineWidth(2);
115 eveEllipsoid->SetMainTransparency(
TMath::Min(100, 80 +
item()->defaultDisplayProperties().transparency() / 5));
120 eveEllipsoid->SetMainColor(color +
context().colorManager()->offsetOfLimitedColors());
124 if (
item()->getConfig()->value<bool>(
"Draw Tracks")) {
125 for (
unsigned int j = 0;
j <
v.numberOfDaughters();
j++) {
130 trk->SetMainColor(
item()->defaultDisplayProperties().color());
135 if (
item()->getConfig()->value<bool>(
"Draw Pseudo Track")) {
138 t.fV = TEveVector(
v.vx(),
v.vy(),
v.vz());
139 t.fP = TEveVector(-
v.p4().px(), -
v.p4().py(), -
v.p4().pz());
141 TEveTrack* trk =
new TEveTrack(&
t,
context().getTrackPropagator());
142 trk->SetLineStyle(7);
References HltBtagPostValidation_cff::c, FWProxyBuilderBase::context(), gather_cfg::cout, MillePedeFileConverter_cfg::e, FWEventItem::getConfig(), mps_fire::i, FWProxyBuilderBase::item(), dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, Min(), fireworks::prepareCandidate(), TEveEllipsoid::RefEMtx(), TEveEllipsoid::RefExtent3D(), TEveEllipsoid::RefPos(), TEveEllipsoid::SetScale(), FWProxyBuilderBase::setupAddElement(), mathSSE::sqrt(), OrderedSet::t, findQualityFiles::v, and FWProxyBuilderConfiguration::value().