File indexing completed on 2024-04-06 12:11:51
0001 #include "FWPFTrackLegoProxyBuilder.h"
0002
0003
0004 void FWPFTrackLegoProxyBuilder::build(const reco::Track &iData,
0005 unsigned int iIndex,
0006 TEveElement &oItemHolder,
0007 const FWViewContext *vc) {
0008 FWPFTrackUtils *utils = new FWPFTrackUtils();
0009 TEveStraightLineSet *legoTrack = utils->setupLegoTrack(iData);
0010 setupAddElement(legoTrack, &oItemHolder);
0011 delete utils;
0012 }
0013
0014
0015 REGISTER_FWPROXYBUILDER(FWPFTrackLegoProxyBuilder,
0016 reco::Track,
0017 "PF Tracks",
0018 FWViewType::kLegoPFECALBit | FWViewType::kLegoBit);