23#ifndef genfit_EventDisplay_h
24#define genfit_EventDisplay_h
35#include <TGNumberEntry.h>
36#include <TGButtonGroup.h>
77 void addEvent(std::vector<genfit::Track*>& tracks);
78 void addEvent(std::vector<const genfit::Track*>& tracks);
88 void next(
unsigned int stp = 1);
91 void prev(
unsigned int stp = 1);
162 TEveBox*
boxCreator(TVector3 o, TVector3 u, TVector3 v,
float ud,
float vd,
float depth);
165 const Color_t& color,
const Style_t& style,
bool drawMarkers,
bool drawErrors,
double lineWidth = 2,
int markerPos = 1);
171 std::vector< std::vector<genfit::Track*>* >
events_;
Abstract base class for a track representation.
Event display designed to run with Genfit.
void guiSelectMmHandling(int val)
TGNumberEntry * guiDebugLvl_
void next(unsigned int stp=1)
Go to the next event or step a certain number of events ahead.
TEveBox * boxCreator(TVector3 o, TVector3 u, TVector3 v, float ud, float vd, float depth)
Create a box around o, oriented along u and v with widths ud, vd and depth and return a pointer to th...
TGCheckButton * guiDrawPlanes_
TGCheckButton * guiDrawGeometry_
void addEvent(std::vector< const genfit::Track * > &tracks)
TGCheckButton * guiDrawTrack_
int getNEvents()
Get the total number of events stored.
eMultipleMeasurementHandling mmHandling_
TGCheckButton * guiDrawBackward_
void addEvent(std::vector< genfit::Track * > &tracks)
Add new event.
void drawEvent(unsigned int id, bool resetCam=true)
Draw an event.
TGCheckButton * guiDrawErrors_
TGCheckButton * guiSquareRootFormalism_
TGCheckButton * guiRefit_
void gotoEvent(unsigned int id)
Go to event with index id.
TGCheckButton * guiDrawAllTracks_
void prev(unsigned int stp=1)
Go to the previous event or step a certain number of events back.
TGNumberEntry * guiRelChi2_
TGNumberEntry * guiNMinIter_
TGNumberEntry * guiNMaxFailed_
TGCheckButton * guiDrawScaleMan_
void setErrScale(double errScale=1.)
Set the scaling factor for the visualization of the errors.
TGCheckButton * guiDrawRefTrack_
TGNumberEntry * guiTrackId_
TGNumberEntry * guiRepId_
std::vector< std::vector< genfit::Track * > * > events_
bool squareRootFormalism_
TGCheckButton * guiDrawAutoScale_
void reset()
Drop all events.
static EventDisplay * getInstance()
TGNumberEntry * guiDPVal_
TGCheckButton * guiDrawCardinalRep_
void makeGui()
Build the buttons for event navigation.
TGNumberEntry * guiErrorScale_
TGCheckButton * guiDrawHits_
TGCheckButton * guiResort_
void setOptions(std::string opts)
Set the display options.
TGButtonGroup * guiMmHandling_
void makeLines(const StateOnPlane *prevState, const StateOnPlane *state, const AbsTrackRep *rep, const Color_t &color, const Style_t &style, bool drawMarkers, bool drawErrors, double lineWidth=2, int markerPos=1)
TGCheckButton * guiDrawForward_
static EventDisplay * eventDisplay_
void guiSelectFitterId(int val)
void addEvent(const Track *tr)
Add new event.
TGCheckButton * guiDrawDetectors_
TGButtonGroup * guiFitterId_
void open()
Open the event display.
TGCheckButton * guiDrawTrackMarkers_
TGNumberEntry * guiNMaxIter_
double getErrScale()
Get the error scaling factor.
TGNumberEntry * guiEvent2
A state with arbitrary dimension defined in a DetPlane.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
eMultipleMeasurementHandling