1 #ifndef Fireworks_Core_CmsShowMainBase_h 2 #define Fireworks_Core_CmsShowMainBase_h 12 #include "sigc++/signal.h" 64 assert(m_guiManager.get() &&
"Call CmsShowMainBase::setup first!");
65 return m_guiManager.get();
75 void setupViewManagers();
82 void writeToCurrentConfigFile();
83 void writePartialToConfigFile();
84 void reloadConfiguration(
const std::string &config);
85 void partialWriteToConfigFile(
const std::string &config);
86 void partialLoadConfiguration(
const std::string &config);
87 void setupConfiguration();
100 m_TGeoName = geoname;
105 void doPreviousEvent();
109 virtual void checkPosition() = 0;
111 bool loop()
const {
return m_loop; }
112 virtual void quit() = 0;
114 void setupAutoLoad(
float x);
115 void startAutoLoadTimer();
116 void stopAutoLoadTimer();
117 void setupDebugSupport();
119 void setPlayDelay(Float_t
val);
125 virtual void stopPlaying();
126 virtual void autoLoadNewEvent() = 0;
129 void unsetPlayLoop();
144 void eventChangedSlot();
145 virtual void eventChangedImp();
146 void sendVersionInfo();
171 void setPlayLoopImp();
172 void unsetPlayLoopImp();
sigc::signal< void > timeout_
int m_autoSaveAllViewsHeight
FWSelectionManager * selectionManager()
FWModelChangeManager * modelChangeManager()
std::string m_geometryFilename
FWGUIManager * guiManager()
FWColorManager * colorManager()
std::unique_ptr< FWModelChangeManager > m_changeManager
void setAutoSaveAllViewsHeight(int x)
std::unique_ptr< FWGUIManager > m_guiManager
std::unique_ptr< FWSelectionManager > m_selectionManager
FWEventItemsManager * eiManager()
unsigned long long EventNumber_t
def setup(process, global_tag, zero_tesla=False)
std::unique_ptr< FWEventItemsManager > m_eiManager
const char * configFilename() const
std::unique_ptr< SignalTimer > m_autoLoadTimer
unsigned int LuminosityBlockNumber_t
FWModelChangeManager * changeManager()
std::unique_ptr< FWColorManager > m_colorManager
FWNavigatorBase * m_navigatorPtr
void setGeometryFilename(const std::string &filename)
bool m_autoLoadTimerRunning
def draw(name, histos, styles=_defaultStyles, legendLabels=[], kwargs)
CmsShowTaskExecutor * startupTasks()
std::unique_ptr< CmsShowTaskExecutor > m_startupTasks
virtual void checkKeyBindingsOnPLayEventsStateChanged()
FWJobMetadataManager * m_metadataManagerPtr
fireworks::Context * context()
void setSimGeometryFilename(const std::string &filename, const std::string &geoname)
FWViewManagerManager * viewManager()
std::string m_simGeometryFilename
void setAutoSaveAllViewsFormat(const std::string &fmt)
fireworks::Context * m_contextPtr
std::unique_ptr< FWConfigurationManager > m_configurationManager
std::unique_ptr< FWViewManagerManager > m_viewManager
FWConfigurationManager * configurationManager()
std::string m_autoSaveAllViewsFormat
const std::string & geometryFilename(void)
void setConfigFilename(const std::string &f)
std::string m_configFileName