TEveStraightLineSet* primary_vertex_ellipse_spd(Bool_t use_sigma=kTRUE, Float_t fx=30, Float_t fy=30, Float_t fz=10) { IlcESDEvent *esd = IlcEveEventManager::AssertESD(); const IlcESDVertex *spdv = esd->GetPrimaryVertexSPD(); if ( ! spdv->GetStatus()) { Info("primary_vertex_ellipse_spd", "Primary vertex SPD not available."); return 0; } TEveStraightLineSet* ls = make_vertex_ellipse(spdv, use_sigma, fx, fy, fz); ls->ApplyVizTag("REC PVTX Ellipse SPD"); assert_vertex_parent("Primary Vertex SPD", 6)->AddElement(ls); gEve->Redraw3D(); return ls; }
TEveStraightLineSet* primary_vertex_box_tpc(Bool_t use_sigma=kTRUE, Float_t fx=30, Float_t fy=30, Float_t fz=10) { IlcESDEvent *esd = IlcEveEventManager::AssertESD(); const IlcESDVertex *tpcv = esd->GetPrimaryVertexTPC(); if ( ! tpcv->GetStatus()) { Info("primary_vertex_box_tpc", "Primary vertex TPC not available."); return 0; } TEveStraightLineSet* ls = make_vertex_box(tpcv, use_sigma, fx, fy, fz); ls->ApplyVizTag("REC PVTX Box TPC"); assert_vertex_parent("Primary Vertex TPC", 5)->AddElement(ls); gEve->Redraw3D(); return ls; }
TEveStraightLineSet* primary_vertex(Bool_t use_sigma=kTRUE, Float_t fx=1, Float_t fy=1, Float_t fz=1) { IlcESDEvent *esd = IlcEveEventManager::AssertESD(); const IlcESDVertex *pv = esd->GetPrimaryVertex(); if ( ! pv->GetStatus()) { Info("primary_vertex", "Primary vertex not available."); return 0; } TEveStraightLineSet* ls = make_vertex_cross(pv, use_sigma, fx, fy, fz); ls->ApplyVizTag("REC PVTX"); assert_vertex_parent("Primary Vertex", 7)->AddElement(ls); gEve->Redraw3D(); return ls; }