CMS 3D CMS Logo

FWFFLooper.cc
Go to the documentation of this file.
1 #include <functional>
2 #include <iostream>
3 
22 
25 
40 
41 #include "TROOT.h"
42 #include "TSystem.h"
43 #include "TRint.h"
44 #include "TGLWidget.h"
45 
46 #include "TEveManager.h"
47 #include "TEveEventManager.h"
48 #include "TEveTrackPropagator.h"
49 #include "TEveBrowser.h"
50 #include "TGeoManager.h"
51 
52 namespace edm {
53  class StreamContext;
54  class ModuleCallingContext;
55 } // namespace edm
56 
57 namespace {
58  class CmsEveMagField : public TEveMagField {
59  private:
60  Float_t fField;
61  Float_t fFieldMag;
62 
63  public:
64  CmsEveMagField() : TEveMagField(), fField(-3.8), fFieldMag(3.8) {}
65  ~CmsEveMagField() override {}
66 
67  // set current
68  void SetFieldByCurrent(Float_t avg_current) {
69  fField = -3.8 * avg_current / 18160.0;
70  fFieldMag = TMath::Abs(fField);
71  }
72 
73  // get field values
74  Float_t GetMaxFieldMag() const override { return fFieldMag; }
75 
76  TEveVector GetField(Float_t x, Float_t y, Float_t z) const override {
77  static const Float_t barrelFac = 1.2 / 3.8;
78  static const Float_t endcapFac = 2.0 / 3.8;
79 
80  const Float_t R = sqrt(x * x + y * y);
81  const Float_t absZ = TMath::Abs(z);
82 
83  //barrel
84  if (absZ < 724.0f) {
85  //inside solenoid
86  if (R < 300.0f)
87  return TEveVector(0, 0, fField);
88 
89  // outside solinoid
90  if ((R > 461.0f && R < 490.5f) || (R > 534.5f && R < 597.5f) || (R > 637.0f && R < 700.0f)) {
91  return TEveVector(0, 0, -fField * barrelFac);
92  }
93  } else {
94  if ((absZ > 724.0f && absZ < 786.0f) || (absZ > 850.0f && absZ < 910.0f) || (absZ > 975.0f && absZ < 1003.0f)) {
95  const Float_t fac = (z >= 0 ? fField : -fField) * endcapFac / R;
96  return TEveVector(x * fac, y * fac, 0);
97  }
98  }
99  return TEveVector(0, 0, 0);
100  }
101  };
102 } // namespace
103 
104 //
105 // constants, enums and typedefs
106 //
107 
108 //
109 // static data member definitions
110 //
111 
112 //==============================================================================
113 // constructors and destructor
114 //==============================================================================
115 
117  : CmsShowMainBase(),
118  m_navigator(new FWFFNavigator(*this)),
119  m_metadataManager(new FWFFMetadataManager()),
120  m_context(new fireworks::Context(
121  changeManager(), selectionManager(), eiManager(), colorManager(), m_metadataManager.get())),
122  m_Rint(m_appHelper->app()),
123  m_AllowStep(true),
124  m_ShowEvent(true),
125  m_firstTime(true),
126  m_pathsGUI(nullptr),
127  m_geomWatcher(this, &FWFFLooper::remakeGeometry) {
128  setup(m_navigator.get(), m_context.get(), m_metadataManager.get());
129 
130  eiManager()->setContext(m_context.get());
131 
132  // By default, we look up geometry and configuration in the workarea, then
133  // in the release area then in the local directory. It is also possible to
134  // override those locations by using the displayConfigurationFilename and
135  // geometryFilename in the parameterset.
136  const char* releaseBase = std::getenv("CMSSW_RELEASE_BASE");
137  const char* workarea = std::getenv("CMSSW_BASE");
138  std::string displayConfigRelFilename = "/src/Fireworks/FWInterface/macros/ffw.fwc";
139  std::string geometryRelFilename = "/src/Fireworks/FWInterface/data/cmsGeom10.root";
140 
141  std::string displayConfigFilename = "ffw.fwc";
143 
144  if (releaseBase && access((releaseBase + displayConfigFilename).c_str(), R_OK) == 0)
145  displayConfigFilename = releaseBase + displayConfigRelFilename;
146  if (workarea && access((workarea + displayConfigRelFilename).c_str(), R_OK) == 0)
147  displayConfigFilename = workarea + displayConfigRelFilename;
148 
149  if (releaseBase && access((releaseBase + geometryRelFilename).c_str(), R_OK) == 0)
150  geometryFilename = releaseBase + geometryRelFilename;
151  if (workarea && access((workarea + geometryRelFilename).c_str(), R_OK) == 0)
152  geometryFilename = workarea + geometryRelFilename;
153 
154  displayConfigFilename = ps.getUntrackedParameter<std::string>("displayConfigFilename", displayConfigFilename);
156  if (!geometryFilename.empty()) {
158  }
160  setConfigFilename(displayConfigFilename);
161 
162  if (!geometryFilename.empty()) {
164  }
165 
166  m_MagField = new CmsEveMagField();
167 }
168 
171  f = std::bind(&CmsShowMainBase::loadGeometry, this);
172  startupTasks()->addTask(f);
173 }
174 
176  m_pathsGUI = new FWPathsPopup(this, guiManager());
177 
181 }
182 
184 
185 //==============================================================================
186 // Service watchers
187 //==============================================================================
188 
189 void FWFFLooper::startingNewLoop(unsigned int count) {
190  // Initialise on first loop.
191  if (count == 0) {
194 
195  // We need to enter the GUI loop in order to
196  // have all the callbacks executed. The last callback will
197  // be responsible for returning the control to CMSSW.
198  assert(m_Rint);
200  f = std::bind(&TApplication::Terminate, m_Rint, 0);
201  startupTasks()->addTask(f);
202  // FIXME: do we really need to delay tasks like this?
204  m_Rint->Run(kTRUE);
205  // Show the GUI ...
206  gSystem->ProcessEvents();
207  }
208 }
209 
211  printf("FWFFLooper::postEndJob\n");
212  TEveManager::Terminate();
213 }
214 
216  if (loop() && isPlaying())
217  return;
218 
221 
222  if (m_isFirstEvent)
224 
225  if (m_isLastEvent) {
226  guiManager()->disableNext();
227  // force enable play events action in --port mode
228  if (!guiManager()->playEventsAction()->isEnabled())
230  }
231 }
232 
239  bool reachedEnd = (forward() && m_isLastEvent) || (!forward() && m_isFirstEvent);
240 
241  if (!reachedEnd || loop()) {
242  // Will exit the loop here!
243  m_autoReload = true;
244  forward() ? m_navigator->nextEvent() : m_navigator->previousEvent();
245  } else {
246  m_autoReload = false;
250  }
251 }
252 
255  m_autoReload = false;
259  checkPosition();
260 }
261 
262 //------------------------------------------------------------------------------
263 
264 void FWFFLooper::beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup) {
265  // Check DisplayGeomRecord changes.
266  try {
267  m_geomWatcher.check(iSetup);
268  } catch (...) {
269  }
270 
271  // If the geometry was not picked up from a file, we try to get it from the
272  // EventSetup!
273  // FIXME: we need to check we execute only once because the view managers
274  // depend on geometry and they cannot be initialised more than once.
275  // This should actually be cleaned up so that the various view manager
276  // don't care about geometry.
277  // FIXME: we should actually be able to update the geometry when requested.
278  // this is not possible at the moment.
279  if (m_firstTime == true) {
280  if (m_context->getGeom() == nullptr) {
281  try {
282  guiManager()->updateStatus("Loading geometry...");
284  iSetup.get<FWRecoGeometryRecord>().get(geoh);
285  getGeom().initMap(geoh.product()->idToName);
286  m_context->setGeom(&(getGeom()));
287  } catch (const cms::Exception& exception) {
288  setGeometryFilename("cmsGeom10.root");
290  }
291  }
292 
295  setupActions();
296 
297  guiManager()->showEventFilterGUI_.connect(std::bind(&FWFFLooper::showPathsGUI, this, std::placeholders::_1));
298  guiManager()->setFilterButtonText("Show paths / CMSSW configuration editor");
300 
301  m_firstTime = false;
302  m_autoReload = false;
303  }
304 
305  float current = 18160.0f;
306  try {
308  // bool res = iRun.getByType(runCond);
309  bool res = iRun.getByLabel("conditionsInEdm", runCond);
310  if (res && runCond.isValid()) {
311  printf("Got current from conds in edm %f\n", runCond->BAvgCurrent);
312  current = runCond->BAvgCurrent;
313  } else {
314  printf("Could not extract run-conditions get-result=%d, is-valid=%d\n", res, runCond.isValid());
315 
316  auto rec = iSetup.find(edm::eventsetup::EventSetupRecordKey::makeKey<RunInfoRcd>());
317  if (rec) {
319  iSetup.get<RunInfoRcd>().get(sum);
320 
321  current = sum->m_avg_current;
322  printf("Got current from RunInfoRcd %f\n", sum->m_avg_current);
323  }
324  }
325  } catch (...) {
326  fwLog(fwlog::kInfo) << "ConditionsInRunBlock not available\n";
327  }
328  static_cast<CmsEveMagField*>(m_MagField)->SetFieldByCurrent(current);
329  context()->getField()->setFFFieldMag(m_MagField->GetMaxFieldMag());
330 }
331 
332 //------------------------------------------------------------------------------
334  const edm::EventSetup& es,
335  edm::ProcessingController& controller) {
336  // Check DisplayGeomRecord changes.
337  try {
338  m_geomWatcher.check(es);
339  } catch (...) {
340  }
341 
343 
346  // If the next event id is valid, set the transition so
347  // that we go to it go to to it.
348  if (m_nextEventId != edm::EventID()) {
351  return kContinue;
352  }
353  // We handle "last event" by going to the first event and then moving to the
354  // previous event.
355  if (m_navigator->currentTransition() == FWFFNavigator::kLastEvent) {
356  m_navigator->resetTransition();
357  controller.setTransitionToPreviousEvent();
358  return kContinue;
359  }
360 
361  m_pathsGUI->hasChanges() = false;
363  m_navigator->setCurrentEvent(&event);
364  if (m_autoReload == true)
366 
367  checkPosition();
368  draw();
369 
370  m_Rint->Run(kTRUE);
371  // If the GUI changed the PSet, save the current event to reload
372  // it on next iteration.
373  if (m_pathsGUI->hasChanges()) {
375  return kStop;
376  } else if (m_navigator->currentTransition() == FWFFNavigator::kFirstEvent) {
377  m_nextEventId = m_navigator->getFirstEventID();
378  return kStop;
379  } else if (m_navigator->currentTransition() == FWFFNavigator::kLastEvent) {
380  m_nextEventId = m_navigator->getFirstEventID();
381  return kStop;
382  } else if (m_navigator->currentTransition() == FWFFNavigator::kNextEvent)
383  controller.setTransitionToNextEvent();
384  else if (m_navigator->currentTransition() == FWFFNavigator::kPreviousEvent)
385  controller.setTransitionToPreviousEvent();
386  return kContinue;
387 }
388 
389 //------------------------------------------------------------------------------
391  // Display whatever was registered so far, wait until user presses
392  // the "Step" button.
393 
394  if (m_AllowStep) {
395  gEve->Redraw3D();
396  m_Rint->Run(kTRUE);
397  }
398 }
399 
400 //==============================================================================
401 // Getters for cleints
402 //==============================================================================
403 
404 TEveMagField* FWFFLooper::getMagField() { return m_MagField; }
405 
406 void FWFFLooper::setupFieldForPropagator(TEveTrackPropagator* prop) { prop->SetMagFieldObj(m_MagField, kFALSE); }
407 
409  gSystem->ExitLoop();
410 
411  // Throwing exception here is bad because:
412  // a) it does not work when in a "debug step";
413  // b) does not restore terminal state.
414  // So we do exit instead for now.
415  // throw cms::Exception("UserTerminationRequest");
416  gSystem->Exit(0);
417 }
418 
424  // Looks like the module changer is availble only here.
425  for (ModuleChanges::iterator i = m_scheduledChanges.begin(), e = m_scheduledChanges.end(); i != e; ++i) {
426  try {
427  moduleChanger()->changeModule(i->first, i->second);
428  } catch (cms::Exception const& e) {
429  fwLog(fwlog::kError) << "FWFFLooper::endOfLoop caught exception.\n";
430  std::cerr << e.what() << std::endl;
431  }
432  }
433  m_scheduledChanges.clear();
434  return kContinue;
435 }
436 
437 void FWFFLooper::showPathsGUI(const TGWindow*) {
438  if (!m_pathsGUI)
439  return;
440  if (m_pathsGUI->IsMapped()) {
441  guiManager()->setFilterButtonText("Show paths / CMSSW configuration editor");
442  m_pathsGUI->UnmapWindow();
443  } else {
444  guiManager()->setFilterButtonText("Hide paths / CMSSW configuration editor");
445  m_pathsGUI->MapWindow();
446  }
447 }
448 
451 }
452 
453 //______________________________________________________________________________
454 
456  fwLog(fwlog::kInfo) << "FWFFLooper set TGeo geometry from DisplayGeomRecord.\n";
457 
459  dgRec.get(geom);
460  TEveGeoManagerHolder _tgeo(const_cast<TGeoManager*>(geom.product()));
462 }
edm::ESWatcher::check
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:52
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
FWFFLooper::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Called after all event modules have processed the begin of a Run.
Definition: FWFFLooper.cc:264
FWPathsPopup::postEvent
void postEvent(edm::Event const &event)
Definition: FWPathsPopup.cc:162
edm::EDLooperBase::Status
Status
Definition: EDLooperBase.h:80
DDAxes::y
FWFFLooper::m_navigator
std::unique_ptr< FWFFNavigator > m_navigator
Definition: FWFFLooper.h:88
Handle.h
fwLog
#define fwLog(_level_)
Definition: fwLog.h:45
edm::ProcessingController::kAtLastEvent
Definition: ProcessingController.h:34
FWGUIManager::filterButtonClicked_
sigc::signal< void > filterButtonClicked_
Definition: FWGUIManager.h:203
mps_fire.i
i
Definition: mps_fire.py:428
FWFFLooper::m_Rint
TRint * m_Rint
Definition: FWFFLooper.h:93
ESTransientHandle.h
CmsShowMainBase::setupConfiguration
void setupConfiguration()
Definition: CmsShowMainBase.cc:322
RunSummaryRcd.h
FWGUIManager::enableActions
void enableActions(bool enable=true)
Definition: FWGUIManager.cc:316
CmsShowMainBase::loadGeometry
void loadGeometry()
Definition: CmsShowMainBase.cc:395
FWFFLooper::m_autoReload
bool m_autoReload
Definition: FWFFLooper.h:105
FWRecoGeometryRecord
Definition: FWRecoGeometryRecord.h:9
CmsShowMainBase::guiManager
FWGUIManager * guiManager()
Definition: CmsShowMainBase.h:61
ESHandle.h
ScheduleInfo.h
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
FWRecoGeometry::idToName
FWRecoGeom::InfoMap idToName
Definition: FWRecoGeometry.h:14
CmsShowMainFrame::enableNavigatorControls
void enableNavigatorControls()
Definition: CmsShowMainFrame.cc:567
edm::Run
Definition: Run.h:45
FWGUIManager::playEventsAction
CSGContinuousAction * playEventsAction()
Definition: FWGUIManager.cc:350
CmsShowMainBase::loop
bool loop() const
Definition: CmsShowMainBase.h:107
edm
HLT enums.
Definition: AlignableModifier.h:19
FWFFLooper::m_isFirstEvent
bool m_isFirstEvent
Definition: FWFFLooper.h:106
FWFFLooper::checkPosition
void checkPosition() override
Definition: FWFFLooper.cc:215
FWFFLooper::m_firstTime
bool m_firstTime
Definition: FWFFLooper.h:99
cms::cuda::assert
assert(be >=bs)
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
edm::ProcessingController::forwardState
ForwardState forwardState() const
Returns the present state of processing.
Definition: ProcessingController.cc:76
CmsShowMainBase::setup
void setup(FWNavigatorBase *navigator, fireworks::Context *context, FWJobMetadataManager *metadataManager)
Definition: CmsShowMainBase.cc:199
Context
FWPathsPopup.h
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
FWFFNavigator.h
DDAxes::x
FWFFLooper::stopPlaying
void stopPlaying() override
Definition: FWFFLooper.cc:253
FWPathsPopup::preModuleEvent
void preModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FWPathsPopup.cc:157
FWFFMetadataManager.h
FWGUIManager::showEventFilterGUI_
sigc::signal< void, const TGWindow * > showEventFilterGUI_
Definition: FWGUIManager.h:204
edm::Handle
Definition: AssociativeIterator.h:50
FWFFLooper::~FWFFLooper
~FWFFLooper() override
Definition: FWFFLooper.cc:183
edm::ModuleChanger::changeModule
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet)
Definition: ModuleChanger.cc:59
CmsShowMainBase::setConfigFilename
void setConfigFilename(const std::string &f)
Definition: CmsShowMainBase.h:74
FWFFLooper::m_AllowStep
bool m_AllowStep
Definition: FWFFLooper.h:97
edm::ProcessingController
Definition: ProcessingController.h:29
FWFFLooper.h
FWPathsPopup::hasChanges
bool & hasChanges()
Definition: FWPathsPopup.h:35
FWGUIManager::getMainFrame
CmsShowMainFrame * getMainFrame() const
Definition: FWGUIManager.h:197
ModuleDescription.h
ActivityRegistry.h
FWGUIManager::updateStatus
void updateStatus(const char *status)
Definition: FWGUIManager.cc:367
CmsShowMainFrame::enableComplexNavigation
void enableComplexNavigation(bool enable=true)
Definition: CmsShowMainFrame.cc:624
FWFFMetadataUpdateRequest.h
edm::ActivityRegistry::watchPostEndJob
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
Definition: ActivityRegistry.h:170
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
CmsShowMainBase::setupActions
void setupActions()
Definition: CmsShowMainBase.cc:74
FWFFLooper::m_geomWatcher
edm::ESWatcher< DisplayGeomRecord > m_geomWatcher
Definition: FWFFLooper.h:109
FWFFLooper::m_context
std::unique_ptr< fireworks::Context > m_context
Definition: FWFFLooper.h:90
Abs
T Abs(T a)
Definition: MathUtil.h:49
edm::EDLooperBase::kStop
Definition: EDLooperBase.h:80
edm::ConditionsInRunBlock::BAvgCurrent
float BAvgCurrent
Definition: ConditionsInEdm.h:27
CmsShowMainBase
Definition: CmsShowMainBase.h:49
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
FWGeometryTableViewManager.h
edm::EDLooperBase::scheduleInfo
ScheduleInfo const * scheduleInfo() const
This returns a non-zero value after the constructor has been called.
Definition: EDLooperBase.cc:194
DDAxes::z
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
FWFFLooper::m_isLastEvent
bool m_isLastEvent
Definition: FWFFLooper.h:107
Run.h
edm::ESHandle
Definition: DTSurvey.h:22
edm::ProcessingController::kAtFirstEvent
Definition: ProcessingController.h:41
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:109
CmsShowMainBase::isPlaying
bool isPlaying() const
Definition: CmsShowMainBase.h:118
CmsShowMainBase::draw
void draw()
Definition: CmsShowMainBase.cc:176
CmsShowTaskExecutor.h
CmsShowMainBase::startupTasks
CmsShowTaskExecutor * startupTasks()
Definition: CmsShowMainBase.h:66
RunInfoRcd
Definition: RunSummaryRcd.h:26
FWFFLooper::showPathsGUI
void showPathsGUI(const TGWindow *p)
Definition: FWFFLooper.cc:437
CmsShowMainBase::stopPlaying
virtual void stopPlaying()
Definition: CmsShowMainBase.cc:374
FWRecoGeom.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWPathsPopup
Definition: FWPathsPopup.h:27
edm::ProcessingController::reverseState
ReverseState reverseState() const
Definition: ProcessingController.cc:78
cppFunctionSkipper.exception
exception
Definition: cppFunctionSkipper.py:10
funct::true
true
Definition: Factorize.h:173
ProcessingController.h
LuminosityBlock.h
CmsShowMainBase::startAutoLoadTimer
void startAutoLoadTimer()
Definition: CmsShowMainBase.cc:310
FWFFNavigator::kFirstEvent
Definition: FWFFNavigator.h:13
edm::ProcessingController::setTransitionToPreviousEvent
void setTransitionToPreviousEvent()
Definition: ProcessingController.cc:64
edm::ParameterSet
Definition: ParameterSet.h:47
FWFFLooper::setupFieldForPropagator
void setupFieldForPropagator(TEveTrackPropagator *prop)
Definition: FWFFLooper.cc:406
FWFFLooper::m_nextEventId
edm::EventID m_nextEventId
Definition: FWFFLooper.h:104
FWFFLooper::getMagField
TEveMagField * getMagField()
Definition: FWFFLooper.cc:404
edm::EDLooperBase::moduleChanger
ModuleChanger * moduleChanger()
This only returns a non-zero value during the call to endOfLoop.
Definition: EDLooperBase.cc:193
CmsShowMainBase::geometryFilename
const std::string & geometryFilename(void)
Definition: CmsShowMainBase.h:91
FWGUIManager::disablePrevious
void disablePrevious()
Definition: FWGUIManager.cc:358
FWFFLooper::endOfLoop
edm::EDLooperBase::Status endOfLoop(const edm::EventSetup &, unsigned int) override
Definition: FWFFLooper.cc:423
FWFFLooper::attachTo
void attachTo(edm::ActivityRegistry &) override
Override this method if you need to monitor the state of the processing.
Definition: FWFFLooper.cc:175
FWFFLooper::m_pathsGUI
FWPathsPopup * m_pathsGUI
Definition: FWFFLooper.h:100
edm::ProcessingController::setTransitionToNextEvent
void setTransitionToNextEvent()
Definition: ProcessingController.cc:62
CmsShowMainBase::setupViewManagers
void setupViewManagers()
Definition: CmsShowMainBase.cc:110
FWFFMetadataUpdateRequest
Definition: FWFFMetadataUpdateRequest.h:7
FWGUIManager::disableNext
void disableNext()
Definition: FWGUIManager.cc:360
CmsShowMainBase::setGeometryFilename
void setGeometryFilename(const std::string &filename)
Definition: CmsShowMainBase.h:90
CmsShowMainBase::stopAutoLoadTimer
void stopAutoLoadTimer()
Definition: CmsShowMainBase.cc:317
FWFFNavigator::kPreviousEvent
Definition: FWFFNavigator.h:13
FWGUIManager::setFilterButtonText
void setFilterButtonText(const char *txt)
Definition: FWGUIManager.cc:1269
CSGContinuousAction.h
edm::EventSetup
Definition: EventSetup.h:58
CmsShowMainBase::forward
bool forward() const
Definition: CmsShowMainBase.h:106
FWGeometry::initMap
void initMap(const FWRecoGeom::InfoMap &map)
Definition: FWGeometry.cc:203
edm::EDLooperBase::kContinue
Definition: EDLooperBase.h:80
fwLog.h
edm::ScheduleInfo
Definition: ScheduleInfo.h:32
edm::EventSetup::find
std::optional< eventsetup::EventSetupRecordGeneric > find(const eventsetup::EventSetupRecordKey &iKey) const
Definition: EventSetup.h:176
get
#define get
res
Definition: Electron.h:6
FWFFNavigator
Definition: FWFFNavigator.h:11
CmsShowTaskExecutor::startDoingTasks
void startDoingTasks() override
Definition: CmsShowTaskExecutor.cc:55
FWMagField.h
fireworks::Context::getField
FWMagField * getField() const
Definition: Context.h:66
FWFFLooper::m_scheduledChanges
ModuleChanges m_scheduledChanges
Definition: FWFFLooper.h:103
fwlog::kInfo
Definition: fwLog.h:35
FWFFLooper::remakeGeometry
void remakeGeometry(const DisplayGeomRecord &dgRec)
Definition: FWFFLooper.cc:455
FWFFLooper::autoLoadNewEvent
void autoLoadNewEvent() override
Definition: FWFFLooper.cc:237
RunInfo.h
FWRecoGeometryRecord.h
FWFFLooper::duringLoop
edm::EDLooperBase::Status duringLoop(const edm::Event &, const edm::EventSetup &, edm::ProcessingController &) override
Definition: FWFFLooper.cc:333
FWPathsPopup::setup
void setup(const edm::ScheduleInfo *info)
Definition: FWPathsPopup.cc:145
FWGUIManager::showEventFilterGUI
void showEventFilterGUI()
Definition: FWGUIManager.cc:1265
edm::ActivityRegistry::watchPostModuleEvent
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:783
ConditionsInEdm.h
FWEventItemsManager::setContext
void setContext(fireworks::Context *)
Definition: FWEventItemsManager.cc:294
FWFFLooper::startingNewLoop
void startingNewLoop(unsigned int) override
Definition: FWFFLooper.cc:189
ESWatcher.h
CmsShowTaskExecutor::TaskFunctor
std::function< void()> TaskFunctor
Definition: CmsShowTaskExecutor.h:35
FWFFLooper::postEndJob
void postEndJob()
Definition: FWFFLooper.cc:210
FWGeometryTableViewManager::setGeoManagerRuntime
static void setGeoManagerRuntime(TGeoManager *)
Definition: FWGeometryTableViewManager.cc:86
FWFFNavigator::kNextEvent
Definition: FWFFNavigator.h:13
CmsShowTaskExecutor::addTask
void addTask(const TaskFunctor &iTask)
Definition: CmsShowTaskExecutor.cc:53
FWFFMetadataManager
Definition: FWFFMetadataManager.h:11
FWFFLooper::display
void display(const std::string &info="")
Definition: FWFFLooper.cc:390
FWFFLooper
Definition: FWFFLooper.h:42
EventSetup.h
FWFFNavigator::kLastEvent
Definition: FWFFNavigator.h:13
FWMagField::setFFFieldMag
void setFFFieldMag(float)
Definition: FWMagField.cc:190
CmsShowMainFrame.h
FWFFLooper::FWFFLooper
FWFFLooper(const edm::ParameterSet &)
Definition: FWFFLooper.cc:116
FWEventItemsManager.h
fwlog::kError
Definition: fwLog.h:35
CmsShowMainBase::context
fireworks::Context * context()
Definition: CmsShowMainBase.h:143
cms::Exception
Definition: Exception.h:70
edm::Run::getByLabel
bool getByLabel(std::string const &label, Handle< PROD > &result) const
Definition: Run.h:283
fireworks
Definition: FWTauProxyBuilderBase.h:35
FWFFLooper::m_MagField
TEveMagField * m_MagField
Definition: FWFFLooper.h:95
ParameterSet.h
FWRecoGeometry.h
CmsShowMainBase::eiManager
FWEventItemsManager * eiManager()
Definition: CmsShowMainBase.h:57
FWConfigurationManager.h
HerwigMaxPtPartonFilter_cfi.moduleLabel
moduleLabel
Definition: HerwigMaxPtPartonFilter_cfi.py:4
FWPathsPopup::postModuleEvent
void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FWPathsPopup.cc:151
FWFFLooper::requestChanges
void requestChanges(const std::string &, const edm::ParameterSet &)
Definition: FWFFLooper.cc:449
FWFFLooper::quit
void quit() override
Definition: FWFFLooper.cc:408
CSGAction::enable
void enable()
Definition: CSGAction.cc:269
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
event
Definition: event.py:1
edm::EventID
Definition: EventID.h:31
RunInfo::m_avg_current
float m_avg_current
Definition: RunInfo.h:28
ModuleChanger.h
edm::Event
Definition: Event.h:73
edm::ProcessingController::setTransitionToEvent
void setTransitionToEvent(edm::EventID const &iID)
Definition: ProcessingController.cc:66
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
FWFFLooper::loadDefaultGeometryFile
void loadDefaultGeometryFile(void)
Definition: FWFFLooper.cc:169
FWFFLooper::m_metadataManager
std::unique_ptr< FWFFMetadataManager > m_metadataManager
Definition: FWFFLooper.h:89
dttmaxenums::R
Definition: DTTMax.h:29
CmsShowMainBase::getGeom
FWGeometry & getGeom()
Definition: CmsShowMainBase.h:92
edm::ActivityRegistry::watchPreModuleEvent
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
Definition: ActivityRegistry.h:777
FWGUIManager.h
Context.h
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
DisplayGeomRecord
Definition: DisplayGeomRecord.h:24