15 #include "TEveTrack.h"
16 #include "TEveTrackPropagator.h"
61 t.fP = TEveVector( iData.
px(), iData.
py(), iData.
pz() );
64 TEveTrack* trk =
new TEveTrack(&t,
context().getTrackPropagator() );
const fireworks::Context & context() const
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
static const int kAll3DBits
REGISTER_PROXYBUILDER_METHODS()
virtual int charge() const
electric charge
virtual const Point & vertex() const
vertex position
virtual double px() const
x coordinate of momentum vector
virtual double pz() const
z coordinate of momentum vector
void setTrackTypePF(const reco::PFCandidate &pfCand, TAttLine *track)
Particle reconstructed by the particle flow algorithm.
virtual double py() const
y coordinate of momentum vector
const FWPFCandidate3DProxyBuilder & operator=(const FWPFCandidate3DProxyBuilder &)
virtual ~FWPFCandidate3DProxyBuilder()
FWPFCandidate3DProxyBuilder()