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. More... | |
TGTextButton * | fButEvePrev = nullptr |
TextBox for plot options. More... | |
TGPictureButton * | fButOptNext = nullptr |
Refresh plot. More... | |
TGPictureButton * | fButOptPrev = nullptr |
TextBox for plot options. More... | |
TGTextButton * | fButOptRefresh = nullptr |
Previous plot option. More... | |
TCanvas * | fCanDefault = nullptr |
Refresh plot. More... | |
Int_t | fEventId = 0 |
TGLabel * | fEventIdLabel = nullptr |
TGNumberEntry * | fEventIdNumberBox = nullptr |
For row number. More... | |
Int_t | fEventRow = 0 |
TGLabel * | fEventRowLabel = nullptr |
< The main vertical frame for browser controlling More... | |
TGNumberEntry * | fEventRowNumberBox = nullptr |
Int_t | fEventSubId = 0 |
TGLabel * | fEventSubIdLabel = nullptr |
TGNumberEntry * | fEventSubIdNumberBox = nullptr |
For Event number. More... | |
TGComboBox * | fEventTypeComboBox = nullptr |
TGLabel * | fEventTypeLabel = nullptr |
For sub Event number. More... | |
TGPictureButton * | fExit = nullptr |
Open file button. More... | |
TGVerticalFrame * | fHFrame = nullptr |
Exit button. More... | |
TGPictureButton * | fMenuOpen = nullptr |
Next plot option. More... | |
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 |
TRestBrowser::TRestBrowser | ( | ) |
Definition at line 32 of file TRestBrowser.cxx.
TRestBrowser::TRestBrowser | ( | const TString & | viewerName, |
Double_t | geomScale = 0.1 |
||
) |
Definition at line 44 of file TRestBrowser.cxx.
TRestBrowser::~TRestBrowser | ( | ) |
Definition at line 49 of file TRestBrowser.cxx.
void TRestBrowser::EventTypeChangedAction | ( | Int_t | id | ) |
Definition at line 427 of file TRestBrowser.cxx.
|
static |
Definition at line 528 of file TRestBrowser.cxx.
|
inline |
Definition at line 89 of file TRestBrowser.h.
void TRestBrowser::IdValueChangedAction | ( | Long_t | val | ) |
Definition at line 437 of file TRestBrowser.cxx.
|
static |
Definition at line 242 of file TRestBrowser.cxx.
void TRestBrowser::Initialize | ( | const TString & | opt = "FI" | ) |
Definition at line 54 of file TRestBrowser.cxx.
|
private |
Definition at line 250 of file TRestBrowser.cxx.
|
private |
Definition at line 291 of file TRestBrowser.cxx.
void TRestBrowser::LoadFileAction | ( | ) |
Definition at line 517 of file TRestBrowser.cxx.
void TRestBrowser::NextEventAction | ( | ) |
Definition at line 457 of file TRestBrowser.cxx.
void TRestBrowser::NextPlotOptionAction | ( | ) |
Definition at line 383 of file TRestBrowser.cxx.
Bool_t TRestBrowser::OpenFile | ( | const TString & | filename | ) |
Definition at line 333 of file TRestBrowser.cxx.
void TRestBrowser::PlotAction | ( | ) |
Definition at line 407 of file TRestBrowser.cxx.
void TRestBrowser::PreviousEventAction | ( | ) |
Definition at line 487 of file TRestBrowser.cxx.
void TRestBrowser::PreviousPlotOptionAction | ( | ) |
Definition at line 395 of file TRestBrowser.cxx.
void TRestBrowser::RowValueChangedAction | ( | Long_t | val | ) |
Definition at line 413 of file TRestBrowser.cxx.
|
private |
void TRestBrowser::SetInputEvent | ( | TRestEvent * | event | ) |
Definition at line 244 of file TRestBrowser.cxx.
|
private |
Definition at line 124 of file TRestBrowser.cxx.
|
private |
Definition at line 106 of file TRestBrowser.cxx.
|
private |
Definition at line 92 of file TRestBrowser.cxx.
|
inline |
Definition at line 86 of file TRestBrowser.h.
|
protected |
Definition at line 62 of file TRestBrowser.h.
|
protected |
Previous plot option.
Definition at line 55 of file TRestBrowser.h.
|
protected |
TextBox for plot options.
Definition at line 54 of file TRestBrowser.h.
|
protected |
Refresh plot.
Definition at line 45 of file TRestBrowser.h.
|
protected |
TextBox for plot options.
Definition at line 43 of file TRestBrowser.h.
|
protected |
Previous plot option.
Definition at line 44 of file TRestBrowser.h.
|
protected |
Refresh plot.
Definition at line 57 of file TRestBrowser.h.
|
protected |
Definition at line 59 of file TRestBrowser.h.
|
protected |
Definition at line 32 of file TRestBrowser.h.
|
protected |
For row number.
Definition at line 35 of file TRestBrowser.h.
|
protected |
Definition at line 58 of file TRestBrowser.h.
|
protected |
< The main vertical frame for browser controlling
Definition at line 31 of file TRestBrowser.h.
|
protected |
Definition at line 34 of file TRestBrowser.h.
|
protected |
Definition at line 60 of file TRestBrowser.h.
|
protected |
Definition at line 33 of file TRestBrowser.h.
|
protected |
For Event number.
Definition at line 36 of file TRestBrowser.h.
|
protected |
Definition at line 39 of file TRestBrowser.h.
|
protected |
For sub Event number.
Definition at line 38 of file TRestBrowser.h.
|
private |
Definition at line 69 of file TRestBrowser.h.
|
protected |
Open file button.
Definition at line 48 of file TRestBrowser.h.
|
protected |
Exit button.
Definition at line 51 of file TRestBrowser.h.
|
private |
Definition at line 67 of file TRestBrowser.h.
|
protected |
Next plot option.
Definition at line 47 of file TRestBrowser.h.
|
protected |
Definition at line 41 of file TRestBrowser.h.
|
protected |
Definition at line 42 of file TRestBrowser.h.
|
protected |
Definition at line 63 of file TRestBrowser.h.
|
protected |
Definition at line 27 of file TRestBrowser.h.
|
protected |
Definition at line 26 of file TRestBrowser.h.
|
protected |
Definition at line 53 of file TRestBrowser.h.
|
protected |
Definition at line 52 of file TRestBrowser.h.
|
protected |
Definition at line 30 of file TRestBrowser.h.
|
private |
Definition at line 66 of file TRestBrowser.h.