8 #include "TEveStraightLineSet.h" 38 TEveStraightLineSet *
marker =
new TEveStraightLineSet(
"marker");
41 TEveTrack*
track(
nullptr);
49 const double delta = 0.1;
50 marker->AddLine(track->GetEndMomentum().Eta()-
delta, track->GetEndMomentum().Phi()-
delta, 0.1,
51 track->GetEndMomentum().Eta()+
delta, track->GetEndMomentum().Phi()+
delta, 0.1);
52 marker->AddLine(track->GetEndMomentum().Eta()-
delta, track->GetEndMomentum().Phi()+
delta, 0.1,
53 track->GetEndMomentum().Eta()+
delta, track->GetEndMomentum().Phi()-
delta, 0.1);
54 marker->AddLine(track->GetEndMomentum().Eta(), track->GetEndMomentum().Phi()-
delta, 0.1,
55 track->GetEndMomentum().Eta(), track->GetEndMomentum().Phi()+
delta, 0.1);
56 marker->AddLine(track->GetEndMomentum().Eta()-
delta, track->GetEndMomentum().Phi(), 0.1,
57 track->GetEndMomentum().Eta()+
delta, track->GetEndMomentum().Phi(), 0.1);
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
const fireworks::Context & context() const
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
TEveTrack * prepareTrack(const reco::Track &track, TEveTrackPropagator *propagator, const std::vector< TEveVector > &extraRefPoints=std::vector< TEveVector >())
~FWElectronLegoProxyBuilder() override
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
TEveTrackPropagator * getTrackPropagator() const
FWElectronLegoProxyBuilder()
static const int kAllLegoBits
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
const FWElectronLegoProxyBuilder & operator=(const FWElectronLegoProxyBuilder &)=delete