![]() |
Diana Software
|
Class for pulse edit window. More...
Public Member Functions | |
| QGPulseEditWindow (const TGWindow *p=0, UInt_t w=280, UInt_t h=600) | |
| Constructor. More... | |
| virtual | ~QGPulseEditWindow () |
| Destructor. More... | |
| void | FillVariablesDropDownBoxes () |
| Fill drop down boxes with variables from the chain. More... | |
| QGCutsFrame * | GetEventDataFrame () |
| Get pointer to the event data frame. More... | |
| QGPlot * | GetPlot () |
| Get pointer to the pulse plot. More... | |
| QGPulseParametersFrame * | GetPulseParametersFrame () |
| Get pointer to the pulse parameters frame. More... | |
| void | ShowEventDataFrame () |
| Show event data frame. More... | |
| void | SetPlot (QGPlot *plot) |
| Set pointer to the pulse. More... | |
| void | ShowPulseParametersFrame () |
| Show parameters frame. More... | |
| void | UpdateEventData () |
| Update event data. More... | |
Public Member Functions inherited from QGPlotEditWindow | |
| QGPlotEditWindow (const TGWindow *p=0, UInt_t w=280, UInt_t h=450) | |
| Constructor. More... | |
| virtual | ~QGPlotEditWindow () |
| Destructor. More... | |
| QGPlotEditButtonsFrame * | GetButtonsFrame () |
| Get pointer to the buttons frame. More... | |
| QGCutsFrame * | GetCutsFrame () |
| Get pointer to the cuts frame. More... | |
| QGPlotStyleFrame * | GetPlotStyleFrame () |
| Get pointer to the plot style frame. More... | |
| void | ShowButtonsFrame () |
| Show buttons frame. More... | |
| void | ShowCutsFrame () |
| Show cuts frame. More... | |
| void | ShowPlotStyleFrame () |
| Show plot style frame. More... | |
Public Member Functions inherited from QGWindow | |
| QGWindow (const TGWindow *p=0, UInt_t w=100, UInt_t h=100) | |
| Constructor. More... | |
| virtual | ~QGWindow () |
| Destructor. More... | |
| virtual void | SetWindowName (const char *name=0) |
| Set name of window. More... | |
Private Attributes | |
| QGCutsFrame * | fEventDataFrame |
| Event data frame. More... | |
| QGPulse * | fPulse |
| Pointer to the QGPulse. More... | |
| QGPulseParametersFrame * | fPulseParametersFrame |
| Pulse parameters frame. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from QGWindow | |
| static QGWindow * | GetWindowByName (const std::string &name) |
| Get pointer to window with a given name. More... | |
| static const std::list< QGWindow * > & | GetWindows () |
| Get collection of windows. More... | |
| static bool | IsNameInUse (std::string name) |
| Check whether string is the name of any window. More... | |
| static std::string | GenerateWindowName (std::string baseName) |
| Generate a name for the window. More... | |
| static void | UpdateWindowDropDownBoxes () |
| Update window drop down boxes. More... | |
Protected Attributes inherited from QGPlotEditWindow | |
| QGPlotEditButtonsFrame * | fButtonsFrame |
| Buttons frame. More... | |
| QGCutsFrame * | fCutsFrame |
| Cuts frame. More... | |
| QGPlotStyleFrame * | fPlotStyleFrame |
| Canvas for plot style. More... | |
Protected Attributes inherited from QGWindow | |
| UInt_t | fWidth |
| Width of window. More... | |
| UInt_t | fHeight |
| Height of window. More... | |
Static Protected Attributes inherited from QGWindow | |
| static std::list< QGWindow * > | fWindows |
| Collection of pointers to all open QGWindows. More... | |
Class for pulse edit window.
Definition at line 17 of file QGPulseEditWindow.hh.
| QGPulseEditWindow::QGPulseEditWindow | ( | const TGWindow * | p = 0, |
| UInt_t | w = 280, |
||
| UInt_t | h = 600 |
||
| ) |
Constructor.
Definition at line 23 of file QGPulseEditWindow.cc.
References QGPlotEditWindow::fButtonsFrame, QGPlotEditWindow::fCutsFrame, fEventDataFrame, QGCutsFrame::GetCutsListBox(), QStringHandler::Resize(), QGPlotEditWindow::ShowButtonsFrame(), QGPlotEditWindow::ShowCutsFrame(), QGPlotEditButtonsFrame::ShowDefaultDisplay(), ShowEventDataFrame(), QGPlotEditWindow::ShowPlotStyleFrame(), and ShowPulseParametersFrame().
|
virtual |
Destructor.
Definition at line 42 of file QGPulseEditWindow.cc.
References fPulse, and QGPlot::SetPlotEditWindow().
|
virtual |
Fill drop down boxes with variables from the chain.
Implements QGPlotEditWindow.
Definition at line 49 of file QGPulseEditWindow.cc.
References QGDropDownBox::AddEntryS(), QGPlotEditWindow::fCutsFrame, fEventDataFrame, fPulse, fPulseParametersFrame, QGPlot::GetCanvasWindow(), QGFileHandler::GetDefaultPulseLabel(), QGCutsFrame::GetDropDownBox(), QGCanvasWindow::GetFileHandler(), QGPulseParametersFrame::GetOrderedByDropDownBox(), QGPulseParametersFrame::GetOrderVariable(), QGPulseParametersFrame::GetSamplesLabel(), QGPulseParametersFrame::GetSamplesLabelDropDownBox(), QGFileHandler::GetSetOfAliases(), QGFileHandler::GetSetOfLeaves(), QGFileHandler::GetSetOfQVectorAliases(), and QGFileHandler::GetSetOfQVectorLeaves().
Referenced by SetPlot().
|
inline |
Get pointer to the event data frame.
Definition at line 29 of file QGPulseEditWindow.hh.
References fEventDataFrame.
|
inlinevirtual |
Get pointer to the pulse plot.
Implements QGPlotEditWindow.
Definition at line 32 of file QGPulseEditWindow.hh.
References fPulse.
Referenced by QGPulseParametersFrame::HandleNextButton(), QGPulseParametersFrame::HandlePreviousButton(), and QGPulseParametersFrame::HandlePulseNumberBox().
|
inline |
Get pointer to the pulse parameters frame.
Definition at line 35 of file QGPulseEditWindow.hh.
References fPulseParametersFrame.
|
virtual |
Set pointer to the pulse.
Implements QGPlotEditWindow.
Definition at line 87 of file QGPulseEditWindow.cc.
References QGPlotEditWindow::fButtonsFrame, QGPlotEditWindow::fCutsFrame, fEventDataFrame, FillVariablesDropDownBoxes(), QGPlotEditButtonsFrame::FillWindowDropDownBox(), fPulse, fPulseParametersFrame, QGGraph::GetName(), QGCutsFrame::SetCuts(), QGPulseParametersFrame::SetEventIndex(), QGPulseParametersFrame::SetNumberOfEvents(), QGPulseParametersFrame::SetOrderVariable(), QGPulseParametersFrame::SetSamplesLabel(), QGPulseParametersFrame::SetSuperimpose(), QGPulseParametersFrame::SetUseADCUnits(), and QGWindow::SetWindowName().
| void QGPulseEditWindow::ShowEventDataFrame | ( | ) |
Show event data frame.
Definition at line 111 of file QGPulseEditWindow.cc.
References fEventDataFrame, and QGCutsFrame::SetLabel().
Referenced by QGPulseEditWindow().
| void QGPulseEditWindow::ShowPulseParametersFrame | ( | ) |
Show parameters frame.
Definition at line 118 of file QGPulseEditWindow.cc.
References fPulseParametersFrame.
Referenced by QGPulseEditWindow().
| void QGPulseEditWindow::UpdateEventData | ( | ) |
Update event data.
Definition at line 124 of file QGPulseEditWindow.cc.
References fEventDataFrame, fPulse, fPulseParametersFrame, QGPulse::GetEventData(), QGPulse::GetEventIndex(), QGPulse::GetNumberOfEvents(), QGCutsFrame::SetCuts(), QGPulseParametersFrame::SetEventIndex(), and QGPulseParametersFrame::SetNumberOfEvents().
|
private |
Event data frame.
Definition at line 51 of file QGPulseEditWindow.hh.
Referenced by FillVariablesDropDownBoxes(), GetEventDataFrame(), QGPulseEditWindow(), SetPlot(), ShowEventDataFrame(), and UpdateEventData().
|
private |
Pointer to the QGPulse.
Definition at line 54 of file QGPulseEditWindow.hh.
Referenced by FillVariablesDropDownBoxes(), GetPlot(), SetPlot(), UpdateEventData(), and ~QGPulseEditWindow().
|
private |
Pulse parameters frame.
Definition at line 57 of file QGPulseEditWindow.hh.
Referenced by FillVariablesDropDownBoxes(), GetPulseParametersFrame(), SetPlot(), ShowPulseParametersFrame(), and UpdateEventData().