8 #include "TEveStraightLineSet.h" 34 TEveElement& oItemHolder,
40 TEveElement& oItemHolder,
42 TEveStraightLineSet* marker =
new TEveStraightLineSet(
"marker");
45 TEveTrack*
track(
nullptr);
53 const double delta = 0.1;
54 marker->AddLine(
track->GetEndMomentum().Eta() -
delta,
60 marker->AddLine(
track->GetEndMomentum().Eta() -
delta,
66 marker->AddLine(
track->GetEndMomentum().Eta(),
69 track->GetEndMomentum().Eta(),
72 marker->AddLine(
track->GetEndMomentum().Eta() -
delta,
73 track->GetEndMomentum().Phi(),
76 track->GetEndMomentum().Phi(),
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
TEveTrackPropagator * getTrackPropagator() const
TEveTrack * prepareTrack(const reco::Track &track, TEveTrackPropagator *propagator, const std::vector< TEveVector > &extraRefPoints=std::vector< TEveVector >())
~FWElectronLegoProxyBuilder() override
const fireworks::Context & context() const
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
FWElectronLegoProxyBuilder()
static const int kAllLegoBits
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
const FWElectronLegoProxyBuilder & operator=(const FWElectronLegoProxyBuilder &)=delete