REST-for-Physics
v2.3
Rare Event Searches ToolKit for Physics
|
Event browser for different input file.
This class opens input file with TRestRun and shows the plot of each event The plot is shown through TRestEventViewer interface on the right. On the left there is a control bar to switch the events. Plot options can also be given.
RESTsoft - Software for Rare Event Searches with TPCs
History of developments:
2014-june: First concept. As part of conceptualization of previous REST code (REST v2) Igor G. Irastorza
2017-Aug: Major change: added for multi-thread capability Kaixiang Ni
Definition at line 24 of file TRestBrowser.h.
#include <TRestBrowser.h>
Public Member Functions | |
void | EventTypeChangedAction (Int_t id) |
TRestEventViewer * | GetViewer () const |
void | IdValueChangedAction (Long_t val) |
void | Initialize (const TString &opt="FI") |
void | LoadFileAction () |
void | NextEventAction () |
void | NextPlotOptionAction () |
Bool_t | OpenFile (const TString &filename) |
void | PlotAction () |
void | PreviousEventAction () |
void | PreviousPlotOptionAction () |
void | RowValueChangedAction (Long_t val) |
void | SetInputEvent (TRestEvent *) |
void | SetWindowName (const TString &windowName) |
TRestBrowser (const TString &viewerName, Double_t geomScale=0.1) | |
Static Public Member Functions | |
static void | ExitAction () |
static void | InitFromConfigFile () |
Protected Attributes | |
TBrowser * | fBrowser = nullptr |
TGTextButton * | fButEveNext = nullptr |
Previous plot option. | |
TGTextButton * | fButEvePrev = nullptr |
TextBox for plot options. | |
TGPictureButton * | fButOptNext = nullptr |
Refresh plot. | |
TGPictureButton * | fButOptPrev = nullptr |
TextBox for plot options. | |
TGTextButton * | fButOptRefresh = nullptr |
Previous plot option. | |
TCanvas * | fCanDefault = nullptr |
Refresh plot. | |
Int_t | fEventId = 0 |
TGLabel * | fEventIdLabel = nullptr |
TGNumberEntry * | fEventIdNumberBox = nullptr |
For row number. | |
Int_t | fEventRow = 0 |
TGLabel * | fEventRowLabel = nullptr |
< The main vertical frame for browser controlling | |
TGNumberEntry * | fEventRowNumberBox = nullptr |
Int_t | fEventSubId = 0 |
TGLabel * | fEventSubIdLabel = nullptr |
TGNumberEntry * | fEventSubIdNumberBox = nullptr |
For Event number. | |
TGComboBox * | fEventTypeComboBox = nullptr |
TGLabel * | fEventTypeLabel = nullptr |
For sub Event number. | |
TGPictureButton * | fExit = nullptr |
Open file button. | |
TGVerticalFrame * | fHFrame = nullptr |
Exit button. | |
TGPictureButton * | fMenuOpen = nullptr |
Next plot option. | |
TGLabel * | fPlotOptionLabel = nullptr |
TGTextEntry * | fPlotOptionTextBox = nullptr |
TRestRun * | fRestRun = nullptr |
TGMainFrame * | frmBot = nullptr |
TGMainFrame * | frmMain = nullptr |
TGTextEntry * | fSelectionTextBox = nullptr |
TGLabel * | fSelectionTextBoxLabel = nullptr |
TGVerticalFrame * | fVFrame = nullptr |
Private Member Functions | |
Bool_t | LoadEventEntry (Int_t n) |
Bool_t | LoadEventId (Int_t eventID, Int_t subEventID=-1) |
void | SetBottomPanelButtons () |
void | SetLeftPanelButtons () |
void | SetViewer (const TString &viewerName, Double_t geomScale=0.1) |
void | SetViewer (TRestEventViewer *eV, Double_t geomScale=0.1) |
Private Attributes | |
TRestEventViewer * | fEventViewer = nullptr |
TString | fInputFileName |
Bool_t | pureAnalysis |
|
private |