23 #ifndef genfit_EventDisplay_h 24 #define genfit_EventDisplay_h 35 #include <TGNumberEntry.h> 36 #include <TGButtonGroup.h> 71 void addEvent(std::vector<genfit::Track *> &tracks);
72 void addEvent(std::vector<const genfit::Track *> &tracks);
82 void next(
unsigned int stp = 1);
85 void prev(
unsigned int stp = 1);
151 void drawEvent(
unsigned int id,
bool resetCam =
true);
156 TEveBox *boxCreator(TVector3 o, TVector3 u, TVector3
v,
float ud,
float vd,
float depth);
158 void makeLines(
const StateOnPlane *prevState,
const StateOnPlane *state,
const AbsTrackRep *rep,
const Color_t &color,
const Style_t &style,
bool drawMarkers,
bool drawErrors,
159 double lineWidth = 2,
int markerPos = 1);
162 unsigned int eventId_;
164 std::vector<std::vector<genfit::Track *> *> events_;
166 TGNumberEntry *guiEvent;
167 TGNumberEntry *guiEvent2;
169 TGCheckButton *guiDrawGeometry_;
171 TGCheckButton *guiDrawDetectors_;
173 TGCheckButton *guiDrawHits_;
175 TGCheckButton *guiDrawErrors_;
178 TGCheckButton *guiDrawPlanes_;
180 TGCheckButton *guiDrawTrackMarkers_;
181 bool drawTrackMarkers_;
183 TGCheckButton *guiDrawTrack_;
185 TGCheckButton *guiDrawRefTrack_;
187 TGCheckButton *guiDrawForward_;
189 TGCheckButton *guiDrawBackward_;
192 TGCheckButton *guiDrawAutoScale_;
194 TGCheckButton *guiDrawScaleMan_;
196 TGNumberEntry *guiErrorScale_;
200 TGCheckButton *guiDrawCardinalRep_;
201 bool drawCardinalRep_;
202 TGNumberEntry *guiRepId_;
205 TGCheckButton *guiDrawAllTracks_;
207 TGNumberEntry *guiTrackId_;
208 unsigned int trackId_;
210 TGCheckButton *guiRefit_;
212 TGNumberEntry *guiDebugLvl_;
213 unsigned int debugLvl_;
214 TGButtonGroup *guiFitterId_;
216 TGButtonGroup *guiMmHandling_;
219 TGCheckButton *guiSquareRootFormalism_;
220 bool squareRootFormalism_;
221 TGNumberEntry *guiDPVal_;
223 TGNumberEntry *guiRelChi2_;
225 TGNumberEntry *guiDChi2Ref_;
227 TGNumberEntry *guiNMinIter_;
228 unsigned int nMinIter_;
229 TGNumberEntry *guiNMaxIter_;
230 unsigned int nMaxIter_;
231 TGNumberEntry *guiNMaxFailed_;
233 TGCheckButton *guiResort_;
243 #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