test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWPFTrackLegoProxyBuilder.cc
Go to the documentation of this file.
2 
3 //______________________________________________________________________________
4 void
5 FWPFTrackLegoProxyBuilder::build( const reco::Track &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc )
6 {
7  FWPFTrackUtils *utils = new FWPFTrackUtils();
8  TEveStraightLineSet *legoTrack = utils->setupLegoTrack( iData );
9  setupAddElement( legoTrack, &oItemHolder );
10  delete utils;
11 }
12 
13 //______________________________________________________________________________
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
TEveStraightLineSet * setupLegoTrack(const reco::Track &)