CMS 3D CMS Logo

FWPFTrack3DProxyBuilder.cc
Go to the documentation of this file.
2 
3 //______________________________________________________________________________
5  unsigned int iIndex,
6  TEveElement &oItemHolder,
7  const FWViewContext *vc) {
9  TEveTrack *trk = utils->setupTrack(iData);
10  TEvePointSet *ps = utils->getCollisionMarkers(trk);
11  setupAddElement(trk, &oItemHolder);
12  if (ps->GetN() != 0)
13  setupAddElement(ps, &oItemHolder);
14  else
15  delete ps;
16 
17  delete utils;
18 }
19 
20 //______________________________________________________________________________
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition: FWProxyBuilderFactory.h:33
FWPFTrack3DProxyBuilder.h
reco::Track
Definition: Track.h:27
FWPFTrack3DProxyBuilder
Definition: FWPFTrack3DProxyBuilder.h:25
FWProxyBuilderBase::setupAddElement
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition: FWProxyBuilderBase.cc:350
FWProxyBuilderBase::build
void build()
Definition: FWProxyBuilderBase.cc:110
FWViewContext
Definition: FWViewContext.h:32
FWViewType::k3DBit
Definition: FWViewType.h:50
utils
Definition: utils.py:1
FWPFTrackUtils
Definition: FWPFTrackUtils.h:68