src
Fireworks
ParticleFlow
plugins
FWPFTrackLegoProxyBuilder.cc
Go to the documentation of this file.
1
#include "
FWPFTrackLegoProxyBuilder.h
"
2
3
//______________________________________________________________________________
4
void
FWPFTrackLegoProxyBuilder::build
(
const
reco::Track
&iData,
5
unsigned
int
iIndex,
6
TEveElement &oItemHolder,
7
const
FWViewContext
*vc) {
8
FWPFTrackUtils
*
utils
=
new
FWPFTrackUtils
();
9
TEveStraightLineSet *legoTrack =
utils
->setupLegoTrack(iData);
10
setupAddElement
(legoTrack, &oItemHolder);
11
delete
utils
;
12
}
13
14
//______________________________________________________________________________
15
REGISTER_FWPROXYBUILDER
(
FWPFTrackLegoProxyBuilder
,
16
reco::Track
,
17
"PF Tracks"
,
18
FWViewType::kLegoPFECALBit
|
FWViewType::kLegoBit
);
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
FWProxyBuilderBase::setupAddElement
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition:
FWProxyBuilderBase.cc:350
FWPFTrackUtils
Definition:
FWPFTrackUtils.h:68
FWViewType::kLegoBit
Definition:
FWViewType.h:55
FWViewContext
Definition:
FWViewContext.h:32
FWPFTrackLegoProxyBuilder
Definition:
FWPFTrackLegoProxyBuilder.h:28
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:110
reco::Track
Definition:
Track.h:27
utils
Definition:
utils.py:1
FWPFTrackLegoProxyBuilder.h
FWViewType::kLegoPFECALBit
Definition:
FWViewType.h:57
Generated for CMSSW Reference Manual by
1.8.14