00001 #include "FWPFTrackLegoProxyBuilder.h" 00002 00003 //______________________________________________________________________________ 00004 void 00005 FWPFTrackLegoProxyBuilder::build( const reco::Track &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc ) 00006 { 00007 FWPFTrackUtils *utils = new FWPFTrackUtils(); 00008 TEveStraightLineSet *legoTrack = utils->setupLegoTrack( iData ); 00009 setupAddElement( legoTrack, &oItemHolder ); 00010 delete utils; 00011 } 00012 00013 //______________________________________________________________________________ 00014 REGISTER_FWPROXYBUILDER( FWPFTrackLegoProxyBuilder, reco::Track, "PF Tracks", FWViewType::kLegoPFECALBit | FWViewType::kLegoBit );