CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
CmsShowMainBase Class Referenceabstract

#include <CmsShowMainBase.h>

Inheritance diagram for CmsShowMainBase:
CmsShowMain FWFFLooper FWFFService

Classes

class  SignalTimer
 

Public Member Functions

virtual void autoLoadNewEvent ()=0
 
FWModelChangeManagerchangeManager ()
 
virtual void checkKeyBindingsOnPLayEventsStateChanged ()
 
virtual void checkPosition ()=0
 
 CmsShowMainBase ()
 
FWColorManagercolorManager ()
 
const char * configFilename () const
 
FWConfigurationManagerconfigurationManager ()
 
void doFirstEvent ()
 
void doLastEvent ()
 
void doNextEvent ()
 
void doPreviousEvent ()
 
void draw ()
 
FWEventItemsManagereiManager ()
 
bool forward () const
 
const std::string & geometryFilename (void)
 
FWGeometrygetGeom ()
 
void goToRunEvent (edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t)
 
FWGUIManagerguiManager ()
 
bool isPlaying () const
 
void loadGeometry ()
 
bool loop () const
 
FWModelChangeManagermodelChangeManager ()
 
void partialLoadConfiguration (const std::string &config)
 
void partialWriteToConfigFile (const std::string &config)
 
void playBackward ()
 
void playForward ()
 
virtual void quit ()=0
 
void registerPhysicsObject (const FWPhysicsObjectDesc &iItem)
 
void reloadConfiguration (const std::string &config)
 
FWSelectionManagerselectionManager ()
 
void setAutoSaveAllViewsFormat (const std::string &fmt)
 
void setAutoSaveAllViewsHeight (int x)
 
void setConfigFilename (const std::string &f)
 
void setGeometryFilename (const std::string &filename)
 
void setPlayDelay (Float_t val)
 
void setPlayLoop ()
 
void setSimGeometryFilename (const std::string &filename, const std::string &geoname)
 
void setup (FWNavigatorBase *navigator, fireworks::Context *context, FWJobMetadataManager *metadataManager)
 
void setupActions ()
 
void setupAutoLoad (float x)
 
void setupConfiguration ()
 
void setupDebugSupport ()
 
void setupViewManagers ()
 
void startAutoLoadTimer ()
 
CmsShowTaskExecutorstartupTasks ()
 
void stopAutoLoadTimer ()
 
virtual void stopPlaying ()
 
void unsetPlayLoop ()
 
FWViewManagerManagerviewManager ()
 
void writePartialToConfigFile ()
 
void writeToConfigFile (const std::string &config)
 
void writeToCurrentConfigFile ()
 
virtual ~CmsShowMainBase () noexcept(false)
 

Protected Member Functions

fireworks::Contextcontext ()
 
virtual void eventChangedImp ()
 
void eventChangedSlot ()
 
void sendVersionInfo ()
 

Private Member Functions

void setPlayLoopImp ()
 
void unsetPlayLoopImp ()
 

Private Attributes

std::unique_ptr< SignalTimerm_autoLoadTimer
 
bool m_autoLoadTimerRunning
 
std::string m_autoSaveAllViewsFormat
 
int m_autoSaveAllViewsHeight
 
std::unique_ptr< FWModelChangeManagerm_changeManager
 
std::unique_ptr< FWColorManagerm_colorManager
 
std::string m_configFileName
 
std::unique_ptr< FWConfigurationManagerm_configurationManager
 
fireworks::Contextm_contextPtr
 
std::unique_ptr< FWEventItemsManagerm_eiManager
 
bool m_forward
 
FWGeometry m_geom
 
std::string m_geometryFilename
 
std::unique_ptr< FWGUIManagerm_guiManager
 
bool m_isPlaying
 
bool m_loop
 
FWJobMetadataManagerm_metadataManagerPtr
 
FWNavigatorBasem_navigatorPtr
 
Float_t m_playDelay
 
std::unique_ptr< FWSelectionManagerm_selectionManager
 
std::string m_simGeometryFilename
 
std::unique_ptr< CmsShowTaskExecutorm_startupTasks
 
std::string m_TGeoName
 
std::unique_ptr< FWViewManagerManagerm_viewManager
 

Detailed Description

This is the base class to be used for setting up the main loop and navigation. FF and standalone main should derive from this one, since it takes care of most of the set up and navigation logic. Concrete implementations are actually supposed to create a concrete instance of the Context, FWNavigatorBase and FWJobMetadataManager.

Definition at line 49 of file CmsShowMainBase.h.

Constructor & Destructor Documentation

◆ CmsShowMainBase()

CmsShowMainBase::CmsShowMainBase ( )

Definition at line 49 of file CmsShowMainBase.cc.

References sendVersionInfo().

◆ ~CmsShowMainBase()

CmsShowMainBase::~CmsShowMainBase ( )
virtualnoexcept

Definition at line 71 of file CmsShowMainBase.cc.

71 {}

Member Function Documentation

◆ autoLoadNewEvent()

virtual void CmsShowMainBase::autoLoadNewEvent ( )
pure virtual

Implemented in CmsShowMain, FWFFLooper, and FWFFService.

Referenced by setupActions().

◆ changeManager()

FWModelChangeManager* CmsShowMainBase::changeManager ( )
inline

Definition at line 54 of file CmsShowMainBase.h.

54 { return m_changeManager.get(); }

References m_changeManager.

◆ checkKeyBindingsOnPLayEventsStateChanged()

virtual void CmsShowMainBase::checkKeyBindingsOnPLayEventsStateChanged ( )
inlinevirtual

Reimplemented in CmsShowMain.

Definition at line 120 of file CmsShowMainBase.h.

120 {}

Referenced by playBackward(), playForward(), and stopPlaying().

◆ checkPosition()

virtual void CmsShowMainBase::checkPosition ( )
pure virtual

◆ colorManager()

FWColorManager* CmsShowMainBase::colorManager ( )
inline

Definition at line 55 of file CmsShowMainBase.h.

55 { return m_colorManager.get(); }

References m_colorManager.

◆ configFilename()

const char* CmsShowMainBase::configFilename ( ) const
inline

◆ configurationManager()

FWConfigurationManager* CmsShowMainBase::configurationManager ( )
inline

◆ context()

fireworks::Context* CmsShowMainBase::context ( )
inlineprotected

Definition at line 143 of file CmsShowMainBase.h.

143 { return m_contextPtr; }

References m_contextPtr.

Referenced by FWFFLooper::beginRun(), and setup().

◆ doFirstEvent()

void CmsShowMainBase::doFirstEvent ( )

Definition at line 144 of file CmsShowMainBase.cc.

144  {
146  checkPosition();
147  draw();
148 }

References checkPosition(), draw(), FWNavigatorBase::firstEvent(), and m_navigatorPtr.

Referenced by setupActions().

◆ doLastEvent()

void CmsShowMainBase::doLastEvent ( )

Definition at line 161 of file CmsShowMainBase.cc.

161  {
163  checkPosition();
164  draw();
165 }

References checkPosition(), draw(), FWNavigatorBase::lastEvent(), and m_navigatorPtr.

Referenced by setupActions().

◆ doNextEvent()

void CmsShowMainBase::doNextEvent ( )

Definition at line 150 of file CmsShowMainBase.cc.

150  {
152  checkPosition();
153  draw();
154 }

References checkPosition(), draw(), m_navigatorPtr, and FWNavigatorBase::nextEvent().

Referenced by setupActions().

◆ doPreviousEvent()

void CmsShowMainBase::doPreviousEvent ( )

Definition at line 156 of file CmsShowMainBase.cc.

156  {
158  checkPosition();
159  draw();
160 }

References checkPosition(), draw(), m_navigatorPtr, and FWNavigatorBase::previousEvent().

Referenced by setupActions().

◆ draw()

void CmsShowMainBase::draw ( )

Definition at line 173 of file CmsShowMainBase.cc.

173  {
174  m_guiManager->updateStatus("loading event ...");
175 
178  }
180 
181  TStopwatch sw;
182  m_viewManager->eventBegin();
184  m_viewManager->eventEnd();
185  sw.Stop();
186  fwLog(fwlog::kDebug) << "CmsShowMainBase::draw CpuTime " << sw.CpuTime() << " RealTime " << sw.RealTime()
187  << std::endl;
188 
189  if (!m_autoSaveAllViewsFormat.empty()) {
190  m_guiManager->updateStatus("auto saving images ...");
192  }
193  m_guiManager->clearStatus();
194 }

References FWBeamSpot::checkBeamSpot(), FWMagField::checkFieldInfo(), fwLog, fireworks::Context::getBeamSpot(), FWNavigatorBase::getCurrentEvent(), fireworks::Context::getField(), FWMagField::getSource(), fwlog::kDebug, FWMagField::kUser, m_autoSaveAllViewsFormat, m_autoSaveAllViewsHeight, m_contextPtr, m_eiManager, m_guiManager, m_navigatorPtr, and m_viewManager.

Referenced by CmsShowMain::appendData(), CmsShowMain::autoLoadNewEvent(), doFirstEvent(), doLastEvent(), doNextEvent(), doPreviousEvent(), FWFFLooper::duringLoop(), goToRunEvent(), CmsShowMain::notified(), CmsShowMain::openData(), CmsShowMain::openDataViaURL(), CmsShowMain::postFiltering(), and FWFFService::postProcessEvent().

◆ eiManager()

FWEventItemsManager* CmsShowMainBase::eiManager ( )
inline

◆ eventChangedImp()

void CmsShowMainBase::eventChangedImp ( )
protectedvirtual

Reimplemented in CmsShowMain.

Definition at line 142 of file CmsShowMainBase.cc.

References FWGUIManager::eventChangedCallback(), and guiManager().

Referenced by CmsShowMain::eventChangedImp(), and eventChangedSlot().

◆ eventChangedSlot()

void CmsShowMainBase::eventChangedSlot ( )
protected

Definition at line 140 of file CmsShowMainBase.cc.

140 { eventChangedImp(); }

References eventChangedImp().

Referenced by setupActions().

◆ forward()

bool CmsShowMainBase::forward ( ) const
inline

Definition at line 106 of file CmsShowMainBase.h.

106 { return m_forward; }

References m_forward.

Referenced by FWFFLooper::autoLoadNewEvent(), CmsShowMain::autoLoadNewEvent(), and CmsShowMain::notified().

◆ geometryFilename()

const std::string& CmsShowMainBase::geometryFilename ( void  )
inline

◆ getGeom()

FWGeometry& CmsShowMainBase::getGeom ( )
inline

Definition at line 92 of file CmsShowMainBase.h.

92 { return m_geom; }

References m_geom.

Referenced by FWFFLooper::beginRun(), and FWFFService::postBeginRun().

◆ goToRunEvent()

void CmsShowMainBase::goToRunEvent ( edm::RunNumber_t  run,
edm::LuminosityBlockNumber_t  lumi,
edm::EventNumber_t  event 
)

Definition at line 167 of file CmsShowMainBase.cc.

167  {
169  checkPosition();
170  draw();
171 }

References checkPosition(), draw(), FWNavigatorBase::goToRunEvent(), m_navigatorPtr, and writedatasetfile::run.

Referenced by setupActions().

◆ guiManager()

FWGUIManager* CmsShowMainBase::guiManager ( )
inline

◆ isPlaying()

bool CmsShowMainBase::isPlaying ( ) const
inline

◆ loadGeometry()

void CmsShowMainBase::loadGeometry ( )

Definition at line 388 of file CmsShowMainBase.cc.

388  { // prepare geometry service
389  // ATTN: this should be made configurable
390  try {
391  guiManager()->updateStatus("Loading geometry...");
393  } catch (const std::runtime_error &iException) {
394  fwLog(fwlog::kError) << "CmsShowMain::loadGeometry() caught exception: \n"
395  << m_geometryFilename << " " << iException.what() << std::endl;
396  exit(0);
397  }
398 }

References beamvalidation::exit(), fwLog, guiManager(), fwlog::kError, FWGeometry::loadMap(), m_geom, m_geometryFilename, and FWGUIManager::updateStatus().

Referenced by FWFFLooper::beginRun(), CmsShowMain::CmsShowMain(), FWFFService::FWFFService(), and FWFFLooper::loadDefaultGeometryFile().

◆ loop()

bool CmsShowMainBase::loop ( ) const
inline

◆ modelChangeManager()

FWModelChangeManager* CmsShowMainBase::modelChangeManager ( )
inline

Definition at line 58 of file CmsShowMainBase.h.

58 { return m_changeManager.get(); }

References m_changeManager.

◆ partialLoadConfiguration()

void CmsShowMainBase::partialLoadConfiguration ( const std::string &  config)

Definition at line 290 of file CmsShowMainBase.cc.

290  {
292 }

References m_configurationManager, m_eiManager, and Skims_PA_cff::name.

Referenced by setup().

◆ partialWriteToConfigFile()

void CmsShowMainBase::partialWriteToConfigFile ( const std::string &  config)

Definition at line 246 of file CmsShowMainBase.cc.

246  {
247  std::string p = (name == "current") ? m_configFileName.c_str() : name.c_str();
249 }

References m_configFileName, m_configurationManager, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by setup().

◆ playBackward()

void CmsShowMainBase::playBackward ( )

◆ playForward()

void CmsShowMainBase::playForward ( )

◆ quit()

virtual void CmsShowMainBase::quit ( )
pure virtual

Implemented in FWFFLooper, CmsShowMain, and FWFFService.

Referenced by setupActions().

◆ registerPhysicsObject()

void CmsShowMainBase::registerPhysicsObject ( const FWPhysicsObjectDesc iItem)

Definition at line 365 of file CmsShowMainBase.cc.

365 { m_eiManager->add(iItem); }

References m_eiManager.

◆ reloadConfiguration()

void CmsShowMainBase::reloadConfiguration ( const std::string &  config)

Definition at line 251 of file CmsShowMainBase.cc.

251  {
252  if (config.empty())
253  return;
254 
256 
257  std::string msg = "Reloading configuration " + config + "...";
258  fwLog(fwlog::kDebug) << msg << std::endl;
259  m_guiManager->updateStatus(msg.c_str());
260  m_guiManager->subviewDestroyAll();
261  m_eiManager->clearItems();
263  try {
264  gEve->DisableRedraw();
265  m_configurationManager->readFromFile(config);
266  gEve->EnableRedraw();
267  } catch (SimpleSAXParser::ParserError &e) {
268  Int_t chosen;
269  new TGMsgBox(gClient->GetDefaultRoot(),
270  gClient->GetDefaultRoot(),
271  "Bad configuration",
272  ("Configuration " + config + " cannot be parsed: " + e.error()).c_str(),
273  kMBIconExclamation,
274  kMBCancel,
275  &chosen);
276  } catch (...) {
277  Int_t chosen;
278  new TGMsgBox(gClient->GetDefaultRoot(),
279  gClient->GetDefaultRoot(),
280  "Bad configuration",
281  ("Configuration " + config + " cannot be parsed.").c_str(),
282  kMBIconExclamation,
283  kMBCancel,
284  &chosen);
285  }
286 
287  m_guiManager->updateStatus("");
288 }

References looper::config, MillePedeFileConverter_cfg::e, fwLog, fwlog::kDebug, m_configFileName, m_configurationManager, m_eiManager, m_guiManager, mps_check::msg, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by setup().

◆ selectionManager()

FWSelectionManager* CmsShowMainBase::selectionManager ( )
inline

Definition at line 59 of file CmsShowMainBase.h.

59 { return m_selectionManager.get(); }

References m_selectionManager.

Referenced by CmsShowMain::~CmsShowMain().

◆ sendVersionInfo()

void CmsShowMainBase::sendVersionInfo ( )
protected

Definition at line 400 of file CmsShowMainBase.cc.

400  {
401  // Send version info to xrootd.t2.ucsd.edu receiver on port 9698.
402 
403  // receiver
404  struct hostent *h = gethostbyname("xrootd.t2.ucsd.edu");
405  if (!h)
406  return;
407 
408  struct sockaddr_in remoteServAddr;
409  remoteServAddr.sin_family = h->h_addrtype;
410  memcpy((char *)&remoteServAddr.sin_addr.s_addr, h->h_addr_list[0], h->h_length);
411  remoteServAddr.sin_port = htons(9698);
412 
413  // socket creation
414  int sd = socket(AF_INET, SOCK_DGRAM, 0);
415  if (sd < 0) {
416  // std::cout << "can't create socket \n";
417  return;
418  }
419  // bind any port
420  // printf("bind port\n");
421  struct sockaddr_in cliAddr;
422  cliAddr.sin_family = AF_INET;
423  cliAddr.sin_addr.s_addr = htonl(INADDR_ANY);
424  cliAddr.sin_port = htons(0);
425 
426  int rc = bind(sd, (struct sockaddr *)&cliAddr, sizeof(cliAddr));
427  if (rc < 0) {
428  // std::cout << "can't bind port %d " << rc << std::endl;
429  return;
430  }
431 
432  // get OSX version
433  TString osx_version;
434  try {
435  std::ifstream infoFile("/System/Library/CoreServices/SystemVersion.plist");
436  osx_version.ReadFile(infoFile);
437  TPMERegexp re("ProductVersion\\</key\\>\\n\\t\\<string\\>(10.*)\\</string\\>");
438  re.Match(osx_version);
439  osx_version = re[1];
440  } catch (...) {
441  }
442 
443  // send data
444  SysInfo_t sInfo;
445  gSystem->GetSysInfo(&sInfo);
446  char msg[128];
447 
448  if (gSystem->Getenv("CMSSW_VERSION")) {
449  snprintf(msg, 64, "%s %s %s", gSystem->Getenv("CMSSW_VERSION"), sInfo.fOS.Data(), osx_version.Data());
450  } else {
451  TString versionFileName("data/version.txt");
452  fireworks::setPath(versionFileName);
453  std::ifstream fs(versionFileName);
454  TString infoText;
455  infoText.ReadLine(fs);
456  fs.close();
457  snprintf(msg, 64, "Standalone %s %s %s", infoText.Data(), sInfo.fOS.Data(), osx_version.Data());
458  }
459 
460  int flags = 0;
461  sendto(sd, msg, strlen(msg), flags, (struct sockaddr *)&remoteServAddr, sizeof(remoteServAddr));
462 }

References HLT_2018_cff::flags, mps_check::msg, sd, and fireworks::setPath().

Referenced by CmsShowMainBase().

◆ setAutoSaveAllViewsFormat()

void CmsShowMainBase::setAutoSaveAllViewsFormat ( const std::string &  fmt)
inline

Definition at line 127 of file CmsShowMainBase.h.

127 { m_autoSaveAllViewsFormat = fmt; }

References m_autoSaveAllViewsFormat.

Referenced by CmsShowMain::CmsShowMain().

◆ setAutoSaveAllViewsHeight()

void CmsShowMainBase::setAutoSaveAllViewsHeight ( int  x)
inline

Definition at line 128 of file CmsShowMainBase.h.

References m_autoSaveAllViewsHeight, and x.

Referenced by CmsShowMain::CmsShowMain().

◆ setConfigFilename()

void CmsShowMainBase::setConfigFilename ( const std::string &  f)
inline

Definition at line 74 of file CmsShowMainBase.h.

74 { m_configFileName = f; };

References f, and m_configFileName.

Referenced by CmsShowMain::CmsShowMain(), FWFFLooper::FWFFLooper(), and FWFFService::FWFFService().

◆ setGeometryFilename()

void CmsShowMainBase::setGeometryFilename ( const std::string &  filename)
inline

◆ setPlayDelay()

void CmsShowMainBase::setPlayDelay ( Float_t  val)

Definition at line 340 of file CmsShowMainBase.cc.

340 { m_playDelay = val; }

References m_playDelay, and heppy_batch::val.

Referenced by setupActions().

◆ setPlayLoop()

void CmsShowMainBase::setPlayLoop ( )

Definition at line 347 of file CmsShowMainBase.cc.

347  {
348  if (!m_loop) {
349  setPlayLoopImp();
350  m_guiManager->loopAction()->activated();
351  }
352 }

References m_guiManager, m_loop, and setPlayLoopImp().

Referenced by CmsShowMain::CmsShowMain().

◆ setPlayLoopImp()

void CmsShowMainBase::setPlayLoopImp ( )
private

Definition at line 361 of file CmsShowMainBase.cc.

361 { m_loop = true; }

References m_loop.

Referenced by setPlayLoop(), and setupActions().

◆ setSimGeometryFilename()

void CmsShowMainBase::setSimGeometryFilename ( const std::string &  filename,
const std::string &  geoname 
)
inline

Definition at line 94 of file CmsShowMainBase.h.

94  {
96  m_TGeoName = geoname;
97  }

References corrVsCorr::filename, m_simGeometryFilename, and m_TGeoName.

Referenced by CmsShowMain::CmsShowMain().

◆ setup()

void CmsShowMainBase::setup ( FWNavigatorBase navigator,
fireworks::Context context,
FWJobMetadataManager metadataManager 
)

Definition at line 196 of file CmsShowMainBase.cc.

198  {
202  m_metadataManagerPtr = metadataManager;
203 
204  m_colorManager->initialize();
207 
208  m_eiManager->newItem_.connect(boost::bind(&FWModelChangeManager::newItemSlot, m_changeManager.get(), _1));
209 
210  m_eiManager->newItem_.connect(boost::bind(&FWViewManagerManager::registerEventItem, m_viewManager.get(), _1));
211  m_configurationManager->add("EventItems", m_eiManager.get());
212  m_configurationManager->add("GUI", m_guiManager.get());
213  m_configurationManager->add("EventNavigator", m_navigatorPtr);
214  m_configurationManager->add("CommonPreferences",
215  m_contextPtr->commonPrefs()); // must be after GUIManager in alphabetical order
216 
217  m_guiManager->writeToConfigurationFile_.connect(boost::bind(&CmsShowMainBase::writeToConfigFile, this, _1));
218 
219  m_guiManager->loadFromConfigurationFile_.connect(boost::bind(&CmsShowMainBase::reloadConfiguration, this, _1));
220  m_guiManager->loadPartialFromConfigurationFile_.connect(
221  boost::bind(&CmsShowMainBase::partialLoadConfiguration, this, _1));
222 
223  m_guiManager->writePartialToConfigurationFile_.connect(
224  boost::bind(&CmsShowMainBase::partialWriteToConfigFile, this, _1));
225 
226  std::string macPath(gSystem->Getenv("CMSSW_BASE"));
227  macPath += "/src/Fireworks/Core/macros";
228  const char *base = gSystem->Getenv("CMSSW_RELEASE_BASE");
229  if (nullptr != base) {
230  macPath += ":";
231  macPath += base;
232  macPath += "/src/Fireworks/Core/macros";
233  }
234  gROOT->SetMacroPath((std::string("./:") + macPath).c_str());
235 
236  m_startupTasks->tasksCompleted_.connect(boost::bind(&FWGUIManager::clearStatus, m_guiManager.get()));
237 }

References newFWLiteAna::base, FWGUIManager::clearStatus(), fireworks::Context::commonPrefs(), context(), fireworks::Context::initEveElements(), m_changeManager, m_colorManager, m_configurationManager, m_contextPtr, m_eiManager, m_geom, m_guiManager, m_metadataManagerPtr, m_navigatorPtr, m_startupTasks, m_viewManager, HLT_2018_cff::navigator, FWModelChangeManager::newItemSlot(), partialLoadConfiguration(), partialWriteToConfigFile(), FWViewManagerManager::registerEventItem(), reloadConfiguration(), fireworks::Context::setGeom(), AlCaHLTBitMon_QueryRunRegistry::string, and writeToConfigFile().

Referenced by CmsShowMain::CmsShowMain(), FWFFLooper::FWFFLooper(), and FWFFService::FWFFService().

◆ setupActions()

void CmsShowMainBase::setupActions ( )

Definition at line 73 of file CmsShowMainBase.cc.

73  {
74  m_guiManager->writeToPresentConfigurationFile_.connect(
75  sigc::mem_fun(*this, &CmsShowMainBase::writeToCurrentConfigFile));
76 
77  // init TGSlider state before signals are connected
78  m_guiManager->setDelayBetweenEvents(m_playDelay);
79 
80  m_navigatorPtr->newEvent_.connect(boost::bind(&CmsShowMainBase::eventChangedSlot, this));
81  if (m_guiManager->getAction(cmsshow::sNextEvent) != nullptr)
82  m_guiManager->getAction(cmsshow::sNextEvent)->activated.connect(sigc::mem_fun(*this, &CmsShowMainBase::doNextEvent));
83  if (m_guiManager->getAction(cmsshow::sPreviousEvent) != nullptr)
85  ->activated.connect(sigc::mem_fun(*this, &CmsShowMainBase::doPreviousEvent));
86  if (m_guiManager->getAction(cmsshow::sGotoFirstEvent) != nullptr)
88  ->activated.connect(sigc::mem_fun(*this, &CmsShowMainBase::doFirstEvent));
89  if (m_guiManager->getAction(cmsshow::sGotoLastEvent) != nullptr)
91  ->activated.connect(sigc::mem_fun(*this, &CmsShowMainBase::doLastEvent));
92  if (m_guiManager->getAction(cmsshow::sQuit) != nullptr)
93  m_guiManager->getAction(cmsshow::sQuit)->activated.connect(sigc::mem_fun(*this, &CmsShowMainBase::quit));
94 
95  m_guiManager->changedEventId_.connect(boost::bind(&CmsShowMainBase::goToRunEvent, this, _1, _2, _3));
96  m_guiManager->playEventsAction()->started_.connect(sigc::mem_fun(*this, &CmsShowMainBase::playForward));
97  m_guiManager->playEventsBackwardsAction()->started_.connect(sigc::mem_fun(*this, &CmsShowMainBase::playBackward));
98  m_guiManager->loopAction()->started_.connect(sigc::mem_fun(*this, &CmsShowMainBase::setPlayLoopImp));
99  m_guiManager->loopAction()->stopped_.connect(sigc::mem_fun(*this, &CmsShowMainBase::unsetPlayLoopImp));
100  m_guiManager->changedDelayBetweenEvents_.connect(boost::bind(&CmsShowMainBase::setPlayDelay, this, _1));
101  m_guiManager->playEventsAction()->stopped_.connect(sigc::mem_fun(*this, &CmsShowMainBase::stopPlaying));
102  m_guiManager->playEventsBackwardsAction()->stopped_.connect(sigc::mem_fun(*this, &CmsShowMainBase::stopPlaying));
103 
104  m_autoLoadTimer->timeout_.connect(boost::bind(&CmsShowMainBase::autoLoadNewEvent, this));
105 }

References autoLoadNewEvent(), doFirstEvent(), doLastEvent(), doNextEvent(), doPreviousEvent(), eventChangedSlot(), goToRunEvent(), m_autoLoadTimer, m_guiManager, m_navigatorPtr, m_playDelay, FWNavigatorBase::newEvent_, playBackward(), playForward(), quit(), setPlayDelay(), setPlayLoopImp(), cmsshow::sGotoFirstEvent, cmsshow::sGotoLastEvent, cmsshow::sNextEvent, cmsshow::sPreviousEvent, cmsshow::sQuit, stopPlaying(), unsetPlayLoopImp(), and writeToCurrentConfigFile().

Referenced by FWFFLooper::beginRun(), FWFFService::postBeginRun(), and CmsShowMain::setupDataHandling().

◆ setupAutoLoad()

void CmsShowMainBase::setupAutoLoad ( float  x)

Definition at line 294 of file CmsShowMainBase.cc.

294  {
295  m_playDelay = x;
296  m_guiManager->setDelayBetweenEvents(m_playDelay);
297  if (!m_guiManager->playEventsAction()->isEnabled())
298  m_guiManager->playEventsAction()->enable();
299 
300  m_guiManager->playEventsAction()->switchMode();
301 }

References m_guiManager, m_playDelay, and x.

Referenced by CmsShowMain::CmsShowMain().

◆ setupConfiguration()

void CmsShowMainBase::setupConfiguration ( )

Definition at line 315 of file CmsShowMainBase.cc.

315  {
316  m_guiManager->updateStatus("Setting up configuration...");
317 
318  try {
319  gEve->DisableRedraw();
320  if (m_configFileName.empty()) {
322  } else {
323  char *whereConfig = gSystem->Which(TROOT::GetMacroPath(), m_configFileName.c_str(), kReadPermission);
324  m_configFileName = whereConfig;
325  delete[] whereConfig;
327  }
328  gEve->EnableRedraw();
329  } catch (SimpleSAXParser::ParserError &e) {
330  fwLog(fwlog::kError) << "Unable to load configuration file '" << m_configFileName << "': " << e.error()
331  << std::endl;
332  exit(1);
333  } catch (std::runtime_error &e) {
334  fwLog(fwlog::kError) << "Unable to load configuration file '" << m_configFileName
335  << "' which was specified on command line. Quitting." << std::endl;
336  exit(1);
337  }
338 }

References MillePedeFileConverter_cfg::e, beamvalidation::exit(), fwLog, fwlog::kError, m_configFileName, m_configurationManager, m_guiManager, and m_metadataManagerPtr.

Referenced by FWFFLooper::beginRun(), FWFFService::postBeginRun(), CmsShowMain::setLoadedAnyInputFileAfterStartup(), and CmsShowMain::setupDataHandling().

◆ setupDebugSupport()

void CmsShowMainBase::setupDebugSupport ( )

Definition at line 342 of file CmsShowMainBase.cc.

342  {
343  m_guiManager->updateStatus("Setting up Eve debug window...");
344  m_guiManager->openEveBrowserForDebugging();
345 }

References m_guiManager.

Referenced by CmsShowMain::CmsShowMain().

◆ setupViewManagers()

void CmsShowMainBase::setupViewManagers ( )

Definition at line 107 of file CmsShowMainBase.cc.

107  {
108  guiManager()->updateStatus("Setting up view manager...");
109 
110  std::shared_ptr<FWViewManagerBase> eveViewManager = std::make_shared<FWEveViewManager>(guiManager());
111  eveViewManager->setContext(m_contextPtr);
112  viewManager()->add(eveViewManager);
113 
114  auto tableViewManager = std::make_shared<FWTableViewManager>(guiManager());
115  configurationManager()->add(std::string("Tables"), tableViewManager.get());
116  viewManager()->add(tableViewManager);
117  eiManager()->goingToClearItems_.connect(boost::bind(&FWTableViewManager::removeAllItems, tableViewManager.get()));
118 
119  auto triggerTableViewManager = std::make_shared<FWTriggerTableViewManager>(guiManager());
120  configurationManager()->add(std::string("TriggerTables"), triggerTableViewManager.get());
121  configurationManager()->add(std::string("L1TriggerTables"),
122  triggerTableViewManager.get()); // AMT: added for backward compatibilty
123  triggerTableViewManager->setContext(m_contextPtr);
124  viewManager()->add(triggerTableViewManager);
125 
126  auto geoTableViewManager =
127  std::make_shared<FWGeometryTableViewManager>(guiManager(), m_simGeometryFilename, m_TGeoName);
128  geoTableViewManager->setContext(m_contextPtr);
129  viewManager()->add(geoTableViewManager);
130 
131  // Unfortunately, due to the plugin mechanism, we need to delay
132  // until here the creation of the FWJobMetadataManager, because
133  // otherwise the supportedTypesAndRepresentations map is empty.
134  // FIXME: should we have a signal for whenever the above mentioned map
135  // changes? Can that actually happer (maybe if we add support
136  // for loading plugins on the fly??).
137  m_metadataManagerPtr->initReps(viewManager()->supportedTypesAndRepresentations());
138 }

References FWViewManagerManager::add(), FWConfigurationManager::add(), configurationManager(), eiManager(), FWEventItemsManager::goingToClearItems_, guiManager(), FWJobMetadataManager::initReps(), m_contextPtr, m_metadataManagerPtr, m_simGeometryFilename, m_TGeoName, FWTableViewManager::removeAllItems(), AlCaHLTBitMon_QueryRunRegistry::string, FWGUIManager::updateStatus(), and viewManager().

Referenced by FWFFLooper::beginRun(), CmsShowMain::CmsShowMain(), and FWFFService::postBeginRun().

◆ startAutoLoadTimer()

void CmsShowMainBase::startAutoLoadTimer ( )

Definition at line 303 of file CmsShowMainBase.cc.

303  {
304  m_autoLoadTimer->SetTime((Long_t)(m_playDelay * 1000));
305  m_autoLoadTimer->Reset();
306  m_autoLoadTimer->TurnOn();
307  m_autoLoadTimerRunning = kTRUE;
308 }

References m_autoLoadTimer, m_autoLoadTimerRunning, and m_playDelay.

Referenced by CmsShowMain::autoLoadNewEvent(), FWFFLooper::duringLoop(), playBackward(), and playForward().

◆ startupTasks()

CmsShowTaskExecutor* CmsShowMainBase::startupTasks ( )
inline

◆ stopAutoLoadTimer()

void CmsShowMainBase::stopAutoLoadTimer ( )

◆ stopPlaying()

void CmsShowMainBase::stopPlaying ( )
virtual

◆ unsetPlayLoop()

void CmsShowMainBase::unsetPlayLoop ( )

Definition at line 354 of file CmsShowMainBase.cc.

354  {
355  if (m_loop) {
357  m_guiManager->loopAction()->stop();
358  }
359 }

References m_guiManager, m_loop, and unsetPlayLoopImp().

◆ unsetPlayLoopImp()

void CmsShowMainBase::unsetPlayLoopImp ( )
private

Definition at line 363 of file CmsShowMainBase.cc.

363 { m_loop = false; }

References m_loop.

Referenced by setupActions(), and unsetPlayLoop().

◆ viewManager()

FWViewManagerManager* CmsShowMainBase::viewManager ( )
inline

Definition at line 60 of file CmsShowMainBase.h.

60 { return m_viewManager.get(); }

References m_viewManager.

Referenced by setupViewManagers().

◆ writePartialToConfigFile()

void CmsShowMainBase::writePartialToConfigFile ( )

◆ writeToConfigFile()

void CmsShowMainBase::writeToConfigFile ( const std::string &  config)

Definition at line 239 of file CmsShowMainBase.cc.

239  {
242 }

References m_configFileName, m_configurationManager, and Skims_PA_cff::name.

Referenced by setup().

◆ writeToCurrentConfigFile()

void CmsShowMainBase::writeToCurrentConfigFile ( )

Definition at line 244 of file CmsShowMainBase.cc.

244 { m_configurationManager->writeToFile(m_configFileName); }

References m_configFileName, and m_configurationManager.

Referenced by setupActions().

Member Data Documentation

◆ m_autoLoadTimer

std::unique_ptr<SignalTimer> CmsShowMainBase::m_autoLoadTimer
private

Definition at line 157 of file CmsShowMainBase.h.

Referenced by setupActions(), startAutoLoadTimer(), and stopAutoLoadTimer().

◆ m_autoLoadTimerRunning

bool CmsShowMainBase::m_autoLoadTimerRunning
private

Definition at line 170 of file CmsShowMainBase.h.

Referenced by startAutoLoadTimer(), and stopAutoLoadTimer().

◆ m_autoSaveAllViewsFormat

std::string CmsShowMainBase::m_autoSaveAllViewsFormat
private

Definition at line 168 of file CmsShowMainBase.h.

Referenced by draw(), and setAutoSaveAllViewsFormat().

◆ m_autoSaveAllViewsHeight

int CmsShowMainBase::m_autoSaveAllViewsHeight
private

Definition at line 169 of file CmsShowMainBase.h.

Referenced by draw(), and setAutoSaveAllViewsHeight().

◆ m_changeManager

std::unique_ptr<FWModelChangeManager> CmsShowMainBase::m_changeManager
private

Definition at line 148 of file CmsShowMainBase.h.

Referenced by changeManager(), modelChangeManager(), and setup().

◆ m_colorManager

std::unique_ptr<FWColorManager> CmsShowMainBase::m_colorManager
private

Definition at line 149 of file CmsShowMainBase.h.

Referenced by colorManager(), and setup().

◆ m_configFileName

std::string CmsShowMainBase::m_configFileName
private

◆ m_configurationManager

std::unique_ptr<FWConfigurationManager> CmsShowMainBase::m_configurationManager
private

◆ m_contextPtr

fireworks::Context* CmsShowMainBase::m_contextPtr
private

Definition at line 163 of file CmsShowMainBase.h.

Referenced by context(), draw(), setup(), and setupViewManagers().

◆ m_eiManager

std::unique_ptr<FWEventItemsManager> CmsShowMainBase::m_eiManager
private

◆ m_forward

bool CmsShowMainBase::m_forward
private

Definition at line 171 of file CmsShowMainBase.h.

Referenced by forward(), playBackward(), and playForward().

◆ m_geom

FWGeometry CmsShowMainBase::m_geom
private

Definition at line 177 of file CmsShowMainBase.h.

Referenced by getGeom(), loadGeometry(), and setup().

◆ m_geometryFilename

std::string CmsShowMainBase::m_geometryFilename
private

Definition at line 176 of file CmsShowMainBase.h.

Referenced by geometryFilename(), loadGeometry(), and setGeometryFilename().

◆ m_guiManager

std::unique_ptr<FWGUIManager> CmsShowMainBase::m_guiManager
private

◆ m_isPlaying

bool CmsShowMainBase::m_isPlaying
private

Definition at line 172 of file CmsShowMainBase.h.

Referenced by isPlaying(), playBackward(), playForward(), and stopPlaying().

◆ m_loop

bool CmsShowMainBase::m_loop
private

Definition at line 173 of file CmsShowMainBase.h.

Referenced by loop(), setPlayLoop(), setPlayLoopImp(), unsetPlayLoop(), and unsetPlayLoopImp().

◆ m_metadataManagerPtr

FWJobMetadataManager* CmsShowMainBase::m_metadataManagerPtr
private

Definition at line 162 of file CmsShowMainBase.h.

Referenced by setup(), setupConfiguration(), and setupViewManagers().

◆ m_navigatorPtr

FWNavigatorBase* CmsShowMainBase::m_navigatorPtr
private

◆ m_playDelay

Float_t CmsShowMainBase::m_playDelay
private

Definition at line 174 of file CmsShowMainBase.h.

Referenced by setPlayDelay(), setupActions(), setupAutoLoad(), and startAutoLoadTimer().

◆ m_selectionManager

std::unique_ptr<FWSelectionManager> CmsShowMainBase::m_selectionManager
private

Definition at line 153 of file CmsShowMainBase.h.

Referenced by selectionManager().

◆ m_simGeometryFilename

std::string CmsShowMainBase::m_simGeometryFilename
private

Definition at line 178 of file CmsShowMainBase.h.

Referenced by setSimGeometryFilename(), and setupViewManagers().

◆ m_startupTasks

std::unique_ptr<CmsShowTaskExecutor> CmsShowMainBase::m_startupTasks
private

Definition at line 154 of file CmsShowMainBase.h.

Referenced by setup(), and startupTasks().

◆ m_TGeoName

std::string CmsShowMainBase::m_TGeoName
private

Definition at line 179 of file CmsShowMainBase.h.

Referenced by setSimGeometryFilename(), and setupViewManagers().

◆ m_viewManager

std::unique_ptr<FWViewManagerManager> CmsShowMainBase::m_viewManager
private

Definition at line 155 of file CmsShowMainBase.h.

Referenced by draw(), setup(), and viewManager().

CmsShowMainBase::m_autoLoadTimer
std::unique_ptr< SignalTimer > m_autoLoadTimer
Definition: CmsShowMainBase.h:157
CmsShowMainBase::quit
virtual void quit()=0
CmsShowMainBase::m_metadataManagerPtr
FWJobMetadataManager * m_metadataManagerPtr
Definition: CmsShowMainBase.h:162
fwLog
#define fwLog(_level_)
Definition: fwLog.h:45
CmsShowMainBase::configurationManager
FWConfigurationManager * configurationManager()
Definition: CmsShowMainBase.h:56
CmsShowMainBase::m_configFileName
std::string m_configFileName
Definition: CmsShowMainBase.h:175
CmsShowMainBase::checkPosition
virtual void checkPosition()=0
FWGUIManager
Definition: FWGUIManager.h:94
CmsShowMainBase::eventChangedImp
virtual void eventChangedImp()
Definition: CmsShowMainBase.cc:142
CmsShowMainBase::writeToConfigFile
void writeToConfigFile(const std::string &config)
Definition: CmsShowMainBase.cc:239
FWGUIManager::enableActions
void enableActions(bool enable=true)
Definition: FWGUIManager.cc:316
CmsShowMainBase::reloadConfiguration
void reloadConfiguration(const std::string &config)
Definition: CmsShowMainBase.cc:251
CmsShowMainBase::goToRunEvent
void goToRunEvent(edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t)
Definition: CmsShowMainBase.cc:167
CmsShowMainBase::guiManager
FWGUIManager * guiManager()
Definition: CmsShowMainBase.h:61
FWGeometry::loadMap
void loadMap(const char *fileName)
Definition: FWGeometry.cc:100
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
FWEventItemsManager
Definition: FWEventItemsManager.h:44
CmsShowMainBase::m_isPlaying
bool m_isPlaying
Definition: CmsShowMainBase.h:172
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition: FWJobMetadataManager.cc:25
FWNavigatorBase::lastEvent
virtual void lastEvent()=0
CmsShowMainBase::unsetPlayLoopImp
void unsetPlayLoopImp()
Definition: CmsShowMainBase.cc:363
FWViewManagerManager::add
void add(std::shared_ptr< FWViewManagerBase >)
Definition: FWViewManagerManager.cc:60
fireworks::Context::setGeom
void setGeom(FWGeometry *x)
Definition: Context.h:50
cms::cuda::assert
assert(be >=bs)
CmsShowMainBase::m_viewManager
std::unique_ptr< FWViewManagerManager > m_viewManager
Definition: CmsShowMainBase.h:155
CmsShowMainBase::doFirstEvent
void doFirstEvent()
Definition: CmsShowMainBase.cc:144
fireworks::Context::getBeamSpot
FWBeamSpot * getBeamSpot() const
Definition: Context.h:67
mps_check.msg
tuple msg
Definition: mps_check.py:285
DDAxes::x
FWModelChangeManager
Definition: FWModelChangeManager.h:33
FWEventItemsManager::goingToClearItems_
sigc::signal< void > goingToClearItems_
Definition: FWEventItemsManager.h:75
FWPartialConfigSaveGUI
Definition: FWPartialConfig.h:42
FWModelChangeManager::newItemSlot
void newItemSlot(FWEventItem *)
Definition: FWModelChangeManager.cc:155
CmsShowMainBase::doLastEvent
void doLastEvent()
Definition: CmsShowMainBase.cc:161
FWPartialConfigLoadGUI
Definition: FWPartialConfig.h:27
CmsShowMainBase::m_autoLoadTimerRunning
bool m_autoLoadTimerRunning
Definition: CmsShowMainBase.h:170
FWNavigatorBase::newEvent_
sigc::signal< void > newEvent_
Definition: FWNavigatorBase.h:56
FWMagField::checkFieldInfo
void checkFieldInfo(const edm::EventBase *)
Definition: FWMagField.cc:144
CmsShowMainBase::playBackward
void playBackward()
Definition: CmsShowMainBase.cc:380
CmsShowMainBase::partialWriteToConfigFile
void partialWriteToConfigFile(const std::string &config)
Definition: CmsShowMainBase.cc:246
config
Definition: config.py:1
FWGUIManager::updateStatus
void updateStatus(const char *status)
Definition: FWGUIManager.cc:367
FWNavigatorBase::getCurrentEvent
virtual const edm::EventBase * getCurrentEvent() const =0
CmsShowMainBase::doNextEvent
void doNextEvent()
Definition: CmsShowMainBase.cc:150
FWConfigurationManager
Definition: FWConfigurationManager.h:32
cmsshow::sNextEvent
const std::string sNextEvent
Definition: ActionsList.cc:5
HLT_2018_cff.navigator
navigator
Definition: HLT_2018_cff.py:11734
CmsShowMainBase::m_changeManager
std::unique_ptr< FWModelChangeManager > m_changeManager
Definition: CmsShowMainBase.h:148
CmsShowMainBase::doPreviousEvent
void doPreviousEvent()
Definition: CmsShowMainBase.cc:156
FWNavigatorBase::nextEvent
virtual void nextEvent()=0
CmsShowMainBase::autoLoadNewEvent
virtual void autoLoadNewEvent()=0
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
CmsShowMainBase::m_geometryFilename
std::string m_geometryFilename
Definition: CmsShowMainBase.h:176
CmsShowMainBase::m_guiManager
std::unique_ptr< FWGUIManager > m_guiManager
Definition: CmsShowMainBase.h:152
FWMagField::getSource
ESource getSource() const
Definition: FWMagField.h:31
h
CmsShowMainBase::m_forward
bool m_forward
Definition: CmsShowMainBase.h:171
looper.config
config
Definition: looper.py:291
CmsShowMainBase::m_eiManager
std::unique_ptr< FWEventItemsManager > m_eiManager
Definition: CmsShowMainBase.h:151
CmsShowMainBase::m_colorManager
std::unique_ptr< FWColorManager > m_colorManager
Definition: CmsShowMainBase.h:149
fireworks::Context::commonPrefs
CmsShowCommon * commonPrefs() const
Definition: Context.cc:160
CmsShowMainBase::draw
void draw()
Definition: CmsShowMainBase.cc:173
CmsShowTaskExecutor
Definition: CmsShowTaskExecutor.h:30
CmsShowMainBase::m_contextPtr
fireworks::Context * m_contextPtr
Definition: CmsShowMainBase.h:163
CmsShowMainBase::stopPlaying
virtual void stopPlaying()
Definition: CmsShowMainBase.cc:367
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWConfigurationManager::add
void add(const std::string &iName, FWConfigurable *)
does not take ownership
Definition: FWConfigurationManager.cc:67
FWViewManagerManager
Definition: FWViewManagerManager.h:37
CmsShowMainBase::m_configurationManager
std::unique_ptr< FWConfigurationManager > m_configurationManager
Definition: CmsShowMainBase.h:150
FWTableViewManager::removeAllItems
void removeAllItems(void)
Definition: FWTableViewManager.cc:395
CmsShowMainBase::startAutoLoadTimer
void startAutoLoadTimer()
Definition: CmsShowMainBase.cc:303
CmsShowMainBase::m_loop
bool m_loop
Definition: CmsShowMainBase.h:173
CmsShowMainBase::setPlayLoopImp
void setPlayLoopImp()
Definition: CmsShowMainBase.cc:361
FWNavigatorBase::previousEvent
virtual void previousEvent()=0
FWSelectionManager
Definition: FWSelectionManager.h:34
CmsShowMainBase::viewManager
FWViewManagerManager * viewManager()
Definition: CmsShowMainBase.h:60
FWNavigatorBase::goToRunEvent
virtual void goToRunEvent(edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t)=0
CmsShowMainBase::setPlayDelay
void setPlayDelay(Float_t val)
Definition: CmsShowMainBase.cc:340
cmsshow::sGotoFirstEvent
const std::string sGotoFirstEvent
Definition: ActionsList.cc:3
cmsshow::sGotoLastEvent
const std::string sGotoLastEvent
Definition: ActionsList.cc:4
CmsShowMainBase::m_autoSaveAllViewsFormat
std::string m_autoSaveAllViewsFormat
Definition: CmsShowMainBase.h:168
CmsShowMainBase::m_TGeoName
std::string m_TGeoName
Definition: CmsShowMainBase.h:179
CmsShowMainBase::playForward
void playForward()
Definition: CmsShowMainBase.cc:372
FWGUIManager::eventChangedCallback
void eventChangedCallback()
Definition: FWGUIManager.cc:324
FWColorManager
Definition: FWColorManager.h:45
fireworks::Context::initEveElements
void initEveElements()
Definition: Context.cc:86
CmsShowMainBase::eventChangedSlot
void eventChangedSlot()
Definition: CmsShowMainBase.cc:140
CmsShowMainBase::m_navigatorPtr
FWNavigatorBase * m_navigatorPtr
Definition: CmsShowMainBase.h:161
fireworks::Context::getField
FWMagField * getField() const
Definition: Context.h:66
CmsShowMainBase::partialLoadConfiguration
void partialLoadConfiguration(const std::string &config)
Definition: CmsShowMainBase.cc:290
heppy_batch.val
val
Definition: heppy_batch.py:351
writedatasetfile.run
run
Definition: writedatasetfile.py:27
fwlog::kDebug
Definition: fwLog.h:35
CmsShowMainBase::sendVersionInfo
void sendVersionInfo()
Definition: CmsShowMainBase.cc:400
CmsShowMainBase::m_geom
FWGeometry m_geom
Definition: CmsShowMainBase.h:177
cmsshow::sPreviousEvent
const std::string sPreviousEvent
Definition: ActionsList.cc:6
CmsShowMainBase::m_playDelay
Float_t m_playDelay
Definition: CmsShowMainBase.h:174
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
CmsShowMainBase::m_startupTasks
std::unique_ptr< CmsShowTaskExecutor > m_startupTasks
Definition: CmsShowMainBase.h:154
sd
double sd
Definition: CascadeWrapper.h:113
FWViewManagerManager::registerEventItem
void registerEventItem(const FWEventItem *iItem)
Definition: FWViewManagerManager.cc:72
fwlog::kError
Definition: fwLog.h:35
CmsShowMainBase::context
fireworks::Context * context()
Definition: CmsShowMainBase.h:143
FWMagField::kUser
Definition: FWMagField.h:18
CmsShowMainBase::m_selectionManager
std::unique_ptr< FWSelectionManager > m_selectionManager
Definition: CmsShowMainBase.h:153
beamvalidation.exit
def exit(msg="")
Definition: beamvalidation.py:53
CmsShowMainBase::eiManager
FWEventItemsManager * eiManager()
Definition: CmsShowMainBase.h:57
CmsShowMainBase::checkKeyBindingsOnPLayEventsStateChanged
virtual void checkKeyBindingsOnPLayEventsStateChanged()
Definition: CmsShowMainBase.h:120
FWBeamSpot::checkBeamSpot
void checkBeamSpot(const edm::EventBase *event)
Definition: FWBeamSpot.cc:6
event
Definition: event.py:1
newFWLiteAna.base
base
Definition: newFWLiteAna.py:92
SimpleSAXParser::ParserError
Definition: SimpleSAXParser.h:83
lumi
Definition: LumiSectionData.h:20
cmsshow::sQuit
const std::string sQuit
Definition: ActionsList.cc:27
fireworks::setPath
void setPath(TString &v)
Definition: fwPaths.cc:15
HLT_2018_cff.flags
flags
Definition: HLT_2018_cff.py:11758
CmsShowMainBase::m_autoSaveAllViewsHeight
int m_autoSaveAllViewsHeight
Definition: CmsShowMainBase.h:169
FWGUIManager::clearStatus
void clearStatus()
Definition: FWGUIManager.cc:369
CmsShowMainBase::writeToCurrentConfigFile
void writeToCurrentConfigFile()
Definition: CmsShowMainBase.cc:244
FWNavigatorBase::firstEvent
virtual void firstEvent()=0
CmsShowMainBase::m_simGeometryFilename
std::string m_simGeometryFilename
Definition: CmsShowMainBase.h:178
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37