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);
~FWCandidateProxyBuilder() override
const fireworks::Context & context() const
FWProxyBuilderConfiguration * getConfig() const
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
virtual double vx() const =0
x coordinate of vertex position
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWCandidateProxyBuilder & operator=(const FWCandidateProxyBuilder &)=delete
virtual double vy() const =0
y coordinate of vertex position
const FWEventItem * item() const
static const int kAll3DBits
FWCandidateProxyBuilder()
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
virtual void setItem(const FWEventItem *iItem)
FWGenericParameter< T > * assertParam(const std::string &name, T def)
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
virtual int charge() const =0
electric charge
void setItem(const FWEventItem *iItem) override
virtual double vz() const =0
z coordinate of vertex position