LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Helper class to setup scroll bars in evdb::ScanWindow. More...
#include "ScanWindow.h"
Public Member Functions | |
ScanFrame (TGCompositeFrame *f) | |
virtual | ~ScanFrame () |
TGGroupFrame * | GetFrame () const |
void | SetCanvas (TGCanvas *canvas) |
void | HandleMouseWheel (Event_t *event) |
void | RadioButton () |
void | ClearFields () |
void | Record (std::string outfilename, const char *comments) |
int | GetHeight () const |
int | GetWidth () const |
Private Attributes | |
TGGroupFrame * | fFrame |
TGCanvas * | fCanvas |
TGLayoutHints * | fFrameHints |
TGLayoutHints * | fFieldFrameHints |
TGLayoutHints * | fCatFrameLH |
std::vector< TGGroupFrame * > | fCatFrames |
Mother for a category. More... | |
std::vector< TGHorizontalFrame * > | fFieldFrames |
Mother for each field. More... | |
std::vector< TGTextEntry * > | fTextBoxes |
Text box fields. More... | |
std::vector< TGLabel * > | fNumberLabels |
Label for number fields. More... | |
std::vector< TGNumberEntry * > | fNumberBoxes |
Number box fields. More... | |
std::vector< TGRadioButton * > | fRadioButtons |
Radio button fields. More... | |
std::vector< TGCheckButton * > | fCheckButtons |
Check button fields. More... | |
std::vector< int > | fRadioButtonIds |
Ids for the radio buttons. More... | |
Helper class to setup scroll bars in evdb::ScanWindow.
Definition at line 41 of file ScanWindow.h.
evdb::ScanFrame::ScanFrame | ( | TGCompositeFrame * | f | ) |
Definition at line 37 of file ScanWindow.cxx.
References evdb::ScanOptions::fCategories, fCatFrameLH, fCatFrames, fCheckButtons, fFieldFrameHints, fFieldFrames, evdb::ScanOptions::fFieldLabels, evdb::ScanOptions::fFieldsPerCategory, evdb::ScanOptions::fFieldTypes, fFrame, fFrameHints, fNumberBoxes, fNumberLabels, fRadioButtonIds, fRadioButtons, fTextBoxes, and kInputID.
Referenced by evdb::ScanWindow::BuildUserFields().
|
virtual |
Definition at line 143 of file ScanWindow.cxx.
References fCatFrameLH, fCatFrames, fCheckButtons, fFieldFrameHints, fFieldFrames, fFrame, fFrameHints, fNumberBoxes, fNumberLabels, fRadioButtons, and fTextBoxes.
void evdb::ScanFrame::ClearFields | ( | ) |
Definition at line 221 of file ScanWindow.cxx.
References fCheckButtons, evdb::ScanOptions::fFieldTypes, fNumberBoxes, fRadioButtons, and fTextBoxes.
Referenced by evdb::ScanWindow::Next(), evdb::ScanWindow::Prev(), and SetCanvas().
|
inline |
int evdb::ScanFrame::GetHeight | ( | ) | const |
int evdb::ScanFrame::GetWidth | ( | ) | const |
void evdb::ScanFrame::HandleMouseWheel | ( | Event_t * | event | ) |
void evdb::ScanFrame::RadioButton | ( | ) |
Definition at line 375 of file ScanWindow.cxx.
References fRadioButtonIds, and fRadioButtons.
Referenced by SetCanvas().
void evdb::ScanFrame::Record | ( | std::string | outfilename, |
const char * | comments | ||
) |
Definition at line 261 of file ScanWindow.cxx.
References simb::MCNeutrino::CCNC(), e, simb::MCParticle::E(), art::EventID::event(), fCheckButtons, evdb::ScanOptions::fFieldTypes, evdb::ScanOptions::fIncludeMCInfo, fNumberBoxes, fRadioButtons, fTextBoxes, evdb::EventHolder::GetEvent(), art::DataViewImpl::getManyByType(), art::Event::id(), evdb::EventHolder::Instance(), simb::MCNeutrino::InteractionType(), simb::kBeamNeutrino, simb::MCNeutrino::Lepton(), simb::MCNeutrino::Nu(), simb::MCParticle::PdgCode(), art::Event::run(), art::Event::subRun(), simb::MCParticle::Vx(), simb::MCParticle::Vy(), and simb::MCParticle::Vz().
Referenced by evdb::ScanWindow::Rec(), and SetCanvas().
|
inline |
Definition at line 50 of file ScanWindow.h.
References ClearFields(), fCanvas, GetHeight(), GetWidth(), HandleMouseWheel(), RadioButton(), and Record().
|
private |
Definition at line 62 of file ScanWindow.h.
Referenced by HandleMouseWheel(), and SetCanvas().
|
private |
Definition at line 65 of file ScanWindow.h.
Referenced by ScanFrame(), and ~ScanFrame().
|
private |
Mother for a category.
Definition at line 67 of file ScanWindow.h.
Referenced by ScanFrame(), and ~ScanFrame().
|
private |
Check button fields.
Definition at line 73 of file ScanWindow.h.
Referenced by ClearFields(), Record(), ScanFrame(), and ~ScanFrame().
|
private |
Definition at line 64 of file ScanWindow.h.
Referenced by ScanFrame(), and ~ScanFrame().
|
private |
Mother for each field.
Definition at line 68 of file ScanWindow.h.
Referenced by ScanFrame(), and ~ScanFrame().
|
private |
Definition at line 61 of file ScanWindow.h.
Referenced by GetFrame(), GetHeight(), GetWidth(), ScanFrame(), and ~ScanFrame().
|
private |
Definition at line 63 of file ScanWindow.h.
Referenced by ScanFrame(), and ~ScanFrame().
|
private |
Number box fields.
Definition at line 71 of file ScanWindow.h.
Referenced by ClearFields(), Record(), ScanFrame(), and ~ScanFrame().
|
private |
Label for number fields.
Definition at line 70 of file ScanWindow.h.
Referenced by ScanFrame(), and ~ScanFrame().
|
private |
Ids for the radio buttons.
Definition at line 74 of file ScanWindow.h.
Referenced by RadioButton(), and ScanFrame().
|
private |
Radio button fields.
Definition at line 72 of file ScanWindow.h.
Referenced by ClearFields(), RadioButton(), Record(), ScanFrame(), and ~ScanFrame().
|
private |
Text box fields.
Definition at line 69 of file ScanWindow.h.
Referenced by ClearFields(), Record(), ScanFrame(), and ~ScanFrame().