#include <Fireworks/Core/interface/CmsShowMain.h>
Protected Member Functions | |
virtual void | eventChangedImp () |
Protected Member Functions inherited from CmsShowMainBase | |
void | eventChangedSlot () |
void | sendVersionInfo () |
Private Member Functions | |
virtual void | autoLoadNewEvent () |
void | checkLiveMode () |
virtual void | checkPosition () |
CmsShowMain (const CmsShowMain &) | |
void | connectSocket () |
void | filterButtonClicked () |
void | loadGeometry () |
void | navigatorChangedFilterState (int) |
const CmsShowMain & | operator= (const CmsShowMain &) |
void | postFiltering (bool) |
void | preFiltering () |
void | reachedBeginning () |
void | reachedEnd () |
void | setLiveMode () |
void | setupDataHandling () |
void | setupSocket (unsigned int) |
virtual void | stopPlaying () |
Private Attributes | |
std::auto_ptr< fireworks::Context > | m_context |
std::vector< std::string > | m_inputFiles |
UInt_t | m_lastXEventSerial |
bool | m_live |
int | m_liveTimeout |
std::auto_ptr< SignalTimer > | m_liveTimer |
bool | m_loadedAnyInputFile |
std::auto_ptr < FWLiteJobMetadataManager > | m_metadataManager |
std::auto_ptr< TMonitor > | m_monitor |
std::auto_ptr< CmsShowNavigator > | m_navigator |
bool | m_noVersionCheck |
const TFile * | m_openFile |
std::auto_ptr< CmsShowSearchFiles > | m_searchFiles |
Description: Displays an fwlite::Event in ROOT
Usage: <usage>
Definition at line 60 of file CmsShowMain.h.
CmsShowMain::CmsShowMain | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 112 of file CmsShowMain.cc.
References CmsShowTaskExecutor::addTask(), cond::ecalcond::all, dir2webdir::argc, dirstructure::argv, CmsShowMainBase::configFilename(), connectSocket(), gather_cfg::cout, alignCSCRings::e, CmsShowMainBase::eiManager(), AutoLibraryLoader::enable(), FWColorPopup::EnableFreePalette(), cppFunctionSkipper::exception, cmsRelvalreport::exit, f, fmt, fwLog, CmsShowMainBase::geometryFilename(), CmsShowMainBase::guiManager(), kAdvancedRenderCommandOpt, kAdvancedRenderOpt, kAutoSaveAllViews, kChainCommandOpt, kConfigFileCommandOpt, kConfigFileOpt, kEnableFPE, fwlog::kError, kEveCommandOpt, kEveOpt, kFieldCommandOpt, kFreePaletteCommandOpt, kGeomFileCommandOpt, kGeomFileOpt, kHelpCommandOpt, kHelpOpt, fwlog::kInfo, kInputFilesCommandOpt, kInputFilesOpt, kLiveCommandOpt, kLogLevelCommandOpt, kLogLevelOpt, kLoopCommandOpt, kLoopOpt, kNoConfigFileCommandOpt, kNoConfigFileOpt, kNoVersionCheck, kPlainRootCommandOpt, kPlayCommandOpt, kPlayOpt, kPortCommandOpt, kRootInteractiveCommandOpt, kSimGeomFileCommandOpt, kSimGeomFileOpt, kSoftCommandOpt, FWMagField::kUser, kZeroWinOffsets, testEve_cfg::level, CmsShowMainBase::loadGeometry(), m_context, m_inputFiles, m_metadataManager, m_navigator, m_noVersionCheck, AlCaHLTBitMon_ParallelJobs::options, AlCaHLTBitMon_ParallelJobs::p, FWGUIManager::resetWMOffsets(), DTTTrigCorrFirst::run, CmsShowMainBase::setAutoSaveAllViewsFormat(), CmsShowMainBase::setConfigFilename(), FWEventItemsManager::setContext(), CmsShowMainBase::setGeometryFilename(), setLiveMode(), CmsShowNavigator::setMaxNumberOfFilesToChain(), CmsShowMainBase::setPlayLoop(), fwlog::setPresentLogLevel(), CmsShowMainBase::setSimGeometryFilename(), CmsShowMainBase::setup(), CmsShowMainBase::setupAutoLoad(), CmsShowMainBase::setupConfiguration(), setupDataHandling(), CmsShowMainBase::setupDebugSupport(), setupSocket(), CmsShowMainBase::setupViewManagers(), CmsShowTaskExecutor::startDoingTasks(), CmsShowMainBase::startupTasks(), AlCaHLTBitMon_QueryRunRegistry::string, and w().
|
virtual |
Definition at line 371 of file CmsShowMain.cc.
References FWSelectionManager::clearSelection(), and CmsShowMainBase::selectionManager().
|
private |
void CmsShowMain::appendData | ( | ) |
Definition at line 484 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), FWGUIManager::getMainFrame(), CmsShowMainBase::guiManager(), m_loadedAnyInputFile, m_navigator, FWGUIManager::titleChanged(), and FWGUIManager::updateStatus().
Referenced by setupDataHandling().
|
privatevirtual |
Implements CmsShowMainBase.
Definition at line 539 of file CmsShowMain.cc.
References checkPosition(), CmsShowMainBase::draw(), FWGUIManager::enableActions(), CmsShowMainBase::forward(), CmsShowMainBase::guiManager(), CmsShowMainBase::loop(), m_loadedAnyInputFile, m_monitor, m_navigator, reachedEnd(), CmsShowMainBase::startAutoLoadTimer(), and CmsShowMainBase::stopAutoLoadTimer().
|
private |
Definition at line 829 of file CmsShowMain.cc.
References CmsShowMainBase::guiManager(), CmsShowMainBase::isPlaying(), m_lastXEventSerial, m_liveTimeout, m_liveTimer, FWGUIManager::playEventsAction(), and CSGContinuousAction::switchMode().
Referenced by setLiveMode().
|
privatevirtual |
Implements CmsShowMainBase.
Definition at line 586 of file CmsShowMain.cc.
References FWGUIManager::disableNext(), FWGUIManager::disablePrevious(), CSGAction::enable(), CmsShowMainFrame::enableNavigatorControls(), FWGUIManager::getMainFrame(), CmsShowMainBase::guiManager(), CSGAction::isEnabled(), CmsShowMainBase::isPlaying(), CmsShowMainBase::loop(), m_monitor, m_navigator, and FWGUIManager::playEventsAction().
Referenced by appendData(), autoLoadNewEvent(), navigatorChangedFilterState(), notified(), openData(), openDataViaURL(), postFiltering(), setupDataHandling(), and stopPlaying().
|
private |
|
inline |
Definition at line 80 of file CmsShowMain.h.
References m_context.
Referenced by CmsShowNavigator::getProcessList(), and CmsShowNavigator::updateFileFilters().
void CmsShowMain::doExit | ( | ) |
Definition at line 401 of file CmsShowMain.cc.
References FWGUIManager::evePreTerminate(), CmsShowMainBase::guiManager(), and m_context.
Referenced by DieTimer::Notify().
|
protectedvirtual |
Reimplemented from CmsShowMainBase.
Definition at line 449 of file CmsShowMain.cc.
References CmsShowMainBase::eventChangedImp(), getCurrentEvent(), CmsShowMainBase::guiManager(), m_metadataManager, m_navigator, m_openFile, and FWGUIManager::titleChanged().
void CmsShowMain::fileChangedSlot | ( | const TFile * | file | ) |
Definition at line 439 of file CmsShowMain.cc.
References mergeVDriftHistosByStation::file, getCurrentEvent(), CmsShowMainBase::guiManager(), m_metadataManager, m_navigator, m_openFile, and FWGUIManager::titleChanged().
Referenced by setupDataHandling().
|
private |
Definition at line 779 of file CmsShowMain.cc.
References CmsShowMainBase::guiManager(), CmsShowNavigator::kWithdrawn, m_navigator, and FWGUIManager::showEventFilterGUI().
Referenced by setupDataHandling().
const fwlite::Event * CmsShowMain::getCurrentEvent | ( | ) | const |
Definition at line 431 of file CmsShowMain.cc.
References m_navigator.
Referenced by eventChangedImp(), and fileChangedSlot().
|
inline |
Definition at line 81 of file CmsShowMain.h.
References m_noVersionCheck.
Referenced by CmsShowNavigator::appendFile(), and CmsShowNavigator::openFile().
|
private |
|
private |
Definition at line 768 of file CmsShowMain.cc.
References checkPosition(), CmsShowMainBase::guiManager(), m_navigator, FWGUIManager::setFilterButtonIcon(), and FWGUIManager::setFilterButtonText().
Referenced by setupDataHandling().
void CmsShowMain::notified | ( | TSocket * | iSocket | ) |
Definition at line 687 of file CmsShowMain.cc.
References checkPosition(), CmsShowMainBase::draw(), convertXMLtoSQLite_cfg::fileName, CmsShowMainBase::forward(), CmsShowMainBase::guiManager(), CmsShowMainBase::isPlaying(), m_live, m_loadedAnyInputFile, m_monitor, m_navigator, alignCSCRings::s, getRunRegistry::server, AlCaHLTBitMon_QueryRunRegistry::string, and FWGUIManager::updateStatus().
void CmsShowMain::openData | ( | ) |
Definition at line 460 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), FWGUIManager::getMainFrame(), CmsShowMainBase::guiManager(), m_loadedAnyInputFile, m_navigator, and FWGUIManager::updateStatus().
Referenced by setupDataHandling().
void CmsShowMain::openDataViaURL | ( | ) |
Definition at line 509 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), CmsShowMainBase::guiManager(), m_loadedAnyInputFile, m_navigator, m_searchFiles, AlCaHLTBitMon_QueryRunRegistry::string, and FWGUIManager::updateStatus().
Referenced by setupDataHandling().
|
private |
|
private |
Definition at line 795 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), CmsShowMainBase::guiManager(), m_navigator, and FWGUIManager::setFilterButtonText().
Referenced by setupDataHandling().
|
private |
Definition at line 788 of file CmsShowMain.cc.
References CmsShowMainBase::guiManager(), and FWGUIManager::updateStatus().
|
virtual |
Implements CmsShowMainBase.
Definition at line 396 of file CmsShowMain.cc.
|
private |
|
private |
Referenced by autoLoadNewEvent().
void CmsShowMain::resetInitialization | ( | ) |
Definition at line 456 of file CmsShowMain.cc.
|
private |
Definition at line 807 of file CmsShowMain.cc.
References checkLiveMode(), m_live, m_liveTimeout, and m_liveTimer.
Referenced by CmsShowMain().
|
private |
Definition at line 607 of file CmsShowMain.cc.
References CSGAction::activated, appendData(), FWEventItemsManager::begin(), checkPosition(), CmsShowMainBase::draw(), CmsShowMainBase::eiManager(), FWEventItemsManager::end(), fileChangedSlot(), filterButtonClicked(), FWGUIManager::filterButtonClicked_, alignmentValidation::fname, FWGUIManager::getAction(), CmsShowMainBase::guiManager(), cuy::ii, m_inputFiles, m_loadedAnyInputFile, m_monitor, m_navigator, navigatorChangedFilterState(), openData(), openDataViaURL(), postFiltering(), cmsshow::sAppendData, FWGUIManager::setFilterButtonIcon(), CmsShowMainBase::setupActions(), CmsShowNavigator::showEventFilterGUI(), FWGUIManager::showEventFilterGUI_, cmsshow::sOpenData, cmsshow::sSearchFiles, AlCaHLTBitMon_QueryRunRegistry::string, FWGUIManager::updateEventFilterEnable(), and FWGUIManager::updateStatus().
Referenced by CmsShowMain().
|
private |
Definition at line 667 of file CmsShowMain.cc.
References cmsRelvalreport::exit, fwLog, fwlog::kError, m_monitor, and getRunRegistry::server.
Referenced by CmsShowMain().
|
privatevirtual |
Implements CmsShowMainBase.
Definition at line 757 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::enableActions(), CmsShowMainBase::guiManager(), m_live, m_navigator, CmsShowMainBase::setIsPlaying(), and CmsShowMainBase::stopAutoLoadTimer().
|
private |
Definition at line 116 of file CmsShowMain.h.
Referenced by CmsShowMain(), context(), and doExit().
|
private |
Definition at line 118 of file CmsShowMain.h.
Referenced by CmsShowMain(), and setupDataHandling().
|
private |
Definition at line 128 of file CmsShowMain.h.
Referenced by checkLiveMode().
|
private |
Definition at line 125 of file CmsShowMain.h.
Referenced by notified(), setLiveMode(), and stopPlaying().
|
private |
Definition at line 127 of file CmsShowMain.h.
Referenced by checkLiveMode(), and setLiveMode().
|
private |
Definition at line 126 of file CmsShowMain.h.
Referenced by checkLiveMode(), and setLiveMode().
|
private |
Definition at line 119 of file CmsShowMain.h.
Referenced by appendData(), autoLoadNewEvent(), notified(), openData(), openDataViaURL(), and setupDataHandling().
|
private |
Definition at line 115 of file CmsShowMain.h.
Referenced by CmsShowMain(), eventChangedImp(), and fileChangedSlot().
|
private |
Definition at line 132 of file CmsShowMain.h.
Referenced by autoLoadNewEvent(), checkPosition(), connectSocket(), notified(), setupDataHandling(), and setupSocket().
|
private |
Definition at line 114 of file CmsShowMain.h.
Referenced by appendData(), autoLoadNewEvent(), checkPosition(), CmsShowMain(), eventChangedImp(), fileChangedSlot(), filterButtonClicked(), getCurrentEvent(), navigatorChangedFilterState(), notified(), openData(), openDataViaURL(), postFiltering(), setupDataHandling(), and stopPlaying().
|
private |
Definition at line 130 of file CmsShowMain.h.
Referenced by CmsShowMain(), and getVersionCheck().
|
private |
Definition at line 120 of file CmsShowMain.h.
Referenced by eventChangedImp(), and fileChangedSlot().
|
private |
Definition at line 122 of file CmsShowMain.h.
Referenced by openDataViaURL().