Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Fireworks
ParticleFlow
plugins
FWPFTrackLegoProxyBuilder.cc
Go to the documentation of this file.
1
#include "
FWPFTrackLegoProxyBuilder.h
"
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
//______________________________________________________________________________
14
REGISTER_FWPROXYBUILDER
(
FWPFTrackLegoProxyBuilder
,
reco::Track
,
"PF Tracks"
,
FWViewType::kLegoPFECALBit
|
FWViewType::kLegoBit
);
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
FWPFTrackUtils
Definition:
FWPFTrackUtils.h:70
FWProxyBuilderBase::setupAddElement
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition:
FWProxyBuilderBase.cc:439
FWViewType::kLegoBit
Definition:
FWViewType.h:46
FWViewContext
Definition:
FWViewContext.h:32
FWPFTrackLegoProxyBuilder
Definition:
FWPFTrackLegoProxyBuilder.h:28
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:131
FWPFTrackUtils::setupLegoTrack
TEveStraightLineSet * setupLegoTrack(const reco::Track &)
Definition:
FWPFTrackUtils.cc:74
reco::Track
Definition:
Track.h:28
FWPFTrackLegoProxyBuilder.h
FWViewType::kLegoPFECALBit
Definition:
FWViewType.h:48
Generated for CMSSW Reference Manual by
1.8.5