#include <FWFFService.h>
Definition at line 31 of file FWFFService.h.
◆ FWFFService() [1/2]
Definition at line 100 of file FWFFService.cc.
111 printf(
"FWFFService::FWFFService CTOR\n");
121 const char* releaseBase = std::getenv(
"CMSSW_RELEASE_BASE");
122 const char* workarea = std::getenv(
"CMSSW_BASE");
123 std::string displayConfigRelFilename =
"/src/Fireworks/FWInterface/macros/ffw.fwc";
124 std::string geometryRelFilename =
"/src/Fireworks/FWInterface/data/cmsGeom10.root";
129 if (releaseBase && access((releaseBase + displayConfigFilename).c_str(), R_OK) == 0)
130 displayConfigFilename = releaseBase + displayConfigRelFilename;
131 if (workarea && access((workarea + displayConfigRelFilename).c_str(), R_OK) == 0)
132 displayConfigFilename = workarea + displayConfigRelFilename;
134 if (releaseBase && access((releaseBase + geometryRelFilename).c_str(), R_OK) == 0)
136 if (workarea && access((workarea + geometryRelFilename).c_str(), R_OK) == 0)
References CmsShowTaskExecutor::addTask(), CmsShowMainBase::eiManager(), f, CmsShowMainBase::geometryFilename(), edm::ParameterSet::getUntrackedParameter(), CmsShowMainBase::loadGeometry(), m_context, m_MagField, m_metadataManager, m_navigator, postBeginJob(), postBeginRun(), postEndJob(), postProcessEvent(), CmsShowMainBase::setConfigFilename(), FWEventItemsManager::setContext(), CmsShowMainBase::setGeometryFilename(), CmsShowMainBase::setup(), CmsShowMainBase::startupTasks(), AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostBeginRun(), edm::ActivityRegistry::watchPostEndJob(), and edm::ActivityRegistry::watchPostProcessEvent().
◆ ~FWFFService()
FWFFService::~FWFFService |
( |
| ) |
|
|
override |
◆ FWFFService() [2/2]
◆ autoLoadNewEvent()
void FWFFService::autoLoadNewEvent |
( |
| ) |
|
|
inlineoverridevirtual |
◆ checkPosition()
void FWFFService::checkPosition |
( |
| ) |
|
|
overridevirtual |
◆ display()
void FWFFService::display |
( |
const std::string & |
info = "" | ) |
|
◆ getMagField()
TEveMagField * FWFFService::getMagField |
( |
| ) |
|
◆ operator=()
◆ postBeginJob()
void FWFFService::postBeginJob |
( |
| ) |
|
◆ postBeginRun()
Definition at line 214 of file FWFFService.cc.
238 float current = 18160.0f;
244 printf(
"Got current from conds in edm %f\n", runCond->
BAvgCurrent);
247 printf(
"Could not extract run-conditions get-result=%d, is-valid=%d\n",
res, runCond.
isValid());
252 current = sum->m_avg_current;
253 printf(
"Got current from RunInfoRcd %f\n", sum->m_avg_current);
256 static_cast<CmsEveMagField*>(
m_MagField)->SetFieldByCurrent(current);
References edm::ConditionsInRunBlock::BAvgCurrent, edm::EventSetup::get(), get, edm::Run::getByLabel(), CmsShowMainBase::getGeom(), CmsShowMainBase::guiManager(), FWRecoGeometry::idToName, FWGeometry::initMap(), edm::HandleBase::isValid(), m_context, m_firstTime, m_MagField, edm::ESTransientHandle< T >::product(), CmsShowMainBase::setupActions(), CmsShowMainBase::setupConfiguration(), CmsShowMainBase::setupViewManagers(), and FWGUIManager::updateStatus().
Referenced by FWFFService().
◆ postEndJob()
void FWFFService::postEndJob |
( |
| ) |
|
◆ postProcessEvent()
◆ quit()
void FWFFService::quit |
( |
| ) |
|
|
overridevirtual |
◆ setupFieldForPropagator()
void FWFFService::setupFieldForPropagator |
( |
TEveTrackPropagator * |
prop | ) |
|
◆ stopPlaying()
void FWFFService::stopPlaying |
( |
| ) |
|
|
inlineoverridevirtual |
◆ m_AllowStep
bool FWFFService::m_AllowStep |
|
private |
◆ m_appHelper
◆ m_context
◆ m_EveManager
TEveManager* FWFFService::m_EveManager |
|
private |
◆ m_firstTime
bool FWFFService::m_firstTime |
|
private |
◆ m_MagField
TEveMagField* FWFFService::m_MagField |
|
private |
◆ m_metadataManager
◆ m_navigator
◆ m_Rint
TRint* FWFFService::m_Rint |
|
private |
◆ m_ShowEvent
bool FWFFService::m_ShowEvent |
|
private |
FWModelChangeManager * changeManager()
void setupConfiguration()
FWGUIManager * guiManager()
void enableNavigatorControls()
void setup(FWNavigatorBase *navigator, fireworks::Context *context, FWJobMetadataManager *metadataManager)
void setConfigFilename(const std::string &f)
FWColorManager * colorManager()
CmsShowTaskExecutor * startupTasks()
const std::string & geometryFilename(void)
void setGeometryFilename(const std::string &filename)
FWSelectionManager * selectionManager()
FWEventItemsManager * eiManager()