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 //______________________________________________________________________________
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition: utils.py:1