CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWPFTrack3DProxyBuilder.cc
Go to the documentation of this file.
2 
3 //______________________________________________________________________________
5  unsigned int iIndex,
6  TEveElement &oItemHolder,
7  const FWViewContext *vc) {
8  FWPFTrackUtils *utils = new FWPFTrackUtils();
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_)
TEvePointSet * getCollisionMarkers(const TEveTrack *)
TEveTrack * setupTrack(const reco::Track &)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const