CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
FWGUIManager Class Reference

#include <Fireworks/Core/interface/FWGUIManager.h>

Inheritance diagram for FWGUIManager:
FWConfigurable

Public Types

typedef std::map< std::string, ViewBuildFunctorNameToViewBuilder
 
typedef boost::function2< FWViewBase *, TEveWindowSlot *, const std::string & > ViewBuildFunctor
 

Public Member Functions

void addData ()
 
void addTo (FWConfiguration &) const override
 
void checkSubviewAreaIconState (TEveWindow *)
 
void clearStatus ()
 
void connectSubviewAreaSignals (FWGUISubviewArea *)
 
void createEDIFrame ()
 
void createHelpGLPopup ()
 
void createHelpPopup ()
 
TGVerticalFrame * createList (TGCompositeFrame *p)
 
void createModelPopup ()
 
void createShortcutPopup ()
 
ViewMap_i createView (const std::string &iName, TEveWindowSlot *slot=nullptr)
 
void createViews (TEveWindowSlot *slot)
 
void disableNext ()
 
void disablePrevious ()
 
void enableActions (bool enable=true)
 
void eventChangedCallback ()
 
void eventIdChanged ()
 
void evePreTerminate ()
 
void exportAllViews (const std::string &format, int height)
 
void exportImageOfMainView ()
 
void exportImagesOfAllViews ()
 
void filterButtonClicked ()
 
 FWGUIManager (fireworks::Context *ctx, const FWViewManagerManager *iVMMgr, FWNavigatorBase *navigator)
 
CSGActiongetAction (const std::string name)
 
fireworks::ContextgetContext ()
 
const edm::EventBasegetCurrentEvent () const
 
CmsShowMainFramegetMainFrame () const
 
void initEmpty ()
 
CSGContinuousActionloopAction ()
 
void lumiIdChanged ()
 
void newViewSlot (const std::string &iName)
 
void open3DRegion ()
 
void openEveBrowserForDebugging () const
 
CSGContinuousActionplayEventsAction ()
 
CSGContinuousActionplayEventsBackwardsAction ()
 
void popupViewClosed ()
 
void registerViewBuilder (const std::string &iName, ViewBuildFunctor &iBuilder)
 
void resetWMOffsets ()
 
void runIdChanged ()
 
void setDelayBetweenEvents (Float_t)
 
void setFilterButtonIcon (int)
 
void setFilterButtonText (const char *txt)
 
void setFrom (const FWConfiguration &) override
 
void setPlayMode (bool)
 
void setWindowInfoFrom (const FWConfiguration &iFrom, TGMainFrame *iFrame)
 
void showCommonPopup ()
 
void showEDIFrame (int iInfoToShow=-1)
 Allowed values are -1 or ones from FWDataCategories enum. More...
 
void showEventFilterGUI ()
 
void showInvMassDialog ()
 
void showModelPopup ()
 
void showSelectedModelContextMenu (Int_t iGlobalX, Int_t iGlobalY, FWViewContextMenuHandlerBase *iHandler)
 
void showViewPopup ()
 
void subviewDestroy (FWGUISubviewArea *)
 
void subviewDestroyAll ()
 
void subviewInfoSelected (FWGUISubviewArea *)
 
void subviewInfoUnselected (FWGUISubviewArea *)
 
void subviewIsBeingDestroyed (FWGUISubviewArea *)
 
void subviewSwapped (FWGUISubviewArea *)
 
void titleChanged (const char *title)
 
void updateEventFilterEnable (bool)
 
void updateStatus (const char *status)
 
 ~FWGUIManager () override
 
- Public Member Functions inherited from FWConfigurable
 FWConfigurable ()
 
virtual ~FWConfigurable ()
 

Static Public Member Functions

static FWGUIManagergetGUIManager ()
 
static TGFrame * makeGUIsubview (TEveCompositeFrame *cp, TGCompositeFrame *parent, Int_t height)
 

Public Attributes

sigc::signal< void, Float_t > changedDelayBetweenEvents_
 
sigc::signal< void > changedEventEntry_
 
sigc::signal< void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_tchangedEventId_
 
sigc::signal< void > changedRunEntry_
 
sigc::signal< void > filterButtonClicked_
 
sigc::signal< void > goingToQuit_
 
sigc::signal< void, const std::string & > loadFromConfigurationFile_
 
sigc::signal< void, const std::string & > loadPartialFromConfigurationFile_
 
sigc::signal< void, const TGWindow * > showEventFilterGUI_
 
sigc::signal< void, const std::string & > writePartialToConfigurationFile_
 
sigc::signal< void, const std::string & > writeToConfigurationFile_
 
sigc::signal< void > writeToPresentConfigurationFile_
 

Private Types

typedef ViewMap_t::iterator ViewMap_i
 
typedef std::map< TEveWindow *, FWViewBase * > ViewMap_t
 

Private Member Functions

void delaySliderChanged (Int_t)
 
void finishUpColorChange ()
 
 FWGUIManager (const FWGUIManager &)=delete
 
TEveWindow * getSwapCandidate ()
 
void measureWMOffsets ()
 
void newItem (const FWEventItem *)
 
const FWGUIManageroperator= (const FWGUIManager &)=delete
 
bool promptForConfigurationFile (std::string &result, enum EFileDialogMode mode)
 
void promptForLoadConfigurationFile ()
 
void promptForPartialLoadConfigurationFile ()
 
void promptForPartialSaveConfigurationFile ()
 
void promptForSaveConfigurationFile ()
 
void savePartialToConfigurationFile ()
 
void setViewPopup (TEveWindow *)
 

Private Attributes

CmsShowMainFramem_cmsShowMainFrame
 
CmsShowCommonPopupm_commonPopup
 
fireworks::Contextm_context
 
FWModelContextMenuHandlerm_contextMenuHandler
 
FWGUIEventDataAdderm_dataAdder
 
FWDetailViewManagerm_detailViewManager
 
CmsShowEDIm_ediFrame
 
TGPopupMenu * m_fileMenu
 
CmsShowHelpPopupm_helpGLPopup
 
CmsShowHelpPopupm_helpPopup
 
FWInvMassDialogm_invMassDialog
 
sigc::connection m_modelChangeConn
 
CmsShowModelPopupm_modelPopup
 
NameToViewBuilder m_nameToViewBuilder
 
FWNavigatorBasem_navigator
 
std::vector< FWViewBase * > m_regionViews
 
CmsShowHelpPopupm_shortcutPopup
 
FWSummaryManagerm_summaryManager
 
std::unique_ptr< CmsShowTaskExecutorm_tasks
 
const FWViewManagerManagerm_viewManagerManager
 
ViewMap_t m_viewMap
 
CmsShowViewPopupm_viewPopup
 
TEveWindowPack * m_viewPrimPack
 
TEveWindowPack * m_viewSecPack
 
int m_WMDecorH
 
int m_WMOffsetX
 
int m_WMOffsetY
 

Static Private Attributes

static FWGUIManagerm_guiManager = nullptr
 

Detailed Description

Description: Manages the GUI

Usage: <usage>

Definition at line 94 of file FWGUIManager.h.

Member Typedef Documentation

◆ NameToViewBuilder

typedef std::map<std::string, ViewBuildFunctor> FWGUIManager::NameToViewBuilder

Definition at line 98 of file FWGUIManager.h.

◆ ViewBuildFunctor

typedef boost::function2<FWViewBase*, TEveWindowSlot*, const std::string&> FWGUIManager::ViewBuildFunctor

Definition at line 97 of file FWGUIManager.h.

◆ ViewMap_i

typedef ViewMap_t::iterator FWGUIManager::ViewMap_i
private

Definition at line 102 of file FWGUIManager.h.

◆ ViewMap_t

typedef std::map<TEveWindow*, FWViewBase*> FWGUIManager::ViewMap_t
private

Definition at line 101 of file FWGUIManager.h.

Constructor & Destructor Documentation

◆ FWGUIManager() [1/2]

FWGUIManager::FWGUIManager ( fireworks::Context ctx,
const FWViewManagerManager iVMMgr,
FWNavigatorBase navigator 
)

Definition at line 102 of file FWGUIManager.cc.

103  : m_context(ctx),
104  m_summaryManager(nullptr),
105  m_detailViewManager(nullptr),
106  m_viewManagerManager(iVMMgr),
107  m_contextMenuHandler(nullptr),
109  m_dataAdder(nullptr),
110  m_ediFrame(nullptr),
111  m_modelPopup(nullptr),
112  m_viewPopup(nullptr),
113  m_commonPopup(nullptr),
114  m_invMassDialog(nullptr),
115  m_helpPopup(nullptr),
116  m_shortcutPopup(nullptr),
117  m_helpGLPopup(nullptr),
119  m_WMOffsetX(0),
120  m_WMOffsetY(0),
121  m_WMDecorH(0) {
122  m_guiManager = this;
123 
125 
127  im->newItem_.connect(boost::bind(&FWGUIManager::newItem, this, _1));
128 
130 
131  TEveCompositeFrame::IconBarCreator_foo foo = &FWGUIManager::makeGUIsubview;
132  TEveCompositeFrame::SetupFrameMarkup(foo, 20, 4, false);
133 
134  {
135  m_cmsShowMainFrame = new CmsShowMainFrame(gClient->GetRoot(), 950, 750, this);
136 
137  m_cmsShowMainFrame->SetCleanup(kDeepCleanup);
138 
139  /*
140  int mlist[FWViewType::kTypeSize] = {FWViewType::kRhoPhi, FWViewType::kRhoZ, FWViewType::k3D, FWViewType::kISpy, FWViewType::kLego, FWViewType::kLegoHF, FWViewType::kGlimpse,
141  FWViewType::kTable, FWViewType::kTableL1, FWViewType::kTableHLT,
142  FWViewType::kGeometryTable,
143  FWViewType::kRhoPhiPF, FWViewType::kLegoPFECAL}; */
144 
145  for (int i = 0; i < FWViewType::kTypeSize; ++i) {
147  continue;
148 
151  action->activated.connect(boost::bind(&FWGUIManager::newViewSlot, this, FWViewType::idToName(i)));
152  }
153 
157 
161  ->activated.connect(sigc::mem_fun(*this, &FWGUIManager::promptForLoadConfigurationFile));
163  ->activated.connect(sigc::mem_fun(*this, &FWGUIManager::promptForPartialLoadConfigurationFile));
166  ->activated.connect(sigc::mem_fun(this, &FWGUIManager::savePartialToConfigurationFile));
168  ->activated.connect(sigc::mem_fun(*this, &FWGUIManager::promptForSaveConfigurationFile));
170  ->activated.connect(sigc::mem_fun(*this, &FWGUIManager::promptForPartialSaveConfigurationFile));
174 
176  ->activated.connect(sigc::mem_fun(m_context->colorManager(), &FWColorManager::switchBackground));
178 
180  ->activated.connect(sigc::mem_fun(*m_guiManager, &FWGUIManager::showInvMassDialog));
181 
183  assert(getAction(cmsshow::sHelp) != nullptr);
187  ->activated.connect(sigc::mem_fun(*m_guiManager, &FWGUIManager::createShortcutPopup));
189 
190  // toolbar special widget with non-void actions
192  boost::bind(&FWGUIManager::delaySliderChanged, this, _1));
193 
194  TQObject::Connect(m_cmsShowMainFrame->m_runEntry, "ReturnPressed()", "FWGUIManager", this, "runIdChanged()");
195  TQObject::Connect(m_cmsShowMainFrame->m_lumiEntry, "ReturnPressed()", "FWGUIManager", this, "lumiIdChanged()");
196  TQObject::Connect(m_cmsShowMainFrame->m_eventEntry, "ReturnPressed()", "FWGUIManager", this, "eventIdChanged()");
197 
198  TQObject::Connect(
199  m_cmsShowMainFrame->m_filterShowGUIBtn, "Clicked()", "FWGUIManager", this, "showEventFilterGUI()");
200  TQObject::Connect(
201  m_cmsShowMainFrame->m_filterEnableBtn, "Clicked()", "FWGUIManager", this, "filterButtonClicked()");
202 
203  TQObject::Connect(gEve->GetWindowManager(),
204  "WindowSelected(TEveWindow*)",
205  "FWGUIManager",
206  this,
207  "checkSubviewAreaIconState(TEveWindow*)");
208  TQObject::Connect(gEve->GetWindowManager(),
209  "WindowDocked(TEveWindow*)",
210  "FWGUIManager",
211  this,
212  "checkSubviewAreaIconState(TEveWindow*)");
213  TQObject::Connect(gEve->GetWindowManager(),
214  "WindowUndocked(TEveWindow*)",
215  "FWGUIManager",
216  this,
217  "checkSubviewAreaIconState(TEveWindow*)");
218  }
219 }

References writedatasetfile::action, CSGAction::activated, addData(), cms::cuda::assert(), fireworks::Context::colorManager(), FWColorManager::colorsHaveChangedFinished_, createHelpGLPopup(), createHelpPopup(), CmsShowMainFrame::createNewViewerAction(), createShortcutPopup(), delaySliderChanged(), fireworks::Context::eventItemsManager(), exportImageOfMainView(), exportImagesOfAllViews(), finishUpColorChange(), getAction(), fireworks::Context::getHidePFBuilders(), mps_fire::i, FWViewType::idToName(), FWViewType::kGlimpse, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kTableHLT, FWViewType::kTypeSize, m_cmsShowMainFrame, m_context, m_contextMenuHandler, CmsShowMainFrame::m_delaySliderListener, m_detailViewManager, CmsShowMainFrame::m_eventEntry, CmsShowMainFrame::m_filterEnableBtn, CmsShowMainFrame::m_filterShowGUIBtn, m_guiManager, CmsShowMainFrame::m_lumiEntry, CmsShowMainFrame::m_runEntry, makeGUIsubview(), measureWMOffsets(), newItem(), FWEventItemsManager::newItem_, newViewSlot(), promptForLoadConfigurationFile(), promptForPartialLoadConfigurationFile(), promptForPartialSaveConfigurationFile(), promptForSaveConfigurationFile(), savePartialToConfigurationFile(), cmsshow::sBackgroundColor, fireworks::Context::selectionManager(), mps_merge::separator, cmsshow::sExportAllImages, cmsshow::sExportImage, cmsshow::sHelp, cmsshow::sHelpGL, showCommonPopup(), showEDIFrame(), showInvMassDialog(), showModelPopup(), showViewPopup(), cmsshow::sKeyboardShort, cmsshow::sLoadConfig, cmsshow::sLoadPartialConfig, cmsshow::sSaveConfig, cmsshow::sSaveConfigAs, cmsshow::sSavePartialConfig, cmsshow::sSavePartialConfigAs, cmsshow::sShowAddCollection, cmsshow::sShowCommonInsp, cmsshow::sShowEventDisplayInsp, cmsshow::sShowInvMassDialog, cmsshow::sShowMainViewCtl, cmsshow::sShowObjInsp, FWColorManager::switchBackground(), FWIntValueListener::valueChanged_, and writeToPresentConfigurationFile_.

◆ ~FWGUIManager()

FWGUIManager::~FWGUIManager ( )
override

Definition at line 231 of file FWGUIManager.cc.

231  {
232  delete m_invMassDialog;
233  delete m_summaryManager;
234  delete m_detailViewManager;
235  delete m_cmsShowMainFrame;
236  delete m_viewPopup;
237  delete m_ediFrame;
238  delete m_contextMenuHandler;
239 }

References m_cmsShowMainFrame, m_contextMenuHandler, m_detailViewManager, m_ediFrame, m_invMassDialog, m_summaryManager, and m_viewPopup.

◆ FWGUIManager() [2/2]

FWGUIManager::FWGUIManager ( const FWGUIManager )
privatedelete

Member Function Documentation

◆ addData()

void FWGUIManager::addData ( )

◆ addTo()

void FWGUIManager::addTo ( FWConfiguration oTo) const
overridevirtual

Implements FWConfigurable.

Definition at line 959 of file FWGUIManager.cc.

959  {
960  Int_t cfgVersion = 3;
961 
962  FWConfiguration mainWindow(cfgVersion);
963  float leftWeight, rightWeight;
964  addWindowInfoTo(m_cmsShowMainFrame, mainWindow);
965  {
966  // write summary view weight
967  {
968  std::stringstream ss;
970  mainWindow.addKeyValue("summaryWeight", FWConfiguration(ss.str()));
971  }
972 
973  // write proportions of horizontal pack (can be standalone item outside main frame)
974  if (m_viewPrimPack->GetPack()->GetList()->GetSize() > 2) {
975  TGFrameElementPack* frameEL;
976  frameEL = (TGFrameElementPack*)m_viewPrimPack->GetPack()->GetList()->At(
977  1); // read every second element, first on is splitter
978  leftWeight = frameEL->fWeight;
979  frameEL = (TGFrameElementPack*)m_viewPrimPack->GetPack()->GetList()->At(3);
980  rightWeight = frameEL->fWeight;
981  } else {
982  leftWeight = 0;
983  rightWeight = 1;
984  }
985  std::stringstream sL;
986  sL << leftWeight;
987  mainWindow.addKeyValue("leftWeight", FWConfiguration(sL.str()));
988  std::stringstream sR;
989  sR << rightWeight;
990  mainWindow.addKeyValue("rightWeight", FWConfiguration(sR.str()));
991  }
992  oTo.addKeyValue(kMainWindow, mainWindow, true);
993 
994  //------------------------------------------------------------
995  // organize info about all docked frames includding hidden, which point to undocked
996  std::vector<areaInfo> wpacked;
997  if (leftWeight > 0) {
998  TGPack* pp = m_viewPrimPack->GetPack();
999  TGFrameElementPack* frameEL = (TGFrameElementPack*)pp->GetList()->At(1);
1000  if (frameEL->fWeight > 0)
1001  wpacked.push_back(areaInfo(frameEL));
1002  }
1003  TGPack* sp = m_viewSecPack->GetPack();
1004  TGFrameElementPack* seFE;
1005  TIter frame_iterator(sp->GetList());
1006  while ((seFE = (TGFrameElementPack*)frame_iterator())) {
1007  if (seFE->fWeight)
1008  wpacked.push_back(areaInfo(seFE));
1009  }
1010 
1011  // undocked info
1012 
1013  for (ViewMap_i wIt = m_viewMap.begin(); wIt != m_viewMap.end(); ++wIt) {
1014  TEveWindow* ew = wIt->first;
1015  TEveCompositeFrameInMainFrame* mainFrame = dynamic_cast<TEveCompositeFrameInMainFrame*>(ew->GetEveFrame());
1016  if (mainFrame) {
1017  for (std::vector<areaInfo>::iterator pIt = wpacked.begin(); pIt != wpacked.end(); ++pIt) {
1018  if ((*pIt).originalSlot && mainFrame->GetOriginalSlot() == (*pIt).originalSlot) {
1019  (*pIt).eveWindow = wIt->first;
1020  (*pIt).undockedMainFrame = (TGMainFrame*)mainFrame;
1021  // printf("found original slot for docked view %s\n", pInfo->viewBase->typeName().c_str());
1022  break;
1023  } // found match
1024  }
1025  } // end main frames
1026  }
1027 
1028  //------------------------------------------------------------
1029  // add sorted list in view area and FW-views configuration
1030  FWConfiguration views(1);
1031  FWConfiguration viewArea(cfgVersion);
1032  for (std::vector<areaInfo>::iterator it = wpacked.begin(); it != wpacked.end(); ++it) {
1033  TEveWindow* ew = (*it).eveWindow;
1034  if (ew) {
1035  FWViewBase* wb = m_viewMap[ew];
1036  FWConfiguration tempWiew(wb->version());
1037  wb->addTo(tempWiew);
1038  views.addKeyValue(wb->typeName(), tempWiew, true);
1039  FWConfiguration tempArea(cfgVersion);
1040  addAreaInfoTo((*it), tempArea);
1041  viewArea.addKeyValue(wb->typeName(), tempArea, true);
1042  }
1043  }
1044  oTo.addKeyValue(kViews, views, true);
1045  oTo.addKeyValue(kViewArea, viewArea, true);
1046 
1047  //------------------------------------------------------------
1048  //Remember where controllers were placed if they are open
1049  FWConfiguration controllers(1);
1050  {
1051  if (nullptr != m_ediFrame && m_ediFrame->IsMapped()) {
1052  FWConfiguration temp(1);
1054  controllers.addKeyValue(kCollectionController, temp, true);
1055  }
1056  if (nullptr != m_viewPopup && m_viewPopup->IsMapped()) {
1057  FWConfiguration temp(1);
1059  controllers.addKeyValue(kViewController, temp, true);
1060  }
1061  if (nullptr != m_modelPopup && m_modelPopup->IsMapped()) {
1062  FWConfiguration temp(1);
1064  controllers.addKeyValue(kObjectController, temp, true);
1065  }
1066  if (nullptr != m_commonPopup && m_commonPopup->IsMapped()) {
1067  FWConfiguration temp(1);
1069  controllers.addKeyValue(kCommonController, temp, true);
1070  }
1071  }
1072  oTo.addKeyValue(kControllers, controllers, true);
1073 }

References addAreaInfoTo(), FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), addWindowInfoTo(), CmsShowMainFrame::getSummaryViewWeight(), kCollectionController(), kCommonController(), kControllers(), kMainWindow(), kObjectController(), kViewArea(), kViewController(), kViews(), m_cmsShowMainFrame, m_commonPopup, m_ediFrame, m_modelPopup, m_viewMap, m_viewPopup, m_viewPrimPack, m_viewSecPack, createTree::pp, contentValuesCheck::ss, groupFilesInBlocks::temp, FWViewBase::typeName(), and FWConfigurableParameterizable::version().

◆ checkSubviewAreaIconState()

void FWGUIManager::checkSubviewAreaIconState ( TEveWindow *  )

Definition at line 431 of file FWGUIManager.cc.

431  {
432  // First argumet is needed for signals/slot symetry
433 
434  // disable swap on the first left TEveCompositeFrame
435  // check info button
436  TEveWindow* current = getSwapCandidate();
437  bool checkInfoBtn = m_viewPopup ? m_viewPopup->mapped() : false;
438  TEveWindow* selected = m_viewPopup ? m_viewPopup->getEveWindow() : nullptr;
439 
440  for (ViewMap_i it = m_viewMap.begin(); it != m_viewMap.end(); it++) {
442  ar->setSwapIcon(current != it->first);
443  if (checkInfoBtn && selected)
444  ar->setInfoButton(selected == it->first);
445  }
446 }

References CmsShowViewPopup::getEveWindow(), getSwapCandidate(), FWGUISubviewArea::getToolBarFromWindow(), m_viewMap, m_viewPopup, CmsShowViewPopup::mapped(), FWGUISubviewArea::setInfoButton(), and FWGUISubviewArea::setSwapIcon().

Referenced by setFrom(), and subviewSwapped().

◆ clearStatus()

void FWGUIManager::clearStatus ( )

◆ connectSubviewAreaSignals()

void FWGUIManager::connectSubviewAreaSignals ( FWGUISubviewArea a)

Definition at line 221 of file FWGUIManager.cc.

221  {
222  a->goingToBeDestroyed_.connect(boost::bind(&FWGUIManager::subviewIsBeingDestroyed, this, _1));
223  a->selected_.connect(boost::bind(&FWGUIManager::subviewInfoSelected, this, _1));
224  a->unselected_.connect(boost::bind(&FWGUIManager::subviewInfoUnselected, this, _1));
225  a->swap_.connect(boost::bind(&FWGUIManager::subviewSwapped, this, _1));
226 }

References a, subviewInfoSelected(), subviewInfoUnselected(), subviewIsBeingDestroyed(), and subviewSwapped().

Referenced by FWGUISubviewArea::FWGUISubviewArea().

◆ createEDIFrame()

void FWGUIManager::createEDIFrame ( )

Definition at line 549 of file FWGUIManager.cc.

549  {
550  if (m_ediFrame == nullptr) {
552  m_ediFrame->CenterOnParent(kTRUE, TGTransientFrame::kTopRight);
554  }
555 }

References CmsShowMainFrame::bindCSGActionKeys(), fireworks::Context::colorManager(), m_cmsShowMainFrame, m_context, m_ediFrame, and fireworks::Context::selectionManager().

Referenced by showEDIFrame().

◆ createHelpGLPopup()

void FWGUIManager::createHelpGLPopup ( )

Definition at line 663 of file FWGUIManager.cc.

663  {
664  if (m_helpGLPopup == nullptr) {
665  m_helpGLPopup =
666  new CmsShowHelpPopup("helpGL.html", getAction(cmsshow::sHelpGL)->getName(), m_cmsShowMainFrame, 800, 600);
667 
668  m_helpGLPopup->CenterOnParent(kTRUE, TGTransientFrame::kBottomRight);
669  }
670  m_helpGLPopup->MapWindow();
671 }

References getAction(), getName(), m_cmsShowMainFrame, m_helpGLPopup, and cmsshow::sHelpGL.

Referenced by FWGUIManager().

◆ createHelpPopup()

void FWGUIManager::createHelpPopup ( )

Definition at line 645 of file FWGUIManager.cc.

645  {
646  if (m_helpPopup == nullptr) {
647  m_helpPopup = new CmsShowHelpPopup("help.html", "CmsShow Help", m_cmsShowMainFrame, 800, 600);
648  m_helpPopup->CenterOnParent(kTRUE, TGTransientFrame::kBottomRight);
649  }
650  m_helpPopup->MapWindow();
651 }

References m_cmsShowMainFrame, and m_helpPopup.

Referenced by FWGUIManager().

◆ createList()

TGVerticalFrame * FWGUIManager::createList ( TGCompositeFrame *  p)

Definition at line 513 of file FWGUIManager.cc.

513  {
514  TGVerticalFrame* listFrame = new TGVerticalFrame(p, p->GetWidth(), p->GetHeight());
515 
516  TGHorizontalFrame* addFrame = new TGHorizontalFrame(listFrame, p->GetWidth(), 10, kRaisedFrame);
517  TGLabel* addLabel = new TGLabel(addFrame, "Summary View");
518  addFrame->AddFrame(addLabel, new TGLayoutHints(kLHintsCenterX, 0, 0, 2, 2));
519  listFrame->AddFrame(addFrame, new TGLayoutHints(kLHintsExpandX | kLHintsTop));
520 
521  m_summaryManager = new FWSummaryManager(listFrame,
524  this,
527 
528  const unsigned int backgroundColor = 0x2f2f2f;
529  TGTextButton* addDataButton = new TGTextButton(m_summaryManager->widget(), "Add Collection");
530  addDataButton->ChangeOptions(kRaisedFrame);
531  addDataButton->SetBackgroundColor(backgroundColor);
532  addDataButton->SetTextColor(0xFFFFFF);
533  addDataButton->SetToolTipText("Show additional collections");
534  addDataButton->Connect("Clicked()", "FWGUIManager", this, "addData()");
535  m_summaryManager->widget()->AddFrame(addDataButton, new TGLayoutHints(kLHintsExpandX | kLHintsLeft | kLHintsTop));
536  listFrame->AddFrame(m_summaryManager->widget(), new TGLayoutHints(kLHintsExpandX | kLHintsExpandY));
537 
538  return listFrame;
539 }

References fireworks::Context::colorManager(), fireworks::Context::eventItemsManager(), m_context, m_summaryManager, fireworks::Context::modelChangeManager(), AlCaHLTBitMon_ParallelJobs::p, fireworks::Context::selectionManager(), and FWSummaryManager::widget().

Referenced by CmsShowMainFrame::CmsShowMainFrame().

◆ createModelPopup()

void FWGUIManager::createModelPopup ( )

◆ createShortcutPopup()

void FWGUIManager::createShortcutPopup ( )

Definition at line 653 of file FWGUIManager.cc.

653  {
654  if (m_shortcutPopup == nullptr) {
656  "shortcuts.html", getAction(cmsshow::sKeyboardShort)->getName(), m_cmsShowMainFrame, 800, 600);
657 
658  m_shortcutPopup->CenterOnParent(kTRUE, TGTransientFrame::kBottomRight);
659  }
660  m_shortcutPopup->MapWindow();
661 }

References getAction(), getName(), m_cmsShowMainFrame, m_shortcutPopup, and cmsshow::sKeyboardShort.

Referenced by FWGUIManager().

◆ createView()

FWGUIManager::ViewMap_i FWGUIManager::createView ( const std::string &  iName,
TEveWindowSlot *  slot = nullptr 
)

Definition at line 282 of file FWGUIManager.cc.

282  {
283  NameToViewBuilder::iterator itFind = m_nameToViewBuilder.find(iName);
284  assert(itFind != m_nameToViewBuilder.end());
285  if (itFind == m_nameToViewBuilder.end()) {
286  throw std::runtime_error(std::string("Unable to create view named ") + iName + " because it is unknown");
287  }
288 
289  if (!slot) {
290  if (m_viewSecPack) {
291  slot = m_viewSecPack->NewSlot();
292  } else {
293  slot = m_viewPrimPack->NewSlot();
294  m_viewSecPack = m_viewPrimPack->NewSlot()->MakePack();
295  m_viewSecPack->SetShowTitleBar(kFALSE);
296  }
297  }
298  TEveCompositeFrame* ef = slot->GetEveFrame();
299  FWViewBase* viewBase = itFind->second(slot, iName);
300  //in future, get context from 'view'
302  viewBase->openSelectedModelContextMenu_.connect(
304 
305  TEveWindow* eveWindow = ef->GetEveWindow();
306  eveWindow->SetElementName(iName.c_str());
307 
308  std::pair<ViewMap_i, bool> insertPair = m_viewMap.insert(std::make_pair(eveWindow, viewBase));
309  return insertPair.first;
310 }

References cms::cuda::assert(), newFWLiteAna::base, FWViewBase::contextMenuHandler(), m_guiManager, m_nameToViewBuilder, m_viewMap, m_viewPrimPack, m_viewSecPack, FWViewBase::openSelectedModelContextMenu_, showSelectedModelContextMenu(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by initEmpty(), newViewSlot(), open3DRegion(), and setFrom().

◆ createViews()

void FWGUIManager::createViews ( TEveWindowSlot *  slot)

Definition at line 541 of file FWGUIManager.cc.

541  {
542  m_viewPrimPack = slot->MakePack();
543  m_viewPrimPack->SetHorizontal();
544  m_viewPrimPack->SetElementName("Views");
545  m_viewPrimPack->SetShowTitleBar(kFALSE);
546  m_viewSecPack = nullptr;
547 }

References m_viewPrimPack, and m_viewSecPack.

Referenced by CmsShowMainFrame::CmsShowMainFrame().

◆ delaySliderChanged()

void FWGUIManager::delaySliderChanged ( Int_t  val)
private

Definition at line 1217 of file FWGUIManager.cc.

1217  {
1218  Float_t sec = val * 0.001;
1221 }

References changedDelayBetweenEvents_, m_cmsShowMainFrame, fileinputsource_cfi::sec, CmsShowMainFrame::setPlayDelayGUI(), and heppy_batch::val.

Referenced by FWGUIManager().

◆ disableNext()

void FWGUIManager::disableNext ( )

◆ disablePrevious()

void FWGUIManager::disablePrevious ( )

◆ enableActions()

void FWGUIManager::enableActions ( bool  enable = true)

◆ eventChangedCallback()

void FWGUIManager::eventChangedCallback ( )

Definition at line 324 of file FWGUIManager.cc.

324  {
325  // To be replaced when we can get index from fwlite::Event
326 
327  TEveViewerList* viewers = gEve->GetViewers();
328  for (TEveElement::List_i i = viewers->BeginChildren(); i != viewers->EndChildren(); ++i) {
329  TEveViewer* ev = dynamic_cast<TEveViewer*>(*i);
330  if (ev)
331  ev->GetGLViewer()->DeleteOverlayAnnotations();
332  }
333 
334  for (auto reg : m_regionViews) {
335  for (ViewMap_i it = m_viewMap.begin(); it != m_viewMap.end(); ++it) {
336  if (it->second == reg) {
337  m_viewMap.erase(it);
338  reg->destroy();
339  break;
340  }
341  }
342  }
343 
346 }

References ev, getCurrentEvent(), mps_fire::i, CmsShowMainFrame::loadEvent(), m_cmsShowMainFrame, m_detailViewManager, m_regionViews, m_viewMap, and FWDetailViewManager::newEventCallback().

Referenced by CmsShowMainBase::eventChangedImp().

◆ eventIdChanged()

void FWGUIManager::eventIdChanged ( )

◆ evePreTerminate()

void FWGUIManager::evePreTerminate ( )

Definition at line 241 of file FWGUIManager.cc.

241  {
242  gEve->GetWindowManager()->Disconnect("WindowSelected(TEveWindow*)", this, "checkSubviewAreaIconState(TEveWindow*)");
243  gEve->GetWindowManager()->Disconnect("WindowDocked(TEveWindow*)", this, "checkSubviewAreaIconState(TEveWindow*)");
244  gEve->GetWindowManager()->Disconnect("WindowUndocked(TEveWindow*)", this, "checkSubviewAreaIconState(TEveWindow*)");
245 
246  // avoid emit signals at end
247  gEve->GetSelection()->Disconnect();
248  gEve->GetHighlight()->Disconnect();
249  gEve->GetSelection()->RemoveElements();
250  gEve->GetHighlight()->RemoveElements();
251 
252  m_cmsShowMainFrame->UnmapWindow();
253  for (ViewMap_i wIt = m_viewMap.begin(); wIt != m_viewMap.end(); ++wIt) {
254  TEveCompositeFrameInMainFrame* mainFrame =
255  dynamic_cast<TEveCompositeFrameInMainFrame*>((*wIt).first->GetEveFrame());
256  // main frames not to watch dying
257  if (mainFrame)
258  mainFrame->UnmapWindow();
259  // destroy
260  (*wIt).second->destroy();
261  }
262 }

References m_cmsShowMainFrame, and m_viewMap.

Referenced by CmsShowMain::doExit().

◆ exportAllViews()

void FWGUIManager::exportAllViews ( const std::string &  format,
int  height 
)

Definition at line 807 of file FWGUIManager.cc.

807  {
808  // Save all GL views.
809  // Expects format to have "%u %u %llu %s" which are replaced with
810  // run-number, event number, lumi block and view-name.
811  // Blanks in view-name are removed.
812  // If several views shave the same name, they are post-fixed
813  // with "_%d". They are sorted by view diagonal.
814 
815  typedef std::list<FWTEveViewer*> viewer_list_t;
816  typedef viewer_list_t::iterator viewer_list_i;
817 
818  typedef std::map<TString, viewer_list_t> name_map_t;
819  typedef name_map_t::iterator name_map_i;
820 
821  name_map_t vls;
822 
823  for (ViewMap_i i = m_viewMap.begin(); i != m_viewMap.end(); ++i) {
824  FWTEveViewer* ev = dynamic_cast<FWTEveViewer*>(i->first);
825  if (ev) {
826  TString name(ev->GetElementName());
827  name.ReplaceAll(" ", "");
828  viewer_list_t& l = vls[name];
829  viewer_list_i li = l.begin();
830  while (li != l.end() && (*li)->GetGLViewer()->ViewportDiagonal() < ev->GetGLViewer()->ViewportDiagonal())
831  ++li;
832  l.insert(li, ev);
833  }
834  }
835 
836  std::vector<std::future<int>> futures;
837 
838  const edm::EventBase* event = getCurrentEvent();
839  for (name_map_i i = vls.begin(); i != vls.end(); ++i) {
840  bool multi_p = (i->second.size() > 1);
841  int view_count = 1;
842  for (viewer_list_i j = i->second.begin(); j != i->second.end(); ++j, ++view_count) {
843  TString view_name(i->first);
844  if (multi_p) {
845  view_name += "_";
846  view_name += view_count;
847  }
848  TString file;
849  file.Form(format.c_str(), event->id().run(), event->id().event(), event->luminosityBlock(), view_name.Data());
850 
851  if (GLEW_EXT_framebuffer_object) {
852  // Multi-threaded save
853  futures.push_back((*j)->CaptureAndSaveImage(file, height));
854  } else {
855  // Single-threaded save
856  if (height == -1)
857  (*j)->GetGLViewer()->SavePicture(file);
858  else
859  (*j)->GetGLViewer()->SavePictureHeight(file, height);
860  }
861  }
862  }
863 
864  for (auto& f : futures) {
865  f.get();
866  }
867 }

References ev, f, FrontierConditions_GlobalTag_cff::file, getCurrentEvent(), mps_fire::i, dqmiolumiharvest::j, cmsLHEtoEOSManager::l, m_viewMap, and Skims_PA_cff::name.

Referenced by exportImagesOfAllViews().

◆ exportImageOfMainView()

void FWGUIManager::exportImageOfMainView ( )

Definition at line 759 of file FWGUIManager.cc.

759  {
760  if (m_viewPrimPack->GetPack()->GetList()->GetSize() > 2) {
761  TGFrameElementPack* frameEL = (TGFrameElementPack*)m_viewPrimPack->GetPack()->GetList()->At(1);
762  TEveCompositeFrame* ef = dynamic_cast<TEveCompositeFrame*>(frameEL->fFrame);
763  m_viewMap[ef->GetEveWindow()]->promptForSaveImageTo(m_cmsShowMainFrame);
764  } else {
765  fwLog(fwlog::kError) << "Main view has been destroyed." << std::endl;
766  }
767 }

References fwLog, fwlog::kError, m_cmsShowMainFrame, m_viewMap, and m_viewPrimPack.

Referenced by FWGUIManager().

◆ exportImagesOfAllViews()

void FWGUIManager::exportImagesOfAllViews ( )

Definition at line 769 of file FWGUIManager.cc.

769  {
770  try {
771  static TString dir(".");
772  const char* kImageExportTypes[] = {"PNG",
773  "*.png",
774  "GIF",
775  "*.gif",
776  "JPEG",
777  "*.jpg",
778  "PDF",
779  "*.pdf",
780  "Encapsulated PostScript",
781  "*.eps",
782  nullptr,
783  nullptr};
784 
785  TGFileInfo fi;
786  fi.fFileTypes = kImageExportTypes;
787  fi.fIniDir = StrDup(dir);
788  new TGFileDialog(gClient->GetDefaultRoot(), m_cmsShowMainFrame, kFDSave, &fi);
789  dir = fi.fIniDir;
790  if (fi.fFilename != nullptr) {
791  std::string name = fi.fFilename;
792  // fi.fFileTypeIdx points to the name of the file type
793  // selected in the drop-down menu, so fi.fFileTypeIdx gives us
794  // the extension
795  std::string ext = kImageExportTypes[fi.fFileTypeIdx + 1] + 1;
796  if (name.find(ext) == name.npos)
797  name += ext;
798  // now add format trailing before the extension
799  name.insert(name.rfind('.'), "-%u_%u_%u_%s");
800  exportAllViews(name, -1);
801  }
802  } catch (std::runtime_error& e) {
803  std::cout << e.what() << std::endl;
804  }
805 }

References gather_cfg::cout, DeadROC_duringRun::dir, MillePedeFileConverter_cfg::e, exportAllViews(), m_cmsShowMainFrame, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FWGUIManager().

◆ filterButtonClicked()

void FWGUIManager::filterButtonClicked ( )

Definition at line 1267 of file FWGUIManager.cc.

1267 { filterButtonClicked_.emit(); }

References filterButtonClicked_.

◆ finishUpColorChange()

void FWGUIManager::finishUpColorChange ( )
private

Definition at line 1253 of file FWGUIManager.cc.

1253  {
1254  if (m_commonPopup)
1256  if (m_modelPopup)
1258  if (m_ediFrame)
1260 
1261  gEve->FullRedraw3D();
1262 }

References CmsShowCommonPopup::colorSetChanged(), CmsShowModelPopup::colorSetChanged(), CmsShowEDI::colorSetChanged(), m_commonPopup, m_ediFrame, and m_modelPopup.

Referenced by FWGUIManager().

◆ getAction()

CSGAction * FWGUIManager::getAction ( const std::string  name)

◆ getContext()

fireworks::Context* FWGUIManager::getContext ( )
inline

Definition at line 152 of file FWGUIManager.h.

152 { return m_context; }

References m_context.

Referenced by FWFileEntry::openFile().

◆ getCurrentEvent()

const edm::EventBase * FWGUIManager::getCurrentEvent ( ) const

◆ getGUIManager()

FWGUIManager * FWGUIManager::getGUIManager ( )
static

◆ getMainFrame()

CmsShowMainFrame* FWGUIManager::getMainFrame ( ) const
inline

◆ getSwapCandidate()

TEveWindow * FWGUIManager::getSwapCandidate ( )
private

Definition at line 394 of file FWGUIManager.cc.

394  {
395  TEveWindow* swapCandidate = nullptr;
396 
397  if (gEve->GetWindowManager()->GetCurrentWindow()) {
398  swapCandidate = gEve->GetWindowManager()->GetCurrentWindow();
399  } else {
400  // swap with first docked view
401  TEveCompositeFrame* pef;
402  TGFrameElementPack* pel;
403 
404  // check if there is view in prim pack
405  TGPack* pp = m_viewPrimPack->GetPack();
406  if (pp->GetList()->GetSize() > 2) {
407  pel = (TGFrameElementPack*)pp->GetList()->At(1);
408  if (pel->fState) // is first undocked
409  {
410  pef = dynamic_cast<TEveCompositeFrame*>(pel->fFrame);
411  if (pef && pef->GetEveWindow())
412  swapCandidate = pef->GetEveWindow();
413  }
414  }
415  if (swapCandidate == nullptr) {
416  // no eve window found in primary, check secondary
417  TGPack* sp = m_viewSecPack->GetPack();
418  TIter frame_iterator(sp->GetList());
419  while ((pel = (TGFrameElementPack*)frame_iterator())) {
420  pef = dynamic_cast<TEveCompositeFrame*>(pel->fFrame);
421  if (pef && pef->GetEveWindow() && pel->fState) {
422  swapCandidate = pef->GetEveWindow();
423  break;
424  }
425  }
426  }
427  }
428  return swapCandidate;
429 }

References m_viewPrimPack, m_viewSecPack, and createTree::pp.

Referenced by checkSubviewAreaIconState(), and subviewSwapped().

◆ initEmpty()

void FWGUIManager::initEmpty ( )

Definition at line 1321 of file FWGUIManager.cc.

1321  {
1322  int x = 150 + m_WMOffsetX;
1323  int y = 50 + m_WMOffsetY;
1324  m_cmsShowMainFrame->Move(x, y);
1325  m_cmsShowMainFrame->SetWMPosition(x, y < m_WMDecorH ? m_WMDecorH : y);
1326 
1327  createView("Rho Phi");
1328  createView("Rho Z");
1329 
1330  m_cmsShowMainFrame->MapSubwindows();
1331  m_cmsShowMainFrame->Layout();
1332  m_cmsShowMainFrame->MapRaised();
1333 }

References createView(), m_cmsShowMainFrame, m_WMDecorH, m_WMOffsetX, m_WMOffsetY, x, and y.

Referenced by CmsShowMain::setupDataHandling().

◆ loopAction()

CSGContinuousAction * FWGUIManager::loopAction ( )

Definition at line 356 of file FWGUIManager.cc.

356 { return m_cmsShowMainFrame->loopAction(); }

References CmsShowMainFrame::loopAction(), and m_cmsShowMainFrame.

◆ lumiIdChanged()

void FWGUIManager::lumiIdChanged ( )

◆ makeGUIsubview()

TGFrame * FWGUIManager::makeGUIsubview ( TEveCompositeFrame *  cp,
TGCompositeFrame *  parent,
Int_t  height 
)
static

Definition at line 268 of file FWGUIManager.cc.

268  {
269  TGFrame* frame = new FWGUISubviewArea(cp, parent, height);
270  return frame;
271 }

References CommonMethods::cp(), amptDefault_cfi::frame, and class-composition::parent.

Referenced by FWGUIManager().

◆ measureWMOffsets()

void FWGUIManager::measureWMOffsets ( )
private

Definition at line 1282 of file FWGUIManager.cc.

1282  {
1283  const Int_t x = 100, y = 100;
1284 
1285  TGMainFrame* mf1 = new TGMainFrame(nullptr, 0, 0);
1286  mf1->MapWindow();
1287  mf1->Move(x, y);
1288 
1289  // This seems to be the only reliable way to make sure Move() has been processed.
1290  {
1291  TGMainFrame* mf2 = new TGMainFrame(nullptr, 0, 0);
1292  mf2->MapWindow();
1293  while (!mf2->IsMapped())
1294  gClient->HandleInput();
1295  delete mf2;
1296  }
1297  {
1298  Int_t xm, ym;
1299  Window_t childdum;
1300  WindowAttributes_t attr;
1301  gVirtualX->TranslateCoordinates(mf1->GetId(), gClient->GetDefaultRoot()->GetId(), 0, 0, xm, ym, childdum);
1302  gVirtualX->GetWindowAttributes(mf1->GetId(), attr);
1303  m_WMOffsetX = x - xm;
1304  m_WMOffsetY = y - ym;
1305  m_WMDecorH = attr.fY;
1306  fwLog(fwlog::kDebug) << Form(
1307  "FWGUIManager::measureWMOffsets: required (%d,%d), measured(%d, %d) => dx=%d, dy=%d; decor_h=%d.\n",
1308  x,
1309  y,
1310  xm,
1311  ym,
1312  m_WMOffsetX,
1313  m_WMOffsetY,
1314  m_WMDecorH);
1315  }
1316  delete mf1;
1317 }

References fwLog, fwlog::kDebug, m_WMDecorH, m_WMOffsetX, m_WMOffsetY, x, and y.

Referenced by FWGUIManager().

◆ newItem()

void FWGUIManager::newItem ( const FWEventItem iItem)
private

Definition at line 371 of file FWGUIManager.cc.

371  {
372 #if defined(THIS_WILL_NEVER_BE_DEFINED)
373  m_selectionItemsComboBox->AddEntry(iItem->name().c_str(), iItem->id());
374  if (iItem->id() == 0) {
375  m_selectionItemsComboBox->Select(0);
376  }
377 #endif
378 }

References FWEventItem::id(), and FWEventItem::name().

Referenced by FWGUIManager().

◆ newViewSlot()

void FWGUIManager::newViewSlot ( const std::string &  iName)

Definition at line 277 of file FWGUIManager.cc.

277  {
278  // this function have to exist, becuse CSGAction binds to void functions
279  createView(iName);
280 }

References createView().

Referenced by FWGUIManager().

◆ open3DRegion()

void FWGUIManager::open3DRegion ( )

Definition at line 565 of file FWGUIManager.cc.

565  {
566  try {
567  FWModelId id = *(m_context->selectionManager()->selected().begin());
568  float theta = 0, phi = 0;
569  edm::TypeWithDict type = edm::TypeWithDict((TClass*)id.item()->modelType());
570  using namespace boost::spirit::classic;
572  reco::parser::Grammar grammar(tmpPtr, type);
573  edm::ObjectWithDict o(type, (void*)id.item()->modelData(id.index()));
574  if (parse("theta()", grammar.use_parser<1>() >> end_p, space_p).full)
575  theta = tmpPtr->value(o);
576  else
577  throw FWExpressionException("syntax error", -1);
578  if (parse("phi()", grammar.use_parser<1>() >> end_p, space_p).full)
579  phi = tmpPtr->value(o);
580  else
581  throw FWExpressionException("syntax error", -1);
582  ViewMap_i it = createView("3D Tower", m_viewSecPack->NewSlot());
583  FW3DViewBase* v = static_cast<FW3DViewBase*>(it->second);
584  v->setClip(theta, phi);
585  it->first->UndockWindow();
586  } catch (const reco::parser::BaseException& e) {
587  std::cout << " FWModelFilter failed to base " << e.what() << std::endl;
588  }
589 }

References gather_cfg::cout, createView(), MillePedeFileConverter_cfg::e, B2GTnPMonitor_cfi::item, m_context, m_viewSecPack, EcalTangentSkim_cfg::o, dumpparser::parse(), phi, FWSelectionManager::selected(), fireworks::Context::selectionManager(), theta(), and findQualityFiles::v.

Referenced by FWModelContextMenuHandler::chosenItem().

◆ openEveBrowserForDebugging()

void FWGUIManager::openEveBrowserForDebugging ( ) const

Definition at line 1212 of file FWGUIManager.cc.

1212 { gEve->GetBrowser()->MapWindow(); }

◆ operator=()

const FWGUIManager& FWGUIManager::operator= ( const FWGUIManager )
privatedelete

◆ playEventsAction()

CSGContinuousAction * FWGUIManager::playEventsAction ( )

◆ playEventsBackwardsAction()

CSGContinuousAction * FWGUIManager::playEventsBackwardsAction ( )

Definition at line 352 of file FWGUIManager.cc.

352  {
354 }

References m_cmsShowMainFrame, and CmsShowMainFrame::playEventsBackwardsAction().

◆ popupViewClosed()

void FWGUIManager::popupViewClosed ( )

◆ promptForConfigurationFile()

bool FWGUIManager::promptForConfigurationFile ( std::string &  result,
enum EFileDialogMode  mode 
)
private

Helper method for a load / save configuration dialog.

result where the picked file is stored.

mode the mode for the dialog (i.e. Load / Save).

Returns
true if a file was successfully picked, false otherwise.

Definition at line 697 of file FWGUIManager.cc.

697  {
698  const static char* kFileTypes[] = {"Fireworks Configuration files", "*.fwc", "All Files", "*", nullptr, nullptr};
699 
700  static TString dir(".");
701 
702  TGFileInfo fi;
703  fi.fFileTypes = kFileTypes;
704  fi.fIniDir = StrDup(dir);
705  new TGFileDialog(gClient->GetDefaultRoot(), m_cmsShowMainFrame, mode, &fi);
706  dir = fi.fIniDir;
707  if (fi.fFilename == nullptr) // to handle "cancel" button properly
708  return false;
709  std::string name = fi.fFilename;
710  // if the extension isn't already specified by hand, specify it now
711  std::string ext = kFileTypes[fi.fFileTypeIdx + 1] + 1;
712  if (!ext.empty() && name.find(ext) == name.npos)
713  name += ext;
714  result = name;
715  return true;
716 }

References DeadROC_duringRun::dir, m_cmsShowMainFrame, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, Skims_PA_cff::name, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by promptForLoadConfigurationFile(), promptForPartialLoadConfigurationFile(), promptForPartialSaveConfigurationFile(), and promptForSaveConfigurationFile().

◆ promptForLoadConfigurationFile()

void FWGUIManager::promptForLoadConfigurationFile ( )
private

Emits the signal which request to load the configuration file picked up in a dialog.

Definition at line 721 of file FWGUIManager.cc.

721  {
723  if (!promptForConfigurationFile(name, kFDOpen))
724  return;
725 
727 }

References loadFromConfigurationFile_, Skims_PA_cff::name, promptForConfigurationFile(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FWGUIManager().

◆ promptForPartialLoadConfigurationFile()

void FWGUIManager::promptForPartialLoadConfigurationFile ( )
private

Definition at line 729 of file FWGUIManager.cc.

729  {
731  if (!promptForConfigurationFile(name, kFDOpen))
732  return;
733 
735  //
736 }

References loadPartialFromConfigurationFile_, Skims_PA_cff::name, promptForConfigurationFile(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FWGUIManager().

◆ promptForPartialSaveConfigurationFile()

void FWGUIManager::promptForPartialSaveConfigurationFile ( )
private

◆ promptForSaveConfigurationFile()

void FWGUIManager::promptForSaveConfigurationFile ( )
private

Emits the signal which requests to save the current configuration in the file picked up in the dialog.

Definition at line 741 of file FWGUIManager.cc.

741  {
743  if (!promptForConfigurationFile(name, kFDSave))
744  return;
745 
747 }

References Skims_PA_cff::name, promptForConfigurationFile(), AlCaHLTBitMon_QueryRunRegistry::string, and writeToConfigurationFile_.

Referenced by FWGUIManager().

◆ registerViewBuilder()

void FWGUIManager::registerViewBuilder ( const std::string &  iName,
ViewBuildFunctor iBuilder 
)

◆ resetWMOffsets()

void FWGUIManager::resetWMOffsets ( )

Definition at line 1319 of file FWGUIManager.cc.

1319 { m_WMOffsetX = m_WMOffsetY = m_WMDecorH = 0; }

References m_WMDecorH, m_WMOffsetX, and m_WMOffsetY.

Referenced by CmsShowMain::CmsShowMain().

◆ runIdChanged()

void FWGUIManager::runIdChanged ( )

◆ savePartialToConfigurationFile()

void FWGUIManager::savePartialToConfigurationFile ( )
private

Definition at line 757 of file FWGUIManager.cc.

757 { writePartialToConfigurationFile_("current"); }

References writePartialToConfigurationFile_.

Referenced by FWGUIManager().

◆ setDelayBetweenEvents()

void FWGUIManager::setDelayBetweenEvents ( Float_t  val)

◆ setFilterButtonIcon()

void FWGUIManager::setFilterButtonIcon ( int  state)

◆ setFilterButtonText()

void FWGUIManager::setFilterButtonText ( const char *  txt)

◆ setFrom()

void FWGUIManager::setFrom ( const FWConfiguration iFrom)
overridevirtual

Implements FWConfigurable.

Definition at line 1087 of file FWGUIManager.cc.

1087  {
1088  gEve->DisableRedraw();
1089  // main window
1090  if (m_viewSecPack)
1092 
1093  const FWConfiguration* mw = iFrom.valueForKey(kMainWindow);
1094  assert(mw != nullptr);
1095  // Window needs to mapped before moving, otherwise move can lead
1096  // to wrong results on some window managers.
1097 
1098  // set from view reading area info nd view info
1099  float_t leftWeight = 1;
1100  float_t rightWeight = 1;
1101  if (mw->version() >= 2) {
1102  leftWeight = atof(mw->valueForKey("leftWeight")->value().c_str());
1103  rightWeight = atof(mw->valueForKey("rightWeight")->value().c_str());
1104  }
1105 
1106  if (mw->version() >= 3) {
1107  float summaryWeight = atof(mw->valueForKey("summaryWeight")->value().c_str());
1108  m_cmsShowMainFrame->setSummaryViewWeight(summaryWeight);
1109  }
1110 
1111  TEveWindowSlot* primSlot = (leftWeight > 0) ? m_viewPrimPack->NewSlotWithWeight(leftWeight) : nullptr;
1112  m_viewSecPack = m_viewPrimPack->NewSlotWithWeight(rightWeight)->MakePack();
1113  m_viewSecPack->SetVertical();
1114  m_viewSecPack->SetShowTitleBar(kFALSE);
1115 
1116  // views list
1117  const FWConfiguration* views = iFrom.valueForKey(kViews);
1118  assert(nullptr != views);
1119  const FWConfiguration::KeyValues* keyVals = views->keyValues();
1120  const FWConfiguration* viewArea = iFrom.valueForKey(kViewArea);
1121 
1122  // area list (ignored in older version)
1123  if (viewArea->version() > 1) {
1124  const FWConfiguration::KeyValues* akv = viewArea->keyValues();
1125  FWConfiguration::KeyValuesIt areaIt = akv->begin();
1126 
1127  for (FWConfiguration::KeyValuesIt it = keyVals->begin(); it != keyVals->end(); ++it) {
1128  float weight = atof((areaIt->second).valueForKey("weight")->value().c_str());
1129  TEveWindowSlot* slot =
1130  (!m_viewMap.empty() || (primSlot == nullptr)) ? m_viewSecPack->NewSlotWithWeight(weight) : primSlot;
1131  std::string name = FWViewType::checkNameWithViewVersion(it->first, it->second.version());
1132  ViewMap_i lastViewIt = createView(name, slot);
1133  lastViewIt->second->setFrom(it->second);
1134 
1135  bool undocked = atof((areaIt->second).valueForKey("undocked")->value().c_str());
1136  if (undocked) {
1137  TEveWindow* lastWindow = lastViewIt->first;
1138  lastWindow->UndockWindow();
1139  TEveCompositeFrameInMainFrame* emf = dynamic_cast<TEveCompositeFrameInMainFrame*>(lastWindow->GetEveFrame());
1140  if (emf) {
1141  const TGMainFrame* mf = dynamic_cast<const TGMainFrame*>(emf->GetParent());
1142  if (mf) {
1144  TGMainFrame* mfp = (TGMainFrame*)mf; // have to cast in non-const
1145  const FWConfiguration* mwc = (areaIt->second).valueForKey("UndockedWindowPos");
1146  setWindowInfoFrom(*mwc, mfp);
1147  }
1148  }
1149  }
1150  areaIt++;
1151  }
1152  } else { // create views with same weight in old version
1153  for (FWConfiguration::KeyValuesIt it = keyVals->begin(); it != keyVals->end(); ++it) {
1154  std::string name = FWViewType::checkNameWithViewVersion(it->first, it->second.version());
1155  createView(name, !m_viewMap.empty() ? m_viewSecPack->NewSlot() : primSlot);
1156 
1157  ViewMap_i lastViewIt = m_viewMap.end();
1158  lastViewIt--;
1159  lastViewIt->second->setFrom(it->second);
1160  }
1161  // handle undocked windows in old version
1162  const FWConfiguration* undocked = iFrom.valueForKey(kUndocked);
1163  if (nullptr != undocked) {
1164  fwLog(fwlog::kWarning) << "Restrore of undocked windows with old window management not supported." << std::endl;
1165  }
1166  }
1167 
1168  //handle controllers
1169  const FWConfiguration* controllers = iFrom.valueForKey(kControllers);
1170  if (nullptr != controllers) {
1171  const FWConfiguration::KeyValues* keyVals = controllers->keyValues();
1172  if (nullptr != keyVals) {
1173  //we have open controllers
1174  for (FWConfiguration::KeyValuesIt it = keyVals->begin(); it != keyVals->end(); ++it) {
1175  const std::string& controllerName = it->first;
1176  // std::cout <<"found controller "<<controllerName<<std::endl;
1177  if (controllerName == kCollectionController) {
1178  showEDIFrame();
1179  setWindowInfoFrom(it->second, m_ediFrame);
1180  } else if (controllerName == kViewController) {
1181  setViewPopup(nullptr);
1182  setWindowInfoFrom(it->second, m_viewPopup);
1183  } else if (controllerName == kObjectController) {
1184  showModelPopup();
1185  setWindowInfoFrom(it->second, m_modelPopup);
1186  } else if (controllerName == kCommonController) {
1187  showCommonPopup();
1188  setWindowInfoFrom(it->second, m_commonPopup);
1189  }
1190  }
1191  }
1192  }
1193 
1194  for (ViewMap_i it = m_viewMap.begin(); it != m_viewMap.end(); ++it) {
1195  if (it->second->typeId() >= FWViewType::kGeometryTable) {
1198  }
1199  }
1200 
1201  gEve->EnableRedraw();
1202  // disable first docked view
1203  checkSubviewAreaIconState(nullptr);
1204 
1205  m_cmsShowMainFrame->MapWindow();
1207  m_cmsShowMainFrame->MapSubwindows();
1208  m_cmsShowMainFrame->Layout();
1209  m_cmsShowMainFrame->MapRaised();
1210 }

References cms::cuda::assert(), CmsShowMainFrame::bindCSGActionKeys(), FWViewType::checkNameWithViewVersion(), checkSubviewAreaIconState(), createView(), jetCorrFactors_cfi::emf, fwLog, kCollectionController(), kCommonController(), kControllers(), FWConfiguration::keyValues(), FWViewType::kGeometryTable, kMainWindow(), kObjectController(), kUndocked(), kViewArea(), kViewController(), kViews(), fwlog::kWarning, m_cmsShowMainFrame, m_commonPopup, m_ediFrame, m_modelPopup, m_viewMap, m_viewPopup, m_viewPrimPack, m_viewSecPack, Skims_PA_cff::name, FWGeometryTableViewBase::populate3DViewsFromConfig(), CmsShowMainFrame::setSummaryViewWeight(), setViewPopup(), setWindowInfoFrom(), showCommonPopup(), showEDIFrame(), showModelPopup(), AlCaHLTBitMon_QueryRunRegistry::string, subviewDestroyAll(), FWConfiguration::value(), FWConfiguration::valueForKey(), and FWConfiguration::version().

◆ setPlayMode()

void FWGUIManager::setPlayMode ( bool  play)

Definition at line 362 of file FWGUIManager.cc.

362  {
363  m_cmsShowMainFrame->m_runEntry->SetEnabled(!play);
364  m_cmsShowMainFrame->m_eventEntry->SetEnabled(!play);
365 }

References m_cmsShowMainFrame, CmsShowMainFrame::m_eventEntry, and CmsShowMainFrame::m_runEntry.

◆ setViewPopup()

void FWGUIManager::setViewPopup ( TEveWindow *  ew)
private

Definition at line 625 of file FWGUIManager.cc.

625  {
626  FWViewBase* vb = ew ? m_viewMap[ew] : nullptr;
627  if (m_viewPopup == nullptr) {
628  m_viewPopup = new CmsShowViewPopup(nullptr, 200, 200, m_context->colorManager(), vb, ew);
630  } else {
632  }
633  m_viewPopup->reset(vb, ew);
634  m_viewPopup->MapRaised();
635 }

References CmsShowViewPopup::closed_, fireworks::Context::colorManager(), m_context, m_guiManager, m_viewMap, m_viewPopup, popupViewClosed(), CmsShowViewPopup::reset(), and CmsShowViewPopup::UnmapWindow().

Referenced by setFrom(), showViewPopup(), subviewDestroyAll(), subviewInfoSelected(), and subviewIsBeingDestroyed().

◆ setWindowInfoFrom()

void FWGUIManager::setWindowInfoFrom ( const FWConfiguration iFrom,
TGMainFrame *  iFrame 
)

Definition at line 1076 of file FWGUIManager.cc.

1076  {
1077  int x = atoi(iFrom.valueForKey("x")->value().c_str()) + m_WMOffsetX;
1078  int y = atoi(iFrom.valueForKey("y")->value().c_str()) + m_WMOffsetY;
1079  if (y < m_WMDecorH)
1080  y = m_WMDecorH;
1081  int width = atoi(iFrom.valueForKey("width")->value().c_str());
1082  int height = atoi(iFrom.valueForKey("height")->value().c_str());
1083  iFrame->MoveResize(x, y, width, height);
1084  iFrame->SetWMPosition(x, y);
1085 }

References m_WMDecorH, m_WMOffsetX, m_WMOffsetY, FWConfiguration::value(), FWConfiguration::valueForKey(), ApeEstimator_cff::width, x, and y.

Referenced by setFrom().

◆ showCommonPopup()

void FWGUIManager::showCommonPopup ( )

◆ showEDIFrame()

void FWGUIManager::showEDIFrame ( int  iInfoToShow = -1)

Allowed values are -1 or ones from FWDataCategories enum.

Definition at line 557 of file FWGUIManager.cc.

557  {
558  createEDIFrame();
559  if (-1 != iToShow) {
560  m_ediFrame->show(static_cast<FWDataCategories>(iToShow));
561  }
562  m_ediFrame->MapRaised();
563 }

References createEDIFrame(), m_ediFrame, and CmsShowEDI::show().

Referenced by FWModelContextMenuHandler::chosenItem(), FWGUIManager(), FWSummaryManager::requestForController(), FWSummaryManager::requestForError(), FWSummaryManager::requestForFilter(), FWSummaryManager::requestForInfo(), and setFrom().

◆ showEventFilterGUI()

void FWGUIManager::showEventFilterGUI ( )

◆ showInvMassDialog()

void FWGUIManager::showInvMassDialog ( )

◆ showModelPopup()

void FWGUIManager::showModelPopup ( )

Definition at line 607 of file FWGUIManager.cc.

607  {
608  if (!m_modelPopup)
610  m_modelPopup->MapRaised();
611 }

References createModelPopup(), and m_modelPopup.

Referenced by FWModelContextMenuHandler::chosenItem(), FWGUIManager(), and setFrom().

◆ showSelectedModelContextMenu()

void FWGUIManager::showSelectedModelContextMenu ( Int_t  iGlobalX,
Int_t  iGlobalY,
FWViewContextMenuHandlerBase iHandler 
)

◆ showViewPopup()

void FWGUIManager::showViewPopup ( )

Definition at line 620 of file FWGUIManager.cc.

620  {
621  // CSG action.
622  setViewPopup(nullptr);
623 }

References setViewPopup().

Referenced by FWGUIManager().

◆ subviewDestroy()

void FWGUIManager::subviewDestroy ( FWGUISubviewArea sva)

Definition at line 458 of file FWGUIManager.cc.

458  {
459  TEveWindow* ew = sva->getEveWindow();
460  FWViewBase* viewBase = m_viewMap[ew];
461  m_viewMap.erase(ew);
462  viewBase->destroy();
463 }

References FWViewBase::destroy(), FWGUISubviewArea::getEveWindow(), and m_viewMap.

Referenced by subviewDestroyAll(), and subviewIsBeingDestroyed().

◆ subviewDestroyAll()

void FWGUIManager::subviewDestroyAll ( )

Definition at line 465 of file FWGUIManager.cc.

465  {
466  std::vector<FWGUISubviewArea*> sd;
467  for (ViewMap_i wIt = m_viewMap.begin(); wIt != m_viewMap.end(); ++wIt) {
469  sd.push_back(ar);
470  }
471 
472  for (std::vector<FWGUISubviewArea*>::iterator i = sd.begin(); i != sd.end(); ++i) {
473  if ((*i)->isSelected())
474  setViewPopup(nullptr);
475  subviewDestroy(*i);
476  }
477 
478  gSystem->ProcessEvents();
479  gSystem->Sleep(200);
480 
481  while (m_viewPrimPack->HasChildren()) {
482  TEveWindow* w = dynamic_cast<TEveWindow*>(m_viewPrimPack->FirstChild());
483  if (w)
484  w->DestroyWindowAndSlot();
485  }
486 
487  gSystem->Sleep(200);
488  m_viewSecPack = nullptr;
489  gSystem->ProcessEvents();
490 }

References FWGUISubviewArea::getToolBarFromWindow(), mps_fire::i, m_viewMap, m_viewPrimPack, m_viewSecPack, sd, setViewPopup(), subviewDestroy(), and w.

Referenced by FWPartialConfigLoadGUI::Load(), and setFrom().

◆ subviewInfoSelected()

void FWGUIManager::subviewInfoSelected ( FWGUISubviewArea sva)

Definition at line 492 of file FWGUIManager.cc.

492  {
493  // release button on previously selected
494  TEveWindow* ew = sva->getEveWindow();
495  for (ViewMap_i wIt = m_viewMap.begin(); wIt != m_viewMap.end(); ++wIt) {
496  if (wIt->first != ew)
498  }
499  setViewPopup(sva->getEveWindow());
500 }

References FWGUISubviewArea::getEveWindow(), FWGUISubviewArea::getToolBarFromWindow(), m_viewMap, FWGUISubviewArea::setInfoButton(), and setViewPopup().

Referenced by connectSubviewAreaSignals().

◆ subviewInfoUnselected()

void FWGUIManager::subviewInfoUnselected ( FWGUISubviewArea sva)

Definition at line 502 of file FWGUIManager.cc.

502 { m_viewPopup->UnmapWindow(); }

References m_viewPopup, and CmsShowViewPopup::UnmapWindow().

Referenced by connectSubviewAreaSignals().

◆ subviewIsBeingDestroyed()

void FWGUIManager::subviewIsBeingDestroyed ( FWGUISubviewArea sva)

Definition at line 448 of file FWGUIManager.cc.

448  {
449  if (sva->isSelected())
450  setViewPopup(nullptr);
451 
453  f = boost::bind(&FWGUIManager::subviewDestroy, this, sva);
454  m_tasks->addTask(f);
455  m_tasks->startDoingTasks();
456 }

References f, FWGUISubviewArea::isSelected(), m_tasks, setViewPopup(), and subviewDestroy().

Referenced by connectSubviewAreaSignals().

◆ subviewSwapped()

void FWGUIManager::subviewSwapped ( FWGUISubviewArea sva)

Definition at line 504 of file FWGUIManager.cc.

504  {
505  TEveWindow* curr = getSwapCandidate();
506  TEveWindow* swap = sva->getEveWindow();
507  if (curr)
508  swap->SwapWindow(curr);
509 
510  checkSubviewAreaIconState(nullptr);
511 }

References checkSubviewAreaIconState(), FWGUISubviewArea::getEveWindow(), getSwapCandidate(), and edm::swap().

Referenced by connectSubviewAreaSignals().

◆ titleChanged()

void FWGUIManager::titleChanged ( const char *  title)

Definition at line 318 of file FWGUIManager.cc.

318  {
319  char title[128];
320  snprintf(title, 127, "cmsShow: %s", subtitle);
321  m_cmsShowMainFrame->SetWindowName(title);
322 }

References m_cmsShowMainFrame, and overlapproblemtsosanalyzer_cfi::title.

Referenced by CmsShowMain::appendData(), CmsShowMain::eventChangedImp(), and CmsShowMain::fileChangedSlot().

◆ updateEventFilterEnable()

void FWGUIManager::updateEventFilterEnable ( bool  btnEnabled)

Definition at line 1278 of file FWGUIManager.cc.

1278  {
1279  m_cmsShowMainFrame->m_filterEnableBtn->SetEnabled(btnEnabled);
1280 }

References m_cmsShowMainFrame, and CmsShowMainFrame::m_filterEnableBtn.

Referenced by CmsShowMain::setupDataHandling().

◆ updateStatus()

void FWGUIManager::updateStatus ( const char *  status)

Member Data Documentation

◆ changedDelayBetweenEvents_

sigc::signal<void, Float_t> FWGUIManager::changedDelayBetweenEvents_

Definition at line 214 of file FWGUIManager.h.

Referenced by delaySliderChanged().

◆ changedEventEntry_

sigc::signal<void> FWGUIManager::changedEventEntry_

Definition at line 213 of file FWGUIManager.h.

◆ changedEventId_

sigc::signal<void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t> FWGUIManager::changedEventId_

Definition at line 208 of file FWGUIManager.h.

Referenced by eventIdChanged().

◆ changedRunEntry_

sigc::signal<void> FWGUIManager::changedRunEntry_

Definition at line 212 of file FWGUIManager.h.

◆ filterButtonClicked_

sigc::signal<void> FWGUIManager::filterButtonClicked_

◆ goingToQuit_

sigc::signal<void> FWGUIManager::goingToQuit_

Definition at line 209 of file FWGUIManager.h.

◆ loadFromConfigurationFile_

sigc::signal<void, const std::string&> FWGUIManager::loadFromConfigurationFile_

Definition at line 206 of file FWGUIManager.h.

Referenced by promptForLoadConfigurationFile().

◆ loadPartialFromConfigurationFile_

sigc::signal<void, const std::string&> FWGUIManager::loadPartialFromConfigurationFile_

Definition at line 207 of file FWGUIManager.h.

Referenced by promptForPartialLoadConfigurationFile().

◆ m_cmsShowMainFrame

CmsShowMainFrame* FWGUIManager::m_cmsShowMainFrame
private

◆ m_commonPopup

CmsShowCommonPopup* FWGUIManager::m_commonPopup
private

Definition at line 262 of file FWGUIManager.h.

Referenced by addTo(), finishUpColorChange(), setFrom(), and showCommonPopup().

◆ m_context

fireworks::Context* FWGUIManager::m_context
private

◆ m_contextMenuHandler

FWModelContextMenuHandler* FWGUIManager::m_contextMenuHandler
private

Definition at line 251 of file FWGUIManager.h.

Referenced by FWGUIManager(), showSelectedModelContextMenu(), and ~FWGUIManager().

◆ m_dataAdder

FWGUIEventDataAdder* FWGUIManager::m_dataAdder
private

Definition at line 256 of file FWGUIManager.h.

Referenced by addData().

◆ m_detailViewManager

FWDetailViewManager* FWGUIManager::m_detailViewManager
private

◆ m_ediFrame

CmsShowEDI* FWGUIManager::m_ediFrame
private

◆ m_fileMenu

TGPopupMenu* FWGUIManager::m_fileMenu
private

Definition at line 255 of file FWGUIManager.h.

◆ m_guiManager

FWGUIManager * FWGUIManager::m_guiManager = nullptr
staticprivate

Definition at line 241 of file FWGUIManager.h.

Referenced by createView(), FWGUIManager(), getGUIManager(), and setViewPopup().

◆ m_helpGLPopup

CmsShowHelpPopup* FWGUIManager::m_helpGLPopup
private

Definition at line 268 of file FWGUIManager.h.

Referenced by createHelpGLPopup().

◆ m_helpPopup

CmsShowHelpPopup* FWGUIManager::m_helpPopup
private

Definition at line 266 of file FWGUIManager.h.

Referenced by createHelpPopup().

◆ m_invMassDialog

FWInvMassDialog* FWGUIManager::m_invMassDialog
private

Definition at line 263 of file FWGUIManager.h.

Referenced by showInvMassDialog(), and ~FWGUIManager().

◆ m_modelChangeConn

sigc::connection FWGUIManager::m_modelChangeConn
private

Definition at line 277 of file FWGUIManager.h.

◆ m_modelPopup

CmsShowModelPopup* FWGUIManager::m_modelPopup
private

Definition at line 260 of file FWGUIManager.h.

Referenced by addTo(), createModelPopup(), finishUpColorChange(), setFrom(), and showModelPopup().

◆ m_nameToViewBuilder

NameToViewBuilder FWGUIManager::m_nameToViewBuilder
private

Definition at line 272 of file FWGUIManager.h.

Referenced by createView(), and registerViewBuilder().

◆ m_navigator

FWNavigatorBase* FWGUIManager::m_navigator
private

Definition at line 252 of file FWGUIManager.h.

Referenced by getCurrentEvent().

◆ m_regionViews

std::vector<FWViewBase*> FWGUIManager::m_regionViews
private

Definition at line 280 of file FWGUIManager.h.

Referenced by eventChangedCallback().

◆ m_shortcutPopup

CmsShowHelpPopup* FWGUIManager::m_shortcutPopup
private

Definition at line 267 of file FWGUIManager.h.

Referenced by createShortcutPopup().

◆ m_summaryManager

FWSummaryManager* FWGUIManager::m_summaryManager
private

Definition at line 246 of file FWGUIManager.h.

Referenced by createList(), and ~FWGUIManager().

◆ m_tasks

std::unique_ptr<CmsShowTaskExecutor> FWGUIManager::m_tasks
private

Definition at line 279 of file FWGUIManager.h.

Referenced by subviewIsBeingDestroyed().

◆ m_viewManagerManager

const FWViewManagerManager* FWGUIManager::m_viewManagerManager
private

Definition at line 250 of file FWGUIManager.h.

◆ m_viewMap

ViewMap_t FWGUIManager::m_viewMap
mutableprivate

◆ m_viewPopup

CmsShowViewPopup* FWGUIManager::m_viewPopup
private

◆ m_viewPrimPack

TEveWindowPack* FWGUIManager::m_viewPrimPack
private

◆ m_viewSecPack

TEveWindowPack* FWGUIManager::m_viewSecPack
private

◆ m_WMDecorH

int FWGUIManager::m_WMDecorH
private

Definition at line 281 of file FWGUIManager.h.

Referenced by initEmpty(), measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().

◆ m_WMOffsetX

int FWGUIManager::m_WMOffsetX
private

Definition at line 281 of file FWGUIManager.h.

Referenced by initEmpty(), measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().

◆ m_WMOffsetY

int FWGUIManager::m_WMOffsetY
private

Definition at line 281 of file FWGUIManager.h.

Referenced by initEmpty(), measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().

◆ showEventFilterGUI_

sigc::signal<void, const TGWindow*> FWGUIManager::showEventFilterGUI_

◆ writePartialToConfigurationFile_

sigc::signal<void, const std::string&> FWGUIManager::writePartialToConfigurationFile_

◆ writeToConfigurationFile_

sigc::signal<void, const std::string&> FWGUIManager::writeToConfigurationFile_

Definition at line 204 of file FWGUIManager.h.

Referenced by promptForSaveConfigurationFile().

◆ writeToPresentConfigurationFile_

sigc::signal<void> FWGUIManager::writeToPresentConfigurationFile_

Definition at line 210 of file FWGUIManager.h.

Referenced by FWGUIManager().

cmsshow::sHelp
const std::string sHelp
Definition: ActionsList.cc:44
CmsShowMainFrame::bindCSGActionKeys
void bindCSGActionKeys(const TGMainFrame *f) const
Definition: CmsShowMainFrame.cc:780
FWGUIManager::writeToPresentConfigurationFile_
sigc::signal< void > writeToPresentConfigurationFile_
Definition: FWGUIManager.h:210
FWGUIManager::newViewSlot
void newViewSlot(const std::string &iName)
Definition: FWGUIManager.cc:277
ext
Definition: memstream.h:15
CmsShowMainFrame::clearStatusBar
void clearStatusBar()
Definition: CmsShowMainFrame.cc:641
DDAxes::y
FWGUIManager::popupViewClosed
void popupViewClosed()
Definition: FWGUIManager.cc:613
ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
CmsShowViewPopup::reset
void reset(FWViewBase *, TEveWindow *ew)
Definition: CmsShowViewPopup.cc:101
fwLog
#define fwLog(_level_)
Definition: fwLog.h:45
FWGUISubviewArea::getToolBarFromWindow
static FWGUISubviewArea * getToolBarFromWindow(TEveWindow *)
Definition: FWGUISubviewArea.cc:275
FWGUIManager::getSwapCandidate
TEveWindow * getSwapCandidate()
Definition: FWGUIManager.cc:394
FWGUIManager::filterButtonClicked_
sigc::signal< void > filterButtonClicked_
Definition: FWGUIManager.h:202
mps_fire.i
i
Definition: mps_fire.py:355
FWGUIManager::m_shortcutPopup
CmsShowHelpPopup * m_shortcutPopup
Definition: FWGUIManager.h:267
FWGUIManager::m_tasks
std::unique_ptr< CmsShowTaskExecutor > m_tasks
Definition: FWGUIManager.h:279
FWGUIManager::showViewPopup
void showViewPopup()
Definition: FWGUIManager.cc:620
edm::invalidLuminosityBlockNumber
const LuminosityBlockNumber_t invalidLuminosityBlockNumber
Definition: RunLumiEventNumber.h:17
FWGUIManager::finishUpColorChange
void finishUpColorChange()
Definition: FWGUIManager.cc:1253
FWViewType::idToName
static const std::string & idToName(int)
Definition: FWViewType.cc:72
FWGUIManager::makeGUIsubview
static TGFrame * makeGUIsubview(TEveCompositeFrame *cp, TGCompositeFrame *parent, Int_t height)
Definition: FWGUIManager.cc:268
cmsshow::sShowCommonInsp
const std::string sShowCommonInsp
Definition: ActionsList.cc:29
FWViewType::kGeometryTable
Definition: FWViewType.h:44
fireworks::Context::modelChangeManager
FWModelChangeManager * modelChangeManager() const
Definition: Context.h:53
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
fireworks::Context::colorManager
FWColorManager * colorManager() const
Definition: Context.h:58
FWGUIManager::m_WMDecorH
int m_WMDecorH
Definition: FWGUIManager.h:281
FWGUIManager::m_ediFrame
CmsShowEDI * m_ediFrame
Definition: FWGUIManager.h:259
FWCustomIconsButton::setIcons
void setIcons(const TGPicture *iUpIcon, const TGPicture *iDownIcon, const TGPicture *iDisabledIcon, const TGPicture *ibelowMouseIcon=nullptr)
Definition: FWCustomIconsButton.cc:88
FWGUIManager::showModelPopup
void showModelPopup()
Definition: FWGUIManager.cc:607
FWViewBase::typeName
const std::string & typeName() const
Definition: FWViewBase.cc:107
mps_update.status
status
Definition: mps_update.py:69
boost::spirit::classic
Definition: DDPartSelection.cc:10
addAreaInfoTo
static void addAreaInfoTo(areaInfo &pInfo, FWConfiguration &oTo)
Definition: FWGUIManager.cc:939
FWGUIManager::promptForPartialLoadConfigurationFile
void promptForPartialLoadConfigurationFile()
Definition: FWGUIManager.cc:729
FWGUIManager::changedEventId_
sigc::signal< void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t > changedEventId_
Definition: FWGUIManager.h:208
CmsShowCommonPopup
Definition: CmsShowCommonPopup.h:25
FWModelId
Definition: FWModelId.h:28
cmsshow::sBackgroundColor
const std::string sBackgroundColor
Definition: ActionsList.cc:30
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
cmsshow::sSaveConfigAs
const std::string sSaveConfigAs
Definition: ActionsList.cc:18
FWEventItemsManager
Definition: FWEventItemsManager.h:44
FWViewContextMenuHandlerBase
Definition: FWViewContextMenuHandlerBase.h:29
addWindowInfoTo
static void addWindowInfoTo(const TGFrame *iMain, FWConfiguration &oTo)
Definition: FWGUIManager.cc:879
CmsShowMainFrame::playEventsAction
CSGContinuousAction * playEventsAction() const
Definition: CmsShowMainFrame.h:90
edm::ObjectWithDict
Definition: ObjectWithDict.h:17
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::swap
void swap(Association< C > &lhs, Association< C > &rhs)
Definition: Association.h:117
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
Reconstruction_hiPF_cff.enable
enable
Definition: Reconstruction_hiPF_cff.py:84
FWViewType::kTypeSize
Definition: FWViewType.h:46
CmsShowMainFrame::playEventsBackwardsAction
CSGContinuousAction * playEventsBackwardsAction() const
Definition: CmsShowMainFrame.h:93
FWModelContextMenuHandler
Definition: FWModelContextMenuHandler.h:37
FWGUIManager::m_nameToViewBuilder
NameToViewBuilder m_nameToViewBuilder
Definition: FWGUIManager.h:272
cms::cuda::assert
assert(be >=bs)
CmsShowMainFrame::enableActions
void enableActions(bool enable=true) override
Definition: CmsShowMainFrame.cc:581
CmsShowCommonPopup::colorSetChanged
void colorSetChanged()
Definition: CmsShowCommonPopup.cc:281
FWGUIManager::exportImageOfMainView
void exportImageOfMainView()
Definition: FWGUIManager.cc:759
FWInvMassDialog
Definition: FWInvMassDialog.h:32
FWTEveViewer
Definition: FWTEveViewer.h:36
kViews
static const std::string kViews("views")
CmsShowViewPopup::mapped
bool mapped()
Definition: CmsShowViewPopup.h:93
kViewController
static const std::string kViewController("view")
FWGUIManager::subviewIsBeingDestroyed
void subviewIsBeingDestroyed(FWGUISubviewArea *)
Definition: FWGUIManager.cc:448
FWGUIManager::promptForLoadConfigurationFile
void promptForLoadConfigurationFile()
Definition: FWGUIManager.cc:721
CmsShowMainFrame::m_eventEntry
FWNumberEntryField * m_eventEntry
Definition: CmsShowMainFrame.h:111
DDAxes::x
FWEventItem::id
unsigned int id() const
Definition: FWEventItem.cc:433
FWGUIManager::loadPartialFromConfigurationFile_
sigc::signal< void, const std::string & > loadPartialFromConfigurationFile_
Definition: FWGUIManager.h:207
CSGAction
Definition: CSGAction.h:38
FWSummaryManager
Definition: FWSummaryManager.h:41
CmsShowHelpPopup
Definition: CmsShowHelpPopup.h:29
findQualityFiles.v
v
Definition: findQualityFiles.py:179
FWGUIManager::setViewPopup
void setViewPopup(TEveWindow *)
Definition: FWGUIManager.cc:625
FWGUIManager::createView
ViewMap_i createView(const std::string &iName, TEveWindowSlot *slot=nullptr)
Definition: FWGUIManager.cc:282
FWGUIManager::m_WMOffsetX
int m_WMOffsetX
Definition: FWGUIManager.h:281
FWExpressionException
Definition: FWExpressionException.h:28
FWGUIManager::showCommonPopup
void showCommonPopup()
Definition: FWGUIManager.cc:591
CmsShowMainFrame::m_filterIcons
const TGPicture * m_filterIcons[9]
Definition: CmsShowMainFrame.h:114
fireworks::Context::metadataManager
FWJobMetadataManager * metadataManager() const
Definition: Context.h:60
FWGUIManager::showEventFilterGUI_
sigc::signal< void, const TGWindow * > showEventFilterGUI_
Definition: FWGUIManager.h:203
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
FWGUIManager::createShortcutPopup
void createShortcutPopup()
Definition: FWGUIManager.cc:653
FWGUIManager::promptForPartialSaveConfigurationFile
void promptForPartialSaveConfigurationFile()
Definition: FWGUIManager.cc:749
FWConfiguration::KeyValues
std::vector< std::pair< std::string, FWConfiguration > > KeyValues
Definition: FWConfiguration.h:40
FWGUIManager::showInvMassDialog
void showInvMassDialog()
Definition: FWGUIManager.cc:637
FWGUIManager::subviewDestroyAll
void subviewDestroyAll()
Definition: FWGUIManager.cc:465
edm::invalidRunNumber
const RunNumber_t invalidRunNumber
Definition: RunLumiEventNumber.h:18
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
FWGUIManager::measureWMOffsets
void measureWMOffsets()
Definition: FWGUIManager.cc:1282
CmsShowEDI
Definition: CmsShowEDI.h:52
CmsShowEDI::show
void show(FWDataCategories)
Definition: CmsShowEDI.cc:498
mps_merge.separator
string separator
Definition: mps_merge.py:79
CmsShowViewPopup
Definition: CmsShowViewPopup.h:73
FWGUIManager::getAction
CSGAction * getAction(const std::string name)
Definition: FWGUIManager.cc:348
FWGUIManager::delaySliderChanged
void delaySliderChanged(Int_t)
Definition: FWGUIManager.cc:1217
kObjectController
static const std::string kObjectController("object")
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
FWGUIManager::m_WMOffsetY
int m_WMOffsetY
Definition: FWGUIManager.h:281
CmsShowEDI::colorSetChanged
void colorSetChanged()
Definition: CmsShowEDI.cc:501
kCollectionController
static const std::string kCollectionController("collection")
FWGUIManager::m_summaryManager
FWSummaryManager * m_summaryManager
Definition: FWGUIManager.h:246
FWGUIManager::subviewInfoSelected
void subviewInfoSelected(FWGUISubviewArea *)
Definition: FWGUIManager.cc:492
FWDetailViewManager
Definition: FWDetailViewManager.h:35
FWGUIManager::createHelpGLPopup
void createHelpGLPopup()
Definition: FWGUIManager.cc:663
FWGUIManager::writePartialToConfigurationFile_
sigc::signal< void, const std::string & > writePartialToConfigurationFile_
Definition: FWGUIManager.h:205
FWGUIManager::m_cmsShowMainFrame
CmsShowMainFrame * m_cmsShowMainFrame
Definition: FWGUIManager.h:253
CmsShowModelPopup::colorSetChanged
void colorSetChanged()
Definition: CmsShowModelPopup.cc:251
FWNavigatorBase::getCurrentEvent
virtual const edm::EventBase * getCurrentEvent() const =0
kCommonController
static const std::string kCommonController("common")
CmsShowMainFrame::m_filterShowGUIBtn
TGTextButton * m_filterShowGUIBtn
Definition: CmsShowMainFrame.h:108
FWGUIManager::savePartialToConfigurationFile
void savePartialToConfigurationFile()
Definition: FWGUIManager.cc:757
kMainWindow
static const std::string kMainWindow("main window")
FWGUIManager::m_dataAdder
FWGUIEventDataAdder * m_dataAdder
Definition: FWGUIManager.h:256
fireworks::Context::eventItemsManager
const FWEventItemsManager * eventItemsManager() const
Definition: Context.h:56
FWGeometryTableViewBase::populate3DViewsFromConfig
void populate3DViewsFromConfig()
Definition: FWGeometryTableViewBase.cc:284
CmsShowMainFrame::setSummaryViewWeight
void setSummaryViewWeight(float)
Definition: CmsShowMainFrame.cc:787
FWGUIManager::m_detailViewManager
FWDetailViewManager * m_detailViewManager
Definition: FWGUIManager.h:249
FWGUIManager::m_viewPopup
CmsShowViewPopup * m_viewPopup
Definition: FWGUIManager.h:261
FWGUIManager::promptForConfigurationFile
bool promptForConfigurationFile(std::string &result, enum EFileDialogMode mode)
Definition: FWGUIManager.cc:697
edm::invalidEventNumber
const EventNumber_t invalidEventNumber
Definition: RunLumiEventNumber.h:16
FWSummaryManager::widget
TGCompositeFrame * widget() const
Definition: FWSummaryManager.cc:174
w
const double w
Definition: UKUtility.cc:23
kUndocked
static const std::string kUndocked("undocked views")
HLT_2018_cff.navigator
navigator
Definition: HLT_2018_cff.py:11734
FWSelectionManager::selected
const std::set< FWModelId > & selected() const
Definition: FWSelectionManager.cc:168
getName
TString getName(TString structure, int layer, TString geometry)
Definition: DMRtrends.cc:235
CmsShowMainFrame::enableNext
void enableNext(bool enable=true)
Definition: CmsShowMainFrame.cc:606
FWGeometryTableViewBase
Definition: FWGeometryTableViewBase.h:41
FWGUISubviewArea
Definition: FWGUISubviewArea.h:33
FWViewType::kLegoPFECAL
Definition: FWViewType.h:43
areaInfo
Definition: FWGUIManager.cc:911
FWViewBase::openSelectedModelContextMenu_
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
Definition: FWViewBase.h:57
CmsShowMainFrame::loadEvent
void loadEvent(const edm::EventBase &event)
Definition: CmsShowMainFrame.cc:559
FWGUIEventDataAdder
Definition: FWGUIEventDataAdder.h:41
FWConfiguration::KeyValuesIt
KeyValues::const_iterator KeyValuesIt
Definition: FWConfiguration.h:41
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
FWConfiguration::valueForKey
const FWConfiguration * valueForKey(const std::string &iKey) const
Definition: FWConfiguration.cc:121
CSGAction::activated
sigc::signal< void > activated
Definition: CSGAction.h:100
FWGUISubviewArea::getEveWindow
TEveWindow * getEveWindow()
Definition: FWGUISubviewArea.cc:160
FWGUIManager::getCurrentEvent
const edm::EventBase * getCurrentEvent() const
Definition: FWGUIManager.cc:687
CmsShowMainFrame::m_delaySliderListener
FWIntValueListener * m_delaySliderListener
Definition: CmsShowMainFrame.h:112
FWColorManager::colorsHaveChangedFinished_
sigc::signal< void > colorsHaveChangedFinished_
Definition: FWColorManager.h:106
FWGUIManager::exportImagesOfAllViews
void exportImagesOfAllViews()
Definition: FWGUIManager.cc:769
fireworks::Context::commonPrefs
CmsShowCommon * commonPrefs() const
Definition: Context.cc:160
FWViewType::kGlimpse
Definition: FWViewType.h:38
CmsShowViewPopup::UnmapWindow
void UnmapWindow() override
Definition: CmsShowViewPopup.cc:144
jetCorrFactors_cfi.emf
emf
the use of emf in the JEC is not yet implemented
Definition: jetCorrFactors_cfi.py:6
CmsShowTaskExecutor
Definition: CmsShowTaskExecutor.h:30
FWGUIManager::writeToConfigurationFile_
sigc::signal< void, const std::string & > writeToConfigurationFile_
Definition: FWGUIManager.h:204
cmsshow::sExportImage
const std::string sExportImage
Definition: ActionsList.cc:24
CmsShowMainFrame::enablePrevious
void enablePrevious(bool enable=true)
Definition: CmsShowMainFrame.cc:591
CmsShowMainFrame::m_filterEnableBtn
FWCustomIconsButton * m_filterEnableBtn
Definition: CmsShowMainFrame.h:107
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWGUIManager::showEDIFrame
void showEDIFrame(int iInfoToShow=-1)
Allowed values are -1 or ones from FWDataCategories enum.
Definition: FWGUIManager.cc:557
FWGUIManager::newItem
void newItem(const FWEventItem *)
Definition: FWGUIManager.cc:371
cmsshow::sSaveConfig
const std::string sSaveConfig
Definition: ActionsList.cc:17
FWConfiguration::value
const std::string & value(unsigned int iIndex=0) const
Definition: FWConfiguration.cc:114
FWColorManager::switchBackground
void switchBackground()
Definition: FWColorManager.cc:204
CmsShowMainFrame::loopAction
CSGContinuousAction * loopAction() const
Definition: CmsShowMainFrame.h:91
FWGUIManager::subviewSwapped
void subviewSwapped(FWGUISubviewArea *)
Definition: FWGUIManager.cc:504
kViewArea
static const std::string kViewArea("view area")
dumpparser.parse
def parse(path, config)
Definition: dumpparser.py:13
FWGUIManager::exportAllViews
void exportAllViews(const std::string &format, int height)
Definition: FWGUIManager.cc:807
CSGActionSupervisor::getAction
CSGAction * getAction(const std::string &name)
Definition: CSGActionSupervisor.cc:28
edm::TypeWithDict
Definition: TypeWithDict.h:38
FWNumberEntryField::GetUIntNumber
virtual UInt_t GetUIntNumber()
Definition: FWNumberEntry.cc:48
FWNumberEntryField::GetULong64Number
virtual ULong64_t GetULong64Number()
Definition: FWNumberEntry.cc:54
a
double a
Definition: hdecay.h:119
reco::parser::BaseException
boost::spirit::classic::parser_error< reco::parser::SyntaxErrors > BaseException
Definition: Exception.h:33
FWGUIManager::createEDIFrame
void createEDIFrame()
Definition: FWGUIManager.cc:549
FWNumberEntryField::SetUIntNumber
virtual void SetUIntNumber(UInt_t n)
Definition: FWNumberEntry.cc:51
FWGUIManager::m_context
fireworks::Context * m_context
Definition: FWGUIManager.h:244
cmsshow::sShowAddCollection
const std::string sShowAddCollection
Definition: ActionsList.cc:41
FWGUIManager::showSelectedModelContextMenu
void showSelectedModelContextMenu(Int_t iGlobalX, Int_t iGlobalY, FWViewContextMenuHandlerBase *iHandler)
Definition: FWGUIManager.cc:673
CmsShowTaskExecutor::TaskFunctor
boost::function0< void > TaskFunctor
Definition: CmsShowTaskExecutor.h:35
FrontierConditions_GlobalTag_cff.file
file
Definition: FrontierConditions_GlobalTag_cff.py:13
FWGUIManager::m_viewManagerManager
const FWViewManagerManager * m_viewManagerManager
Definition: FWGUIManager.h:250
cmsshow::sShowObjInsp
const std::string sShowObjInsp
Definition: ActionsList.cc:38
FWViewType::checkNameWithViewVersion
static const std::string & checkNameWithViewVersion(const std::string &name, unsigned int viewVersion)
Definition: FWViewType.cc:79
FWGUIManager::checkSubviewAreaIconState
void checkSubviewAreaIconState(TEveWindow *)
Definition: FWGUIManager.cc:431
writedatasetfile.action
action
Definition: writedatasetfile.py:8
fireworks::Context::getHidePFBuilders
bool getHidePFBuilders() const
Definition: Context.h:80
FWGUIManager::createModelPopup
void createModelPopup()
Definition: FWGUIManager.cc:600
fwlog::kWarning
Definition: fwLog.h:35
FWViewBase::destroy
void destroy()
Definition: FWViewBase.cc:57
FWGUIManager::m_regionViews
std::vector< FWViewBase * > m_regionViews
Definition: FWGUIManager.h:280
CmsShowMainFrame::m_lumiEntry
FWNumberEntryField * m_lumiEntry
Definition: CmsShowMainFrame.h:110
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
reco::parser::ExpressionPtr
std::shared_ptr< ExpressionBase > ExpressionPtr
Definition: ExpressionBase.h:25
FWViewType::kTableHLT
Definition: FWViewType.h:41
FWConfiguration::version
unsigned int version() const
Definition: FWConfiguration.h:49
FWViewBase::contextMenuHandler
virtual FWViewContextMenuHandlerBase * contextMenuHandler() const
Definition: FWViewBase.cc:102
reco::parser::Grammar
Definition: Grammar.h:45
FWGUISubviewArea::setInfoButton
void setInfoButton(bool downp)
Definition: FWGUISubviewArea.cc:273
fileinputsource_cfi.sec
sec
Definition: fileinputsource_cfi.py:87
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
CmsShowViewPopup::closed_
sigc::signal< void > closed_
Definition: CmsShowViewPopup.h:102
cmsshow::sShowEventDisplayInsp
const std::string sShowEventDisplayInsp
Definition: ActionsList.cc:39
FWGUIManager::m_viewSecPack
TEveWindowPack * m_viewSecPack
Definition: FWGUIManager.h:275
FWGUIManager::m_navigator
FWNavigatorBase * m_navigator
Definition: FWGUIManager.h:252
CmsShowModelPopup
Definition: CmsShowModelPopup.h:52
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
DDAxes::phi
FWIntValueListener::valueChanged_
sigc::signal< void, Int_t > valueChanged_
Definition: FWIntValueListener.h:14
FWConfiguration::addKeyValue
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
Definition: FWConfiguration.cc:57
CmsShowCommon::setView
void setView(CmsShowCommonPopup *x)
Definition: CmsShowCommon.h:78
FWGUIManager::m_commonPopup
CmsShowCommonPopup * m_commonPopup
Definition: FWGUIManager.h:262
CmsShowMainFrame
Definition: CmsShowMainFrame.h:56
FWGUIManager::loadFromConfigurationFile_
sigc::signal< void, const std::string & > loadFromConfigurationFile_
Definition: FWGUIManager.h:206
CmsShowViewPopup::getEveWindow
TEveWindow * getEveWindow() const
Definition: CmsShowViewPopup.h:100
cmsshow::sHelpGL
const std::string sHelpGL
Definition: ActionsList.cc:46
FW3DViewBase
Definition: FW3DViewBase.h:42
type
type
Definition: HCALResponse.h:21
heppy_batch.val
val
Definition: heppy_batch.py:351
FWGUIManager::addData
void addData()
Definition: FWGUIManager.cc:380
cmsshow::sShowMainViewCtl
const std::string sShowMainViewCtl
Definition: ActionsList.cc:40
CmsShowMainFrame::updateStatusBar
void updateStatusBar(const char *status)
Definition: CmsShowMainFrame.cc:635
FWConfigurableParameterizable::addTo
void addTo(FWConfiguration &) const override
Definition: FWConfigurableParameterizable.cc:67
FWGUIManager::changedDelayBetweenEvents_
sigc::signal< void, Float_t > changedDelayBetweenEvents_
Definition: FWGUIManager.h:214
CmsShowMainFrame::setPlayDelayGUI
void setPlayDelayGUI(Float_t val, Bool_t sliderChanged)
Definition: CmsShowMainFrame.cc:689
FWGUIManager::m_helpPopup
CmsShowHelpPopup * m_helpPopup
Definition: FWGUIManager.h:266
fwlog::kDebug
Definition: fwLog.h:35
FWConfigurableParameterizable::version
unsigned int version() const
Definition: FWConfigurableParameterizable.h:37
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
FWConfiguration::keyValues
const KeyValues * keyValues() const
Definition: FWConfiguration.h:51
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
edm::EventBase
Definition: EventBase.h:46
cmsshow::sShowInvMassDialog
const std::string sShowInvMassDialog
Definition: ActionsList.cc:42
CmsShowMainFrame::m_runEntry
FWNumberEntryField * m_runEntry
Definition: CmsShowMainFrame.h:109
FWEventItemsManager::newItem_
sigc::signal< void, FWEventItem * > newItem_
Definition: FWEventItemsManager.h:73
format
FWGUIManager::createHelpPopup
void createHelpPopup()
Definition: FWGUIManager.cc:645
FWGUIManager::subviewInfoUnselected
void subviewInfoUnselected(FWGUISubviewArea *)
Definition: FWGUIManager.cc:502
FWGUIManager::m_modelPopup
CmsShowModelPopup * m_modelPopup
Definition: FWGUIManager.h:260
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
FWModelContextMenuHandler::showSelectedModelContext
void showSelectedModelContext(Int_t iX, Int_t iY, FWViewContextMenuHandlerBase *) const
NOTE: iX and iY are in global coordinates.
Definition: FWModelContextMenuHandler.cc:227
FWGUIManager::subviewDestroy
void subviewDestroy(FWGUISubviewArea *)
Definition: FWGUIManager.cc:458
FWGUISubviewArea::isSelected
bool isSelected() const
Definition: FWGUISubviewArea.cc:157
FWGUIManager::m_viewMap
ViewMap_t m_viewMap
Definition: FWGUIManager.h:271
FWNumberEntryField::SetULong64Number
virtual void SetULong64Number(ULong64_t n)
Definition: FWNumberEntry.cc:57
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
sd
double sd
Definition: CascadeWrapper.h:113
fwlog::kError
Definition: fwLog.h:35
FWEventItem::name
const std::string & name() const
Definition: FWEventItem.cc:435
mps_fire.result
result
Definition: mps_fire.py:303
FWConfiguration
Definition: FWConfiguration.h:31
FWDetailViewManager::newEventCallback
void newEventCallback()
Definition: FWDetailViewManager.cc:199
FWGUISubviewArea::setSwapIcon
void setSwapIcon(bool)
Definition: FWGUISubviewArea.cc:131
FWGUIManager::m_guiManager
static FWGUIManager * m_guiManager
Definition: FWGUIManager.h:241
cmsshow::sLoadConfig
const std::string sLoadConfig
Definition: ActionsList.cc:16
FWGUIManager::m_invMassDialog
FWInvMassDialog * m_invMassDialog
Definition: FWGUIManager.h:263
createTree.pp
pp
Definition: createTree.py:17
FWViewType::kRhoPhiPF
Definition: FWViewType.h:42
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
FWViewBase
Definition: FWViewBase.h:36
CommonMethods.cp
def cp(fromDir, toDir, listOfFiles, overwrite=False, smallList=False)
Definition: CommonMethods.py:192
newFWLiteAna.base
base
Definition: newFWLiteAna.py:92
FWGUIManager::ViewMap_i
ViewMap_t::iterator ViewMap_i
Definition: FWGUIManager.h:102
CmsShowMainFrame::createNewViewerAction
CSGAction * createNewViewerAction(const std::string &iActionName, bool seaprator)
Definition: CmsShowMainFrame.cc:551
CmsShowMainFrame::getSummaryViewWeight
float getSummaryViewWeight() const
Definition: CmsShowMainFrame.cc:802
class-composition.parent
parent
Definition: class-composition.py:88
cmsshow::sSavePartialConfigAs
const std::string sSavePartialConfigAs
Definition: ActionsList.cc:22
cmsshow::sKeyboardShort
const std::string sKeyboardShort
Definition: ActionsList.cc:45
cmsshow::sExportAllImages
const std::string sExportAllImages
Definition: ActionsList.cc:25
FWGUIManager::m_helpGLPopup
CmsShowHelpPopup * m_helpGLPopup
Definition: FWGUIManager.h:268
fireworks::Context::selectionManager
FWSelectionManager * selectionManager() const
Definition: Context.h:54
weight
Definition: weight.py:1
FWGUIEventDataAdder::show
void show()
Definition: FWGUIEventDataAdder.cc:416
cmsshow::sSavePartialConfig
const std::string sSavePartialConfig
Definition: ActionsList.cc:21
FWGUIManager::m_contextMenuHandler
FWModelContextMenuHandler * m_contextMenuHandler
Definition: FWGUIManager.h:251
FWGUIManager::promptForSaveConfigurationFile
void promptForSaveConfigurationFile()
Definition: FWGUIManager.cc:741
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
FWGUIManager::m_viewPrimPack
TEveWindowPack * m_viewPrimPack
Definition: FWGUIManager.h:274
FWGUIManager::setWindowInfoFrom
void setWindowInfoFrom(const FWConfiguration &iFrom, TGMainFrame *iFrame)
Definition: FWGUIManager.cc:1076
cmsshow::sLoadPartialConfig
const std::string sLoadPartialConfig
Definition: ActionsList.cc:20
kControllers
static const std::string kControllers("controllers")