13 #include "TEveTrack.h"
60 if (
item()->getConfig()->value<bool>(
"Draw backward extrapolation"))
64 t.fV = TEveVector(iData.
vx(),iData.
vy(),iData.
vz());
65 t.fP = TEveVector(-iData.
p4().px(), -iData.
p4().py(), -iData.
p4().pz());
67 TEveTrack* trk2=
new TEveTrack(&t,
context().getTrackPropagator());
68 trk2->SetLineStyle(7);
const FWCandidateProxyBuilder & operator=(const FWCandidateProxyBuilder &)
const fireworks::Context & context() const
FWProxyBuilderConfiguration * getConfig() const
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
virtual double vx() const =0
x coordinate of vertex position
const FWEventItem * item() const
static const int kAll3DBits
virtual double vy() const =0
y coordinate of vertex position
FWCandidateProxyBuilder()
virtual void setItem(const FWEventItem *iItem)
virtual int charge() const =0
electric charge
FWGenericParameter< T > * assertParam(const std::string &name, T def)
virtual void setItem(const FWEventItem *iItem) override
virtual double vz() const =0
z coordinate of vertex position
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
virtual ~FWCandidateProxyBuilder()