#include <Fireworks/Core/interface/FWEveViewManager.h>
Classes | |
struct | BuilderInfo |
Static Public Member Functions | |
static void | syncAllViews () |
Protected Member Functions | |
void | colorsChanged () override |
void | modelChangesComing () override |
void | modelChangesDone () override |
Protected Member Functions inherited from FWViewManagerBase | |
FWModelChangeManager & | changeManager () const |
FWColorManager & | colorManager () const |
void * | createInstanceOf (const TClass *iBaseClass, const char *iNameOfClass) |
FWViewManagerBase () | |
Private Types | |
typedef std::vector< std::shared_ptr< FWProxyBuilderBase > > | BuilderVec |
typedef BuilderVec::iterator | BuilderVec_it |
typedef std::vector< std::shared_ptr< FWEveView > >::iterator | EveViewVec_it |
typedef std::map< std::string, std::vector< BuilderInfo > > | TypeToBuilder |
Private Member Functions | |
void | beingDestroyed (const FWViewBase *) |
FWViewBase * | buildView (TEveWindowSlot *iParent, const std::string &type) |
void | eventCenterChanged () |
FWEveView * | finishViewCreate (std::shared_ptr< FWEveView >) |
void | globalEnergyScaleChanged () |
bool | haveViewForBit (int) const |
void | itemChanged (const FWEventItem *) |
void | modelChanges (const FWModelIds &iIds) |
Private Attributes | |
std::map< int, BuilderVec > | m_builders |
std::map< const FWEventItem *, FWInteractionList * > | m_interactionLists |
TypeToBuilder | m_typeToBuilder |
std::vector< std::vector< std::shared_ptr< FWEveView > > > | m_views |
Static Private Attributes | |
static bool | s_syncAllViews = false |
Description: [one line class summary]
Usage: <usage>
Definition at line 44 of file FWEveViewManager.h.
|
private |
Definition at line 101 of file FWEveViewManager.h.
|
private |
Definition at line 102 of file FWEveViewManager.h.
|
private |
Definition at line 103 of file FWEveViewManager.h.
|
private |
Definition at line 100 of file FWEveViewManager.h.
FWEveViewManager::FWEveViewManager | ( | FWGUIManager * | iGUIMgr | ) |
Definition at line 79 of file FWEveViewManager.cc.
References HLT_2024v11_cff::builders, buildView(), validateAlignments::category, edmplugin::PluginManager::categoryToInfos(), f, dqmdumpme::first, edmplugin::PluginManager::get(), get, mps_fire::i, FWViewType::idToName(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, FWViewType::kTable, FWViewType::kTableHLT, FWViewType::kTableL1, FWViewType::kTypeSize, m_typeToBuilder, m_views, edmplugin::PluginInfo::name_, hgcalPlots::purpose, FWGUIManager::registerViewBuilder(), AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetIdTransform::transform().
|
override |
Definition at line 137 of file FWEveViewManager.cc.
|
delete |
|
private |
Definition at line 373 of file FWEveViewManager.cc.
References haveViewForBit(), mps_fire::i, m_builders, and m_views.
Referenced by finishViewCreate().
|
private |
Definition at line 269 of file FWEveViewManager.cc.
References finishViewCreate(), mps_fire::i, FWViewType::idToName(), FWViewType::k3D, FWViewType::kGlimpse, FWViewType::kISpy, FWViewType::kLego, FWViewType::kLegoHF, FWViewType::kLegoPFECAL, FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, FWViewType::kTypeSize, and m_views.
Referenced by FWEveViewManager().
|
overrideprotectedvirtual |
Implements FWViewManagerBase.
Definition at line 530 of file FWEveViewManager.cc.
References FWViewManagerBase::colorManager(), mps_fire::i, FWViewType::kTypeSize, m_views, and submitPVValidationJobs::t.
|
overridevirtual |
Reimplemented from FWViewManagerBase.
Definition at line 538 of file FWEveViewManager.cc.
References FWViewManagerBase::context(), mps_fire::i, FWViewType::kTypeSize, m_views, fireworks::Context::resetMaxEtAndEnergy(), and submitPVValidationJobs::t.
|
private |
Definition at line 522 of file FWEveViewManager.cc.
References mps_fire::i, FWViewType::kTypeSize, m_views, and submitPVValidationJobs::t.
Referenced by setContext().
|
overridevirtual |
Reimplemented from FWViewManagerBase.
Definition at line 552 of file FWEveViewManager.cc.
References mps_fire::i, submitPVResolutionJobs::key, FWViewType::kTypeSize, m_views, s_syncAllViews, submitPVValidationJobs::t, and relativeConstraints::value.
Definition at line 309 of file FWEveViewManager.cc.
References FWColorManager::background(), beingDestroyed(), fireworks::Context::colorManager(), FWViewManagerBase::context(), FWEveView::eventScene(), mps_fire::i, FWRPZView::importElements(), m_builders, m_views, FWEveView::ownedProducts(), and FWColorManager::setColorSetViewer().
Referenced by buildView().
|
private |
Definition at line 512 of file FWEveViewManager.cc.
References mps_fire::i, FWViewType::kTypeSize, m_views, and submitPVValidationJobs::t.
Referenced by setContext().
|
private |
Checks whether any of the views
Definition at line 695 of file FWEveViewManager.cc.
References triggerObjects_cff::bit, relativeConstraints::empty, FWViewType::kTypeSize, m_views, and submitPVValidationJobs::t.
Referenced by beingDestroyed(), and newItem().
void FWEveViewManager::highlightAdded | ( | TEveElement * | iElement | ) |
Definition at line 724 of file FWEveViewManager.cc.
References FWViewManagerBase::context(), muonRecoAnalyzer_cfi::etaBin, fireworks::Context::getCaloData(), compareTotals::hist, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, BeamMonitor_cff::phiBin, l1tHGCalTowerProducer_cfi::tower, and w().
|
private |
Callback of itemChanged_ signal. Iterate over all the builders for all the views and call itemChanged for any of the builders. If any of the builder also has at least one view, also update the interaction list.
Definition at line 452 of file FWEveViewManager.cc.
References cms::cuda::be, FWProxyBuilderBase::getHaveWindow(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, FWProxyBuilderBase::item(), B2GTnPMonitor_cfi::item, FWProxyBuilderBase::itemChanged(), m_builders, and m_interactionLists.
Referenced by newItem().
|
private |
Callback of event item changed_ signal.
Definition at line 418 of file FWEveViewManager.cc.
References cms::cuda::be, FWProxyBuilderBase::getHaveWindow(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, FWProxyBuilderBase::item(), B2GTnPMonitor_cfi::item, m_builders, m_interactionLists, and FWProxyBuilderBase::modelChanges().
Referenced by newItem().
|
overrideprotectedvirtual |
called when models have changed and so the display must be updated
Implements FWViewManagerBase.
Definition at line 413 of file FWEveViewManager.cc.
|
overrideprotectedvirtual |
Implements FWViewManagerBase.
Definition at line 415 of file FWEveViewManager.cc.
|
overridevirtual |
This is invoked when a new item is created by the FWEventItemsManager. The workflow is the following
Implements FWViewManagerBase.
Definition at line 174 of file FWEveViewManager.cc.
References addElements(), FWEventItem::changed_, HLT_2024v11_cff::distance, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, fwLog, get, FWEventItem::goingToBeDestroyed_, haveViewForBit(), mps_fire::i, info(), FWSimpleRepresentationChecker::inheritsFrom(), itemChanged(), FWEventItem::itemChanged_, FWViewType::kTypeSize, fwlog::kWarning, m_builders, m_interactionLists, m_typeToBuilder, m_views, modelChanges(), FWEventItem::modelType(), eostools::move(), FWEventItem::purpose(), removeItem(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, and FWEventItem::type().
|
delete |
|
virtual |
Remove an item from the given view.
Definition at line 482 of file FWEveViewManager.cc.
References mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, B2GTnPMonitor_cfi::item, m_builders, and m_interactionLists.
Referenced by newItem().
void FWEveViewManager::selectionAdded | ( | TEveElement * | iElement | ) |
Definition at line 641 of file FWEveViewManager.cc.
References getSelector(), and collectionMerger::selector.
void FWEveViewManager::selectionCleared | ( | ) |
Definition at line 653 of file FWEveViewManager.cc.
References FWSelectionManager::clearSelection(), FWViewManagerBase::context(), and fireworks::Context::selectionManager().
void FWEveViewManager::selectionRemoved | ( | TEveElement * | iElement | ) |
Definition at line 647 of file FWEveViewManager.cc.
References getSelector(), and collectionMerger::selector.
|
overridevirtual |
Reimplemented from FWViewManagerBase.
Definition at line 505 of file FWEveViewManager.cc.
References eventCenterChanged(), globalEnergyScaleChanged(), FWViewManagerBase::setContext(), and x.
|
overridevirtual |
Implements FWViewManagerBase.
Definition at line 659 of file FWEveViewManager.cc.
References FWTypeToRepresentations::add(), FWViewManagerBase::context(), fireworks::Context::getHidePFBuilders(), info(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_typeToBuilder, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinestatic |
Definition at line 76 of file FWEveViewManager.h.
References s_syncAllViews.
Referenced by CmsShowMain::CmsShowMain().
|
private |
Definition at line 109 of file FWEveViewManager.h.
Referenced by beingDestroyed(), finishViewCreate(), itemChanged(), modelChanges(), newItem(), and removeItem().
|
private |
Definition at line 113 of file FWEveViewManager.h.
Referenced by itemChanged(), modelChanges(), newItem(), and removeItem().
|
private |
Definition at line 105 of file FWEveViewManager.h.
Referenced by FWEveViewManager(), newItem(), and supportedTypesAndRepresentations().
|
private |
Definition at line 111 of file FWEveViewManager.h.
Referenced by beingDestroyed(), buildView(), colorsChanged(), eventBegin(), eventCenterChanged(), eventEnd(), finishViewCreate(), FWEveViewManager(), globalEnergyScaleChanged(), haveViewForBit(), and newItem().
|
staticprivate |
Definition at line 107 of file FWEveViewManager.h.
Referenced by eventEnd(), and syncAllViews().