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
);
FWViewType::kLegoBit
Definition:
FWViewType.h:55
REGISTER_FWPROXYBUILDER
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Definition:
FWProxyBuilderFactory.h:33
FWViewType::kLegoPFECALBit
Definition:
FWViewType.h:57
FWPFTrackLegoProxyBuilder
Definition:
FWPFTrackLegoProxyBuilder.h:28
FWPFTrackLegoProxyBuilder.h
reco::Track
Definition:
Track.h:27
FWProxyBuilderBase::setupAddElement
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Definition:
FWProxyBuilderBase.cc:350
FWProxyBuilderBase::build
void build()
Definition:
FWProxyBuilderBase.cc:110
FWViewContext
Definition:
FWViewContext.h:32
utils
Definition:
utils.py:1
FWPFTrackUtils
Definition:
FWPFTrackUtils.h:68
Generated for CMSSW Reference Manual by
1.8.16