GENFIT
Rev:NoNumberAvailable
|
Go to the documentation of this file.
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);
157 void drawEvent(
unsigned int id,
bool resetCam =
true);
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_;
253 #endif // genfit_EventDisplay_h
TGCheckButton * guiDrawPlanes_
TGCheckButton * guiDrawScaleMan_
TGNumberEntry * guiErrorScale_
Event display designed to run with Genfit.
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...
TGButtonGroup * guiFitterId_
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
TGCheckButton * guiResort_
TGCheckButton * guiDrawGeometry_
void drawEvent(unsigned int id, bool resetCam=true)
Draw an event.
TGNumberEntry * guiNMaxIter_
TGCheckButton * guiDrawTrack_
TGNumberEntry * guiRepId_
TGNumberEntry * guiDebugLvl_
TGCheckButton * guiDrawAllTracks_
void guiSelectMmHandling(int val)
TGNumberEntry * guiEvent2
TGCheckButton * guiDrawAutoScale_
Defines for I/O streams used for error and debug printing.
TGNumberEntry * guiRelChi2_
static EventDisplay * getInstance()
void setErrScale(double errScale=1.)
Set the scaling factor for the visualization of the errors.
TGNumberEntry * guiDPVal_
TGCheckButton * guiSquareRootFormalism_
TGCheckButton * guiDrawDetectors_
Abstract base class for a track representation.
TGButtonGroup * guiMmHandling_
void addEvent(std::vector< genfit::Track * > &tracks)
Add new event.
bool squareRootFormalism_
TGNumberEntry * guiDChi2Ref_
eMultipleMeasurementHandling mmHandling_
void reset()
Drop all events.
TGCheckButton * guiDrawCardinalRep_
TGNumberEntry * guiNMaxFailed_
TGNumberEntry * guiTrackId_
void next(unsigned int stp=1)
Go to the next event or step a certain number of events ahead.
TGCheckButton * guiDrawHits_
A state with arbitrary dimension defined in a DetPlane.
TGCheckButton * guiDrawRefTrack_
int getNEvents()
Get the total number of events stored.
static EventDisplay * eventDisplay_
void setOptions(std::string opts)
Set the display options.
void makeGui()
Build the buttons for event navigation.
void prev(unsigned int stp=1)
Go to the previous event or step a certain number of events back.
std::vector< std::vector< genfit::Track * > * > events_
TGCheckButton * guiDrawForward_
TGCheckButton * guiRefit_
TGCheckButton * guiDrawTrackMarkers_
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)
double getErrScale()
Get the error scaling factor.
TGCheckButton * guiDrawErrors_
TGNumberEntry * guiNMinIter_
eMultipleMeasurementHandling
void gotoEvent(unsigned int id)
Go to event with index id.
void guiSelectFitterId(int val)
TGCheckButton * guiDrawBackward_
void open()
Open the event display.