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