CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Fireworks/ParticleFlow/plugins/FWPFTrackLegoProxyBuilder.cc

Go to the documentation of this file.
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    TEveStraightLineSet *legoTrack = m_trackUtils->setupLegoTrack( iData );
00008    legoTrack->SetRnrMarkers( true );
00009    setupAddElement( legoTrack, &oItemHolder ); 
00010 }
00011 
00012 //______________________________________________________________________________
00013 REGISTER_FWPROXYBUILDER( FWPFTrackLegoProxyBuilder, reco::Track, "PF Tracks", FWViewType::kLegoPFECALBit | FWViewType::kLegoBit );