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
virtual double vx() const =0
x coordinate of vertex position
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
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)
virtual void setItem(const FWEventItem *iItem) override
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
virtual int charge() const =0
electric charge
virtual double vz() const =0
z coordinate of vertex position
virtual ~FWCandidateProxyBuilder()