6 TEveElement &oItemHolder,
11 TEvePointSet *rzps =
new TEvePointSet();
14 Float_t *trackPoints = trk->GetP();
15 unsigned int last = (trk->GetN() - 1) * 3;
16 float y = trackPoints[last + 1];
17 float z = trackPoints[last + 2];
20 for (
signed int i = 0;
i < ps->GetN(); ++
i) {
23 ps->GetPoint(
i, a, b, c);
27 else if (y > 0 && b < 0)
32 else if (z > 0 && c < 0)
35 rzps->SetNextPoint(a, b, c);
38 if (rzps->GetN() != 0)
const edm::EventSetup & c
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
TEvePointSet * getCollisionMarkers(const TEveTrack *)
TEveTrack * setupTrack(const reco::Track &)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const