#include <Fireworks/Core/interface/CmsShowMain.h>
Protected Member Functions | |
void | eventChangedImp () override |
Protected Member Functions inherited from CmsShowMainBase | |
fireworks::Context * | context () |
void | eventChangedSlot () |
void | sendVersionInfo () |
Private Member Functions | |
void | autoLoadNewEvent () override |
void | checkKeyBindingsOnPLayEventsStateChanged () override |
void | checkLiveMode () |
void | checkPosition () override |
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 | setLoadedAnyInputFileAfterStartup () |
void | setupDataHandling () |
void | setupSocket (unsigned int) |
void | stopPlaying () override |
Private Attributes | |
std::unique_ptr< fireworks::Context > | m_context |
std::vector< std::string > | m_inputFiles |
UInt_t | m_lastXEventSerial |
bool | m_live |
int | m_liveTimeout |
std::unique_ptr< SignalTimer > | m_liveTimer |
bool | m_loadedAnyInputFile |
std::unique_ptr< FWLiteJobMetadataManager > | m_metadataManager |
std::unique_ptr< TMonitor > | m_monitor |
std::unique_ptr< CmsShowNavigator > | m_navigator |
bool | m_noVersionCheck |
const TFile * | m_openFile |
std::unique_ptr< CmsShowSearchFiles > | m_searchFiles |
Description: Displays an fwlite::Event in ROOT
Usage: <usage>
Definition at line 59 of file CmsShowMain.h.
CmsShowMain::CmsShowMain | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 125 of file CmsShowMain.cc.
References CmsShowTaskExecutor::addTask(), Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), dir2webdir::argc, cmsBatch::argv, CmsShowMainBase::configFilename(), CmsShowMainBase::configurationManager(), connectSocket(), gather_cfg::cout, MillePedeFileConverter_cfg::e, CmsShowMainBase::eiManager(), FWLiteEnabler::enable(), FWColorPopup::EnableFreePalette(), cppFunctionSkipper::exception, cmsRelvalreport::exit, f, fwLog, CmsShowMainBase::geometryFilename(), CmsShowMainBase::guiManager(), kAdvancedRenderCommandOpt, kAdvancedRenderOpt, kAutoSaveAllViews, kAutoSaveHeight, kAutoSaveType, kChainCommandOpt, kConfigFileCommandOpt, kConfigFileOpt, kEnableFPE, fwlog::kError, kEveCommandOpt, kEveOpt, kExpertCommandOpt, kFieldCommandOpt, kFreePaletteCommandOpt, kGeomFileCommandOpt, kGeomFileOpt, kHelpCommandOpt, kHelpOpt, fwlog::kInfo, kInputFilesCommandOpt, kInputFilesOpt, kLiveCommandOpt, kLogLevelCommandOpt, kLogTreeCacheOpt, kLoopCommandOpt, kLoopOpt, kNoConfigFileCommandOpt, kNoConfigFileOpt, kNoVersionCheck, kPlainRootCommandOpt, kPlayCommandOpt, kPlayOpt, kPortCommandOpt, kPrefetchTreeCacheOpt, kRootInteractiveCommandOpt, kSimGeomFileCommandOpt, kSimGeomFileOpt, kSizeTreeCacheOpt, kSoftCommandOpt, kSyncAllViews, kTGeoNameCommandOpt, kTGeoNameOpt, FWMagField::kUser, kZeroWinOffsets, hcalDigis_cfi::level, CmsShowMainBase::loadGeometry(), FWTTreeCache::LoggingOn(), m_context, m_inputFiles, m_metadataManager, m_navigator, m_noVersionCheck, AlcaSiPixelAliHarvester0T_cff::options, AlCaHLTBitMon_ParallelJobs::p, FWTTreeCache::PrefetchingOn(), FWGUIManager::resetWMOffsets(), findQualityFiles::run, CmsShowMainBase::setAutoSaveAllViewsFormat(), CmsShowMainBase::setAutoSaveAllViewsHeight(), CmsShowMainBase::setConfigFilename(), FWEventItemsManager::setContext(), FWTTreeCache::SetDefaultCacheSize(), CmsShowMainBase::setGeometryFilename(), FWConfigurationManager::setIgnore(), setLiveMode(), CmsShowNavigator::setMaxNumberOfFilesToChain(), CmsShowMainBase::setPlayLoop(), fwlog::setPresentLogLevel(), CmsShowMainBase::setSimGeometryFilename(), CmsShowMainBase::setup(), CmsShowMainBase::setupAutoLoad(), setupDataHandling(), CmsShowMainBase::setupDebugSupport(), setupSocket(), CmsShowMainBase::setupViewManagers(), CmsShowTaskExecutor::startDoingTasks(), CmsShowMainBase::startupTasks(), AlCaHLTBitMon_QueryRunRegistry::string, FWEveViewManager::syncAllViews(), and w.
|
override |
Definition at line 449 of file CmsShowMain.cc.
References FWSelectionManager::clearSelection(), and CmsShowMainBase::selectionManager().
|
private |
void CmsShowMain::appendData | ( | ) |
Definition at line 567 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), FWGUIManager::getMainFrame(), CmsShowMainBase::guiManager(), m_navigator, setLoadedAnyInputFileAfterStartup(), FWGUIManager::titleChanged(), and FWGUIManager::updateStatus().
Referenced by setupDataHandling().
|
overrideprivatevirtual |
Implements CmsShowMainBase.
Definition at line 622 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().
|
overrideprivatevirtual |
Reimplemented from CmsShowMainBase.
Definition at line 862 of file CmsShowMain.cc.
References FWGUIManager::getGUIManager(), FWGUIManager::getMainFrame(), CmsShowMainBase::isPlaying(), and m_live.
|
private |
Definition at line 944 of file CmsShowMain.cc.
References ev, CmsShowMainBase::guiManager(), CmsShowMainBase::isPlaying(), m_lastXEventSerial, m_liveTimeout, m_liveTimer, FWGUIManager::playEventsAction(), and CSGContinuousAction::switchMode().
Referenced by setLiveMode().
|
overrideprivatevirtual |
Implements CmsShowMainBase.
Definition at line 669 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 79 of file CmsShowMain.h.
Referenced by fileChangedSlot(), CmsShowNavigator::getProcessList(), and CmsShowNavigator::updateFileFilters().
void CmsShowMain::doExit | ( | ) |
Definition at line 479 of file CmsShowMain.cc.
References FWGUIManager::evePreTerminate(), CmsShowMainBase::guiManager(), and m_context.
Referenced by DieTimer::Notify().
|
overrideprotectedvirtual |
Reimplemented from CmsShowMainBase.
Definition at line 531 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 517 of file CmsShowMain.cc.
References context(), FrontierConditions_GlobalTag_cff::file, getCurrentEvent(), fireworks::Context::getField(), FWMagField::getSource(), CmsShowMainBase::guiManager(), FWMagField::kNone, m_metadataManager, m_navigator, m_openFile, FWMagField::resetFieldEstimate(), and FWGUIManager::titleChanged().
Referenced by setupDataHandling().
|
private |
Definition at line 894 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 509 of file CmsShowMain.cc.
References m_navigator.
Referenced by eventChangedImp(), and fileChangedSlot().
|
inline |
Definition at line 80 of file CmsShowMain.h.
References FrontierConditions_GlobalTag_cff::file.
Referenced by CmsShowNavigator::appendFile(), and CmsShowNavigator::openFile().
|
private |
|
private |
Definition at line 883 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 792 of file CmsShowMain.cc.
References edmScanValgrind::buffer, checkPosition(), CmsShowMainBase::draw(), MillePedeFileConverter_cfg::fileName, CmsShowMainBase::forward(), CmsShowMainBase::guiManager(), CmsShowMainBase::isPlaying(), m_live, m_loadedAnyInputFile, m_monitor, m_navigator, alignCSCRings::s, definitions::server, AlCaHLTBitMon_QueryRunRegistry::string, and FWGUIManager::updateStatus().
void CmsShowMain::openData | ( | ) |
Definition at line 542 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), FWGUIManager::getMainFrame(), CmsShowMainBase::guiManager(), m_navigator, setLoadedAnyInputFileAfterStartup(), and FWGUIManager::updateStatus().
Referenced by setupDataHandling().
void CmsShowMain::openDataViaURL | ( | ) |
Definition at line 592 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), CmsShowMainBase::guiManager(), m_navigator, m_searchFiles, setLoadedAnyInputFileAfterStartup(), AlCaHLTBitMon_QueryRunRegistry::string, and FWGUIManager::updateStatus().
Referenced by setupDataHandling().
|
private |
|
private |
Definition at line 910 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::clearStatus(), CmsShowMainBase::draw(), CmsShowMainBase::guiManager(), m_navigator, and FWGUIManager::setFilterButtonText().
Referenced by setupDataHandling().
|
private |
Definition at line 903 of file CmsShowMain.cc.
References CmsShowMainBase::guiManager(), and FWGUIManager::updateStatus().
|
overridevirtual |
Implements CmsShowMainBase.
Definition at line 474 of file CmsShowMain.cc.
|
private |
|
private |
Referenced by autoLoadNewEvent().
void CmsShowMain::resetInitialization | ( | ) |
Definition at line 538 of file CmsShowMain.cc.
|
private |
Definition at line 922 of file CmsShowMain.cc.
References checkLiveMode(), m_live, m_liveTimeout, m_liveTimer, and RecoTauDiscriminantConfiguration::mask.
Referenced by CmsShowMain().
|
private |
Definition at line 761 of file CmsShowMain.cc.
References CmsShowMainBase::configFilename(), CmsShowMainBase::configurationManager(), m_loadedAnyInputFile, and CmsShowMainBase::setupConfiguration().
Referenced by appendData(), openData(), and openDataViaURL().
|
private |
Definition at line 690 of file CmsShowMain.cc.
References CSGAction::activated, appendData(), FWEventItemsManager::begin(), checkPosition(), CmsShowMainBase::configFilename(), CmsShowMainBase::configurationManager(), CmsShowMainBase::eiManager(), FWEventItemsManager::end(), fileChangedSlot(), filterButtonClicked(), FWGUIManager::filterButtonClicked_, alignmentValidation::fname, FWGUIManager::getAction(), FWConfigurationManager::getIgnore(), CmsShowMainBase::guiManager(), cuy::ii, FWGUIManager::initEmpty(), m_inputFiles, m_loadedAnyInputFile, m_monitor, m_navigator, navigatorChangedFilterState(), openData(), openDataViaURL(), postFiltering(), cmsshow::sAppendData, FWGUIManager::setFilterButtonIcon(), CmsShowMainBase::setupActions(), CmsShowMainBase::setupConfiguration(), CmsShowNavigator::showEventFilterGUI(), FWGUIManager::showEventFilterGUI_, cmsshow::sOpenData, cmsshow::sSearchFiles, AlCaHLTBitMon_QueryRunRegistry::string, FWGUIManager::updateEventFilterEnable(), and FWGUIManager::updateStatus().
Referenced by CmsShowMain().
|
private |
Definition at line 772 of file CmsShowMain.cc.
References cmsRelvalreport::exit, fwLog, fwlog::kError, m_monitor, and definitions::server.
Referenced by CmsShowMain().
|
overrideprivatevirtual |
Reimplemented from CmsShowMainBase.
Definition at line 872 of file CmsShowMain.cc.
References checkPosition(), FWGUIManager::enableActions(), CmsShowMainBase::guiManager(), m_live, m_navigator, CmsShowMainBase::stopAutoLoadTimer(), and CmsShowMainBase::stopPlaying().
|
private |
Definition at line 117 of file CmsShowMain.h.
Referenced by CmsShowMain(), and doExit().
|
private |
Definition at line 119 of file CmsShowMain.h.
Referenced by CmsShowMain(), and setupDataHandling().
|
private |
Definition at line 129 of file CmsShowMain.h.
Referenced by checkLiveMode().
|
private |
Definition at line 126 of file CmsShowMain.h.
Referenced by checkKeyBindingsOnPLayEventsStateChanged(), notified(), setLiveMode(), and stopPlaying().
|
private |
Definition at line 128 of file CmsShowMain.h.
Referenced by checkLiveMode(), and setLiveMode().
|
private |
Definition at line 127 of file CmsShowMain.h.
Referenced by checkLiveMode(), and setLiveMode().
|
private |
Definition at line 120 of file CmsShowMain.h.
Referenced by autoLoadNewEvent(), notified(), setLoadedAnyInputFileAfterStartup(), and setupDataHandling().
|
private |
Definition at line 116 of file CmsShowMain.h.
Referenced by CmsShowMain(), eventChangedImp(), and fileChangedSlot().
|
private |
Definition at line 133 of file CmsShowMain.h.
Referenced by autoLoadNewEvent(), checkPosition(), connectSocket(), notified(), setupDataHandling(), and setupSocket().
|
private |
Definition at line 115 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 131 of file CmsShowMain.h.
Referenced by CmsShowMain().
|
private |
Definition at line 121 of file CmsShowMain.h.
Referenced by eventChangedImp(), and fileChangedSlot().
|
private |
Definition at line 123 of file CmsShowMain.h.
Referenced by openDataViaURL().