#include <DialogFrame.h>
Public Member Functions | |
void | areBremVisible () |
void | closeCanvasAttr () |
virtual void | CloseWindow () |
void | createCanvasAttr () |
void | createCmdFrame () |
DialogFrame (PFRootEventManager *evman, DisplayManager *dm, const TGWindow *p, UInt_t w, UInt_t h) | |
void | doLookForGenParticle () |
void | doModifyOptions (unsigned obj) |
void | doModifyPtThreshold (unsigned obj, double val) |
void | doNextEvent () |
void | doPreviousEvent () |
void | doPrint () |
void | doPrintGenParticles () |
void | doReProcessEvent () |
void | isPFBlockVisible () |
void | modifyAttr () |
virtual bool | ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2) |
void | selectPrintOption (int opt) |
void | unZoom () |
void | updateDisplay () |
virtual | ~DialogFrame () |
Private Attributes | |
TCanvas * | attrView_ |
TGCompositeFrame * | cmdFrame_ |
DisplayManager * | display_ |
PFRootEventManager * | evMan_ |
TGTextButton * | exitButton |
TGCompositeFrame * | mainFrame_ |
TGNumberEntryField * | maxLineEntry_ |
TGTextButton * | nextButton |
TGNumberEntryField * | particleTypeEntry_ |
TGTextButton * | previousButton |
TGCheckButton * | printButton_ [7] |
TGTextButton * | reProcessButton |
TGCheckButton * | selectObject_ [8] |
TGraph * | simplePartPattern_ |
TMarker * | thisClusPattern_ |
TGNumberEntryField * | threshEntry_ [6] |
TGDoubleHSlider * | thresholdS_ [6] |
TGraph * | trackPattern_ |
Static Private Attributes | |
static const int | EN =1 |
static const int | ENER =10 |
static const int | MAXL =20 |
static const int | PARTTYPE =30 |
static const int | PFBLOCK =40 |
Definition at line 23 of file DialogFrame.h.
DialogFrame::DialogFrame | ( | PFRootEventManager * | evman, |
DisplayManager * | dm, | ||
const TGWindow * | p, | ||
UInt_t | w, | ||
UInt_t | h | ||
) |
Definition at line 26 of file DialogFrame.cc.
References createCmdFrame(), and mainFrame_.
|
virtual |
void DialogFrame::areBremVisible | ( | ) |
Definition at line 407 of file DialogFrame.cc.
References display_, DisplayManager::displayAll(), DisplayManager::enableDrawBrem(), and selectObject_.
void DialogFrame::closeCanvasAttr | ( | ) |
Definition at line 46 of file DialogFrame.cc.
References attrView_, simplePartPattern_, thisClusPattern_, and trackPattern_.
Referenced by createCanvasAttr(), and modifyAttr().
|
virtual |
!!WARNING keep the first letter of the method uppercase.It is an overriden ROOT method
Definition at line 305 of file DialogFrame.cc.
void DialogFrame::createCanvasAttr | ( | ) |
Definition at line 56 of file DialogFrame.cc.
References attrView_, closeCanvasAttr(), DisplayManager::clusPattern_, display_, thisClusPattern_, trackPattern_, DisplayManager::trackPatternL_, DisplayManager::trackPatternM_, groupFilesInBlocks::tt, x, and detailsBasic3DVector::y.
void DialogFrame::createCmdFrame | ( | ) |
Definition at line 94 of file DialogFrame.cc.
References DisplayManager::clusEnMin_, display_, DisplayManager::drawBrems_, DisplayManager::drawClus_, DisplayManager::drawGenParticles_, DisplayManager::drawGsfTracks_, DisplayManager::drawHits_, DisplayManager::drawParticles_, DisplayManager::drawPFBlocks_, DisplayManager::drawTracks_, EN, ENER, evMan_, exitButton, DisplayManager::genParticlePtMin_, DisplayManager::gsfPtMin_, DisplayManager::hitEnMin_, i, diffTwoXMLs::label, MessageLogger_cff::limit, mainFrame_, MAXL, maxLineEntry_, nextButton, DisplayManager::particlePtMin_, particleTypeEntry_, PARTTYPE, previousButton, printButton_, PFRootEventManager::printClusters_, PFRootEventManager::printGenParticles_, PFRootEventManager::printPFBlocks_, PFRootEventManager::printPFCandidates_, PFRootEventManager::printPFJets_, PFRootEventManager::printRecHits_, PFRootEventManager::printSimParticles_, reProcessButton, selectObject_, findQualityFiles::size, threshEntry_, thresholdS_, and DisplayManager::trackPtMin_.
Referenced by DialogFrame().
void DialogFrame::doLookForGenParticle | ( | ) |
Definition at line 311 of file DialogFrame.cc.
References display_, DisplayManager::lookForGenParticle(), and particleTypeEntry_.
Referenced by doNextEvent(), doPreviousEvent(), and ProcessMessage().
void DialogFrame::doModifyOptions | ( | unsigned | obj | ) |
Definition at line 318 of file DialogFrame.cc.
References display_, DisplayManager::displayAll(), DisplayManager::drawClus_, DisplayManager::drawGenParticles_, DisplayManager::drawGsfTracks_, DisplayManager::drawHits_, DisplayManager::drawParticles_, DisplayManager::drawTracks_, and selectObject_.
void DialogFrame::doModifyPtThreshold | ( | unsigned | obj, |
double | val | ||
) |
Definition at line 348 of file DialogFrame.cc.
References DisplayManager::clusEnMin_, display_, DisplayManager::displayAll(), DisplayManager::genParticlePtMin_, DisplayManager::gsfPtMin_, DisplayManager::hitEnMin_, DisplayManager::particlePtMin_, and DisplayManager::trackPtMin_.
Referenced by ProcessMessage().
void DialogFrame::doNextEvent | ( | ) |
Definition at line 369 of file DialogFrame.cc.
References display_, DisplayManager::displayNext(), and doLookForGenParticle().
void DialogFrame::doPreviousEvent | ( | ) |
Definition at line 377 of file DialogFrame.cc.
References display_, DisplayManager::displayPrevious(), and doLookForGenParticle().
void DialogFrame::doPrint | ( | ) |
Definition at line 385 of file DialogFrame.cc.
References gather_cfg::cout, evMan_, maxLineEntry_, and PFRootEventManager::print().
void DialogFrame::doPrintGenParticles | ( | ) |
Definition at line 390 of file DialogFrame.cc.
References gather_cfg::cout, evMan_, maxLineEntry_, and PFRootEventManager::printGenParticles().
Referenced by ProcessMessage().
void DialogFrame::doReProcessEvent | ( | ) |
Definition at line 395 of file DialogFrame.cc.
References DisplayManager::display(), display_, PFRootEventManager::eventNumber(), and evMan_.
void DialogFrame::isPFBlockVisible | ( | ) |
Definition at line 401 of file DialogFrame.cc.
References display_, DisplayManager::enableDrawPFBlock(), and selectObject_.
void DialogFrame::modifyAttr | ( | ) |
Definition at line 465 of file DialogFrame.cc.
References closeCanvasAttr(), DisplayManager::clusPattern_, display_, DisplayManager::drawWithNewGraphicAttributes(), thisClusPattern_, trackPattern_, DisplayManager::trackPatternL_, and DisplayManager::trackPatternM_.
|
virtual |
Definition at line 478 of file DialogFrame.cc.
References doLookForGenParticle(), doModifyPtThreshold(), doPrintGenParticles(), EN, ENER, evMan_, getHLTprescales::index, MAXL, PARTTYPE, printButton_, PFRootEventManager::printGenParticles_, threshEntry_, and thresholdS_.
void DialogFrame::selectPrintOption | ( | int | opt | ) |
Definition at line 415 of file DialogFrame.cc.
References evMan_, printButton_, PFRootEventManager::printClusters_, PFRootEventManager::printGenParticles_, PFRootEventManager::printPFBlocks_, PFRootEventManager::printPFCandidates_, PFRootEventManager::printPFJets_, PFRootEventManager::printRecHits_, and PFRootEventManager::printSimParticles_.
void DialogFrame::unZoom | ( | ) |
void DialogFrame::updateDisplay | ( | ) |
Definition at line 444 of file DialogFrame.cc.
References display_, and DisplayManager::updateDisplay().
|
private |
Definition at line 54 of file DialogFrame.h.
Referenced by closeCanvasAttr(), and createCanvasAttr().
|
private |
Definition at line 39 of file DialogFrame.h.
|
private |
Definition at line 37 of file DialogFrame.h.
Referenced by areBremVisible(), createCanvasAttr(), createCmdFrame(), doLookForGenParticle(), doModifyOptions(), doModifyPtThreshold(), doNextEvent(), doPreviousEvent(), doReProcessEvent(), isPFBlockVisible(), modifyAttr(), unZoom(), and updateDisplay().
|
staticprivate |
Definition at line 28 of file DialogFrame.h.
Referenced by createCmdFrame(), and ProcessMessage().
|
staticprivate |
Definition at line 29 of file DialogFrame.h.
Referenced by createCmdFrame(), and ProcessMessage().
|
private |
Definition at line 35 of file DialogFrame.h.
Referenced by createCmdFrame(), doPrint(), doPrintGenParticles(), doReProcessEvent(), ProcessMessage(), and selectPrintOption().
|
private |
Definition at line 48 of file DialogFrame.h.
Referenced by createCmdFrame().
|
private |
Definition at line 38 of file DialogFrame.h.
Referenced by createCmdFrame(), DialogFrame(), and ~DialogFrame().
|
staticprivate |
Definition at line 30 of file DialogFrame.h.
Referenced by createCmdFrame(), and ProcessMessage().
|
private |
Definition at line 46 of file DialogFrame.h.
Referenced by createCmdFrame(), doPrint(), and doPrintGenParticles().
|
private |
Definition at line 48 of file DialogFrame.h.
Referenced by createCmdFrame().
|
private |
Definition at line 47 of file DialogFrame.h.
Referenced by createCmdFrame(), and doLookForGenParticle().
|
staticprivate |
Definition at line 31 of file DialogFrame.h.
Referenced by createCmdFrame(), and ProcessMessage().
|
staticprivate |
Definition at line 32 of file DialogFrame.h.
|
private |
Definition at line 48 of file DialogFrame.h.
Referenced by createCmdFrame().
|
private |
Definition at line 43 of file DialogFrame.h.
Referenced by createCmdFrame(), ProcessMessage(), and selectPrintOption().
|
private |
Definition at line 49 of file DialogFrame.h.
Referenced by createCmdFrame().
|
private |
Definition at line 42 of file DialogFrame.h.
Referenced by areBremVisible(), createCmdFrame(), doModifyOptions(), and isPFBlockVisible().
|
private |
Definition at line 57 of file DialogFrame.h.
Referenced by closeCanvasAttr().
|
private |
Definition at line 55 of file DialogFrame.h.
Referenced by closeCanvasAttr(), createCanvasAttr(), and modifyAttr().
|
private |
Definition at line 45 of file DialogFrame.h.
Referenced by createCmdFrame(), and ProcessMessage().
|
private |
Definition at line 44 of file DialogFrame.h.
Referenced by createCmdFrame(), and ProcessMessage().
|
private |
Definition at line 56 of file DialogFrame.h.
Referenced by closeCanvasAttr(), createCanvasAttr(), and modifyAttr().