39 class QStandardItemModel;
41 class QCommandLineParser;
91 QTraceView(QCommandLineParser& parser, QWidget* parent=Q_NULLPTR);
112 void getNextEventWithTraces();
114 void getNextEventFromList();
120 void updateSelectableHits();
126 void handleRootEvents();
134 void createTopBoxWidget();
136 void createHitSelectWidget();
138 void createPlotWidget();
144 void configureSource(QString filename);
150 void createConnections(
bool useEvtList=
false);
156 void skipAndSelect(
int count);
161 void selectEventByIndex(
int idx);
173 void setStatusBar(std::string msg);
183 void enableGUI(
bool status);
188 void enableMainGUI(
bool status);
193 void enableSelectGUI(
bool status);
199 void issueWarning(std::string msg);
201 void issueEOFWarning();
208 void parseArgs(QCommandLineParser& parser);
214 void parseEventList(QString fname);
221 std::vector<ddastoys::DDASFitHit> m_hits;
222 std::vector<ddastoys::DDASFitHit> m_filteredHits;
228 std::vector<int> s_events;
231 EventList(std::vector<int> evts,
unsigned long idx=0)
232 : s_events(evts), s_idx(idx) {}
234 EventList m_eventList;
238 QMenuBar* m_pMenuBar;
240 QAction* m_pOpenAction;
241 QAction* m_pExitAction;
243 QPushButton* m_pMainButtons[3];
244 QPushButton* m_pSelectButtons[2];
245 QLineEdit* m_pSelectLineEdit;
246 QLineEdit* m_pHitFilter[3];
247 QWidget* m_pTopBoxes;
250 QListView* m_pHitSelectList;
251 QWidget* m_pPlotWidget;
255 QStatusBar* m_pStatusBar;
An interactive event processor integrated in the traceview GUI.
Definition: DDASDecoder.h:53
Provides an interface for calculating trace fits using HitExtension fit parameters.
Definition: FitManager.h:65
Widget for managing hit information when interating with the GUI.
Definition: QHitData.h:54
A ROOT canvas embedded in a Qt application.
Definition: QRootCanvas.h:45
Main traceview GUI window.
Definition: QTraceView.h:81
QTraceView(QCommandLineParser &parser, QWidget *parent=Q_NULLPTR)
Constructor.
Definition: QTraceView.cpp:69
virtual void changeEvent(QEvent *e)
Event handler for state changes.
Definition: QTraceView.cpp:128
virtual ~QTraceView()
Destructor.
Definition: QTraceView.cpp:112
Encapsulates data for DDAS hits that may have fitted traces.
Definition: DDASFitHit.h:46