35 #ifndef genfit_EventDisplay_h 36 #define genfit_EventDisplay_h 47 #include <TGNumberEntry.h> 48 #include <TGButtonGroup.h> 83 void addEvent(std::vector<genfit::Track *> &tracks);
84 void addEvent(std::vector<const genfit::Track *> &tracks);
94 void next(
unsigned int stp = 1);
97 void prev(
unsigned int stp = 1);
163 void drawEvent(
unsigned int id,
bool resetCam =
true);
168 TEveBox *boxCreator(TVector3 o, TVector3 u, TVector3
v,
float ud,
float vd,
float depth);
170 void makeLines(
const StateOnPlane *prevState,
const StateOnPlane *state,
const AbsTrackRep *rep,
const Color_t &color,
const Style_t &style,
bool drawMarkers,
bool drawErrors,
171 double lineWidth = 2,
int markerPos = 1);
174 unsigned int eventId_;
176 std::vector<std::vector<genfit::Track *> *> events_;
178 TGNumberEntry *guiEvent;
179 TGNumberEntry *guiEvent2;
181 TGCheckButton *guiDrawGeometry_;
183 TGCheckButton *guiDrawDetectors_;
185 TGCheckButton *guiDrawHits_;
187 TGCheckButton *guiDrawErrors_;
190 TGCheckButton *guiDrawPlanes_;
192 TGCheckButton *guiDrawTrackMarkers_;
193 bool drawTrackMarkers_;
195 TGCheckButton *guiDrawTrack_;
197 TGCheckButton *guiDrawRefTrack_;
199 TGCheckButton *guiDrawForward_;
201 TGCheckButton *guiDrawBackward_;
204 TGCheckButton *guiDrawAutoScale_;
206 TGCheckButton *guiDrawScaleMan_;
208 TGNumberEntry *guiErrorScale_;
212 TGCheckButton *guiDrawCardinalRep_;
213 bool drawCardinalRep_;
214 TGNumberEntry *guiRepId_;
217 TGCheckButton *guiDrawAllTracks_;
219 TGNumberEntry *guiTrackId_;
220 unsigned int trackId_;
222 TGCheckButton *guiRefit_;
224 TGNumberEntry *guiDebugLvl_;
225 unsigned int debugLvl_;
226 TGButtonGroup *guiFitterId_;
228 TGButtonGroup *guiMmHandling_;
231 TGCheckButton *guiSquareRootFormalism_;
232 bool squareRootFormalism_;
233 TGNumberEntry *guiDPVal_;
235 TGNumberEntry *guiRelChi2_;
237 TGNumberEntry *guiDChi2Ref_;
239 TGNumberEntry *guiNMinIter_;
240 unsigned int nMinIter_;
241 TGNumberEntry *guiNMaxIter_;
242 unsigned int nMaxIter_;
243 TGNumberEntry *guiNMaxFailed_;
245 TGCheckButton *guiResort_;
255 #endif // genfit_EventDisplay_h double getErrScale()
Get the error scaling factor.
void open()
Open the event display.
void guiSelectFitterId(int val)
void addEvent(std::vector< genfit::Track *> &tracks)
Add new event.
Event display designed to run with Genfit.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
int getNEvents()
Get the total number of events stored.
Abstract base class for a track representation.
void setOptions(std::string opts)
Set the display options.
void setErrScale(double errScale=1.)
Set the scaling factor for the visualization of the errors.
A state with arbitrary dimension defined in a DetPlane.
void gotoEvent(unsigned int id)
Go to event with index id.
void reset()
Drop all events.
void guiSelectMmHandling(int val)
static EventDisplay * getInstance()
void next(unsigned int stp=1)
Go to the next event or step a certain number of events ahead.
void prev(unsigned int stp=1)
Go to the previous event or step a certain number of events back.
eMultipleMeasurementHandling