13 #include "TEveTrack.h" 49 TEveElement& oItemHolder,
56 if (
item()->getConfig()->value<bool>(
"Draw backward extrapolation")) {
59 t.fV = TEveVector(iData.
vx(), iData.
vy(), iData.
vz());
60 t.fP = TEveVector(-iData.
p4().px(), -iData.
p4().py(), -iData.
p4().pz());
62 TEveTrack* trk2 =
new TEveTrack(&
t,
context().getTrackPropagator());
63 trk2->SetLineStyle(7);
~FWCandidateProxyBuilder() override
#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
FWProxyBuilderConfiguration * getConfig() const
virtual double vx() const =0
x coordinate of vertex position
const FWCandidateProxyBuilder & operator=(const FWCandidateProxyBuilder &)=delete
static const int kAll3DBits
virtual double vy() const =0
y coordinate of vertex position
const fireworks::Context & context() const
FWCandidateProxyBuilder()
virtual void setItem(const FWEventItem *iItem)
virtual int charge() const =0
electric charge
FWGenericParameter< T > * assertParam(const std::string &name, T def)
virtual double vz() const =0
z coordinate of vertex position
TEveTrack * prepareCandidate(const reco::Candidate &track, TEveTrackPropagator *propagator)
void setItem(const FWEventItem *iItem) override
const FWEventItem * item() const
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector