#include <FUEventProcessor.h>
Public Member Functions | |
void | actionPerformed (xdata::Event &e) |
bool | configuring (toolbox::task::WorkLoop *wl) |
void | css (xgi::Input *in, xgi::Output *out) throw (xgi::exception::Exception) |
void | defaultWebPage (xgi::Input *in, xgi::Output *out) throw (xgi::exception::Exception) |
bool | enabling (toolbox::task::WorkLoop *wl) |
xoap::MessageReference | fsmCallback (xoap::MessageReference msg) throw (xoap::exception::Exception) |
FUEventProcessor (xdaq::ApplicationStub *s) | |
void | getSlavePids (xgi::Input *in, xgi::Output *out) |
bool | halting (toolbox::task::WorkLoop *wl) |
void | handleSignalSlave (int sig, siginfo_t *info, void *c) |
void | microState (xgi::Input *in, xgi::Output *out) |
void | moduleWeb (xgi::Input *in, xgi::Output *out) |
void | pathNames (xgi::Input *, xgi::Output *) throw (xgi::exception::Exception) |
void | procStat (xgi::Input *in, xgi::Output *out) |
void | scalersWeb (xgi::Input *, xgi::Output *) throw (xgi::exception::Exception) |
void | sendMessageOverMonitorQueue (MsgBuf &) |
void | serviceWeb (xgi::Input *in, xgi::Output *out) |
void | spotlightWebPage (xgi::Input *, xgi::Output *) throw (xgi::exception::Exception) |
bool | stopping (toolbox::task::WorkLoop *wl) |
void | subWeb (xgi::Input *in, xgi::Output *out) |
void | updater (xgi::Input *in, xgi::Output *out) |
XDAQ_INSTANTIATOR () | |
virtual | ~FUEventProcessor () |
Static Public Member Functions | |
static void | forkProcessFromEDM_helper (void *addr) |
Private Member Functions | |
void | attachDqmToShm () throw (evf::Exception) |
void | detachDqmFromShm () throw (evf::Exception) |
bool | doEndRunInEDM () |
bool | enableClassic () |
bool | enableCommon () |
bool | enableForkInEDM () |
bool | enableMPEPSlave () |
void | forkProcessesFromEDM () |
void | localLog (std::string) |
std::string | logsAsString () |
void | makeStaticInfo () |
bool | receiving (toolbox::task::WorkLoop *wl) |
bool | receivingAndMonitor (toolbox::task::WorkLoop *wl) |
bool | restartForkInEDM (unsigned int slotId) |
bool | scalers (toolbox::task::WorkLoop *wl) |
void | setAttachDqmToShm () throw (evf::Exception) |
bool | sigmon (toolbox::task::WorkLoop *wl) |
void | startReceivingLoop () |
void | startReceivingMonitorLoop () |
void | startScalersWorkLoop () throw (evf::Exception) |
void | startSignalMonitorWorkLoop () throw (evf::Exception) |
void | startSummarizeWorkLoop () throw (evf::Exception) |
void | startSupervisorLoop () |
bool | stopClassic () |
void | stopSlavesAndAcknowledge () |
bool | summarize (toolbox::task::WorkLoop *wl) |
bool | supervisor (toolbox::task::WorkLoop *wl) |
Static Private Attributes | |
static const unsigned int | logRingSize_ = 50 |
Definition at line 64 of file FUEventProcessor.h.
FUEventProcessor::FUEventProcessor | ( | xdaq::ApplicationStub * | s | ) |
Definition at line 87 of file FUEventProcessor.cc.
References anonymousPipe_, applicationInfoSpace_, autoRestartSlaves_, evf::SquidNet::check(), class_, configString_, gather_cfg::cout, crashesToDump_, css(), datasetCounting_, defaultWebPage(), epInitialized_, evtProcessor_, evf::StateMachine::findRcmsStateListener(), forkInEDM_, forkInfoObj_, forkObjLock_, evf::StateMachine::foundRcmsStateListener(), fsm_, evf::FUInstancePtr_, edm::PresenceFactory::get(), getSlavePids(), hasModuleWebRegistry_, hasPrescaleService_, hasServiceWebRegistry_, hasShMem_, iDieStatisticsGathering_, iDieUrl_, evf::StateMachine::initialize(), instance_, isRunNumberSetter_, edm::PresenceFactory::makePresence(), makeStaticInfo(), messageServicePresence_, microState(), moduleWeb(), monitorInfoSpace_, monitorLegendaInfoSpace_, names_, nbSubProcesses_, nbSubProcessesReporting_, NULL, outPut_, pathNames(), pickup_lock_, pipe::pipe(), procStat(), evf::FWEPWrapper::publishConfigAndMonitorItems(), evf::StateMachine::rcmsStateListener(), rlimit_coresize_default_, runNumber_, scalersInfoSpace_, scalersLegendaInfoSpace_, scalersWeb(), serviceWeb(), evf::FWEPWrapper::setAppCtxt(), evf::FWEPWrapper::setAppDesc(), ML::MLlog4cplus::setAppl(), evf::FWEPWrapper::setApplicationInfoSpace(), evf::FWEPWrapper::setMonitorInfoSpace(), evf::FWEPWrapper::setRcms(), evf::FWEPWrapper::setScalersInfoSpace(), sigmon_sem_, slaveRestartDelaySecs_, sourceId_, spMStates_, spmStates_, spotlightWebPage(), squidnet_, squidPresent_, start_lock_, startSupervisorLoop(), evf::StateMachine::stateName(), stop_lock_, subWeb(), superSleepSec_, updater(), url_, and vulture_.
|
virtual |
void FUEventProcessor::actionPerformed | ( | xdata::Event & | e | ) |
Definition at line 810 of file FUEventProcessor.cc.
References alignCSCRings::e, edm::EventProcessor::enableEndPaths(), epInitialized_, evtProcessor_, fsm_, outprev_, outPut_, and evf::StateMachine::stateName().
|
private |
Definition at line 1064 of file FUEventProcessor.cc.
References alignCSCRings::e, evtProcessor_, edm::EventProcessor::getToken(), edm::Service< T >::isAvailable(), cmsPerfStripChart::operate(), summarizeEdmComparisonLogfiles::success, and cms::Exception::what().
Referenced by enableCommon(), and forkProcessesFromEDM().
bool FUEventProcessor::configuring | ( | toolbox::task::WorkLoop * | wl | ) |
Definition at line 380 of file FUEventProcessor.cc.
References edm::EventProcessor::beginJob(), configString_, evf::FWEPWrapper::configuration(), configuration_, cpustat_, datasetCounting_, alignCSCRings::e, epInitialized_, evtProcessor_, cppFunctionSkipper::exception, edm::hlt::Exception, cms::Exception::explainSelf(), evf::StateMachine::fireEvent(), evf::StateMachine::fireFailed(), fsm_, evf::ShmOutputModuleRegistry::getDatasetCSV(), evf::FWEPWrapper::getmicromap(), evf::FWEPWrapper::getModuleWebRegistry(), evf::FWEPWrapper::getNumberOfMicrostates(), evf::FWEPWrapper::getShmOutputModuleRegistry(), hasModuleWebRegistry_, hasPrescaleService_, hasServiceWebRegistry_, i, iDieStatisticsGathering_, iDieUrl_, evf::FWEPWrapper::init(), instance_, localLog(), evf::Vulture::makeProcess(), mwrRef_, nbSubProcesses_, ratestat_, reasonForFailedState_, scalersLegendaInfoSpace_, evf::RateStat::sendAuxLegenda(), evf::RateStat::sendLegenda(), evf::CPUStat::sendLegenda(), evf::FWEPWrapper::setupFastTimerService(), edm::event_processor::sInit, sorRef_, spMStates_, spmStates_, evf::FWEPWrapper::startMonitoringWorkLoop(), vp_, and vulture_.
|
inline |
Definition at line 107 of file FUEventProcessor.h.
References evf::Css::css(), and css_.
Referenced by FUEventProcessor().
void FUEventProcessor::defaultWebPage | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) | |||
throw | ( | xgi::exception::Exception | |
) |
Definition at line 921 of file FUEventProcessor.cc.
References nbSubProcesses_, and dbtoconf::out.
Referenced by FUEventProcessor(), and receivingAndMonitor().
|
private |
Definition at line 1082 of file FUEventProcessor.cc.
References alignCSCRings::e, evtProcessor_, edm::EventProcessor::getToken(), edm::Service< T >::isAvailable(), cmsPerfStripChart::operate(), summarizeEdmComparisonLogfiles::success, and cms::Exception::what().
Referenced by stopClassic().
|
private |
Definition at line 670 of file FUEventProcessor.cc.
References evf::moduleweb::ForkInfoObj::control_sem_, prof2calltree::count, edm_init_done_, evtProcessor_, evf::StateMachine::fireFailed(), forkInfoObj_, fsm_, edm::EventProcessor::getState(), evf::moduleweb::ForkInfoObj::lock(), log_, evf::moduleweb::ForkInfoObj::receivedStop_, edm::event_processor::sJobReady, stor::utils::sleep(), edm::event_processor::sRunning, edm::event_processor::sStopping, edm::EventProcessor::stateName(), evf::moduleweb::ForkInfoObj::stopCondition, and evf::moduleweb::ForkInfoObj::unlock().
Referenced by halting(), and stopping().
|
private |
Definition at line 2319 of file FUEventProcessor.cc.
References enableCommon(), evtProcessor_, edm::EventProcessor::getState(), localLog(), stor::utils::sleep(), and edm::event_processor::sRunning.
Referenced by enabling().
|
private |
Definition at line 1954 of file FUEventProcessor.cc.
References attachDqmToShm(), edm::EventProcessor::clearCounters(), gather_cfg::cout, edm::EventProcessor::declareRunNumber(), alignCSCRings::e, evtProcessor_, cppFunctionSkipper::exception, edm::hlt::Exception, cms::Exception::explainSelf(), evf::StateMachine::fireEvent(), evf::StateMachine::fireFailed(), fsm_, hasShMem_, isRunNumberSetter_, localLog(), reasonForFailedState_, edm::EventProcessor::runAsync(), runNumber_, edm::EventProcessor::setRunNumber(), stor::utils::sleep(), and edm::EventProcessor::statusAsync().
Referenced by enableClassic(), and enableMPEPSlave().
|
private |
Definition at line 2236 of file FUEventProcessor.cc.
References edm::EventProcessor::clearCounters(), edm::EventProcessor::declareRunNumber(), alignCSCRings::e, evtProcessor_, cppFunctionSkipper::exception, cms::Exception::explainSelf(), evf::StateMachine::fireFailed(), evf::moduleweb::ForkInfoObj::forkHandler, forkInfoObj_, forkObjLock_, evf::moduleweb::ForkInfoObj::forkParams, forkProcessFromEDM_helper(), fsm_, evf::moduleweb::ForkInfoObj::fuAddr, evf::moduleweb::ForkParams::isMaster, isRunNumberSetter_, log_, evf::moduleweb::ForkInfoObj::mst_lock_, mwrRef_, evf::ModuleWebRegistry::publishForkInfo(), reasonForFailedState_, evf::FWEPWrapper::resetWaiting(), evf::moduleweb::ForkParams::restart, edm::EventProcessor::runAsync(), runNumber_, edm::EventProcessor::setRunNumber(), evf::moduleweb::ForkParams::slotId, edm::EventProcessor::statusAsync(), and evf::moduleweb::ForkInfoObj::stopCondition.
Referenced by enabling().
|
private |
Definition at line 2332 of file FUEventProcessor.cc.
References alignCSCRings::e, enableCommon(), evtProcessor_, edm::hlt::Exception, evf::StateMachine::fireFailed(), fsm_, edm::PresenceFactory::get(), evf::FWEPWrapper::isWaitingForLs(), localLog(), edm::PresenceFactory::makePresence(), reasonForFailedState_, evf::FWEPWrapper::resetWaiting(), ML::MLlog4cplus::setAppl(), stor::utils::sleep(), startReceivingLoop(), startReceivingMonitorLoop(), and startScalersWorkLoop().
Referenced by enabling(), and supervisor().
bool FUEventProcessor::enabling | ( | toolbox::task::WorkLoop * | wl | ) |
Definition at line 493 of file FUEventProcessor.cc.
References toolbox::mem::_s_mutex_ptr_, allProcStats_, edm::EventProcessor::beginJob(), configString_, evf::FWEPWrapper::configuration(), configuration_, cpustat_, crashesThisRun_, datasetCounting_, evf::StateMachine::disableRcmsStateNotification(), alignCSCRings::e, edm_init_done_, enableClassic(), enableForkInEDM(), enableMPEPSlave(), epInitialized_, evtProcessor_, edm::hlt::Exception, evf::StateMachine::fireEvent(), evf::StateMachine::fireFailed(), evf::FWEPWrapper::forceInitEventProcessorMaybe(), forkInEDM_, fsm_, evf::ShmOutputModuleRegistry::getDatasetCSV(), evf::FWEPWrapper::getmicromap(), evf::FWEPWrapper::getModuleWebRegistry(), evf::FWEPWrapper::getNumberOfMicrostates(), evf::FWEPWrapper::getShmOutputModuleRegistry(), evf::ShmOutputModuleRegistry::getShmOutputModules(), edm::EventProcessor::getState(), hasModuleWebRegistry_, hasPrescaleService_, hasServiceWebRegistry_, i, iDieStatisticsGathering_, iDieUrl_, idleProcStats_, evf::FWEPWrapper::init(), instance_, localLog(), mwrRef_, myProcess_, nbSubProcesses_, nbTotalDQM_, pickup_lock_, ratestat_, reasonForFailedState_, evf::FWEPWrapper::resetLumiSectionReferenceIndex(), rlimit_coresize_changed_, rlimit_coresize_default_, runNumber_, scalersLegendaInfoSpace_, scalersUpdates_, evf::RateStat::sendAuxLegenda(), evf::RateStat::sendLegenda(), evf::CPUStat::sendLegenda(), edm::event_processor::sError, evf::FWEPWrapper::setupFastTimerService(), sigmon_sem_, edm::event_processor::sInvalid, stor::utils::sleep(), sorRef_, edm::event_processor::sRunning, evf::Vulture::start(), start_lock_, startSignalMonitorWorkLoop(), startSummarizeWorkLoop(), edm::EventProcessor::stateName(), stop_lock_, subs_, vp_, and vulture_.
Referenced by sigmon().
|
private |
Definition at line 2018 of file FUEventProcessor.cc.
References toolbox::mem::_s_mutex_ptr_, evf::FWEPWrapper::adjustLsIndexForRestart(), applicationInfoSpace_, attachDqmToShm(), gather_cfg::cout, evf::StateMachine::disableRcmsStateNotification(), alignCSCRings::e, edm_init_done_, evf::evfep_alarmhandler(), evf::evfep_sighandler(), evtProcessor_, cppFunctionSkipper::exception, evf::StateMachine::fireEvent(), evf::StateMachine::fireFailed(), forkInfoObj_, evf::moduleweb::ForkInfoObj::forkParams, fsm_, edm::PresenceFactory::get(), evf::ShmOutputModuleRegistry::getShmOutputModules(), hasShMem_, i, evf::moduleweb::ForkParams::isMaster, evf::FWEPWrapper::isWaitingForLs(), localLog(), edm::PresenceFactory::makePresence(), messageServicePresence_, myProcess_, nbSubProcesses_, reasonForFailedState_, evf::FWEPWrapper::resetPackedTriggerReport(), evf::moduleweb::ForkParams::restart, restart_in_progress_, hitfit::return, scalersUpdates_, ML::MLlog4cplus::setAppl(), evf::moduleweb::ForkParams::slotId, sorRef_, errorMatrix2Lands_multiChannel::start, startReceivingLoop(), startReceivingMonitorLoop(), startScalersWorkLoop(), evf::StateMachine::stateName(), stop_lock_, subs_, wlReceiving_, and wlReceivingMonitor_.
|
static |
Definition at line 2014 of file FUEventProcessor.cc.
Referenced by enableForkInEDM().
xoap::MessageReference FUEventProcessor::fsmCallback | ( | xoap::MessageReference | msg | ) | |
throw | ( | xoap::exception::Exception | |||
) |
Definition at line 802 of file FUEventProcessor.cc.
References evf::StateMachine::commandCallback(), fsm_, and lumiQueryAPI::msg.
void FUEventProcessor::getSlavePids | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) |
bool FUEventProcessor::halting | ( | toolbox::task::WorkLoop * | wl | ) |
Definition at line 765 of file FUEventProcessor.cc.
References doEndRunInEDM(), alignCSCRings::e, evtProcessor_, evf::StateMachine::fireEvent(), evf::StateMachine::fireFailed(), forkInEDM_, forkInfoObj_, fsm_, localLog(), nbSubProcesses_, reasonForFailedState_, rlimit_coresize_default_, sigmon_sem_, evf::FWEPWrapper::stopAndHalt(), and stopSlavesAndAcknowledge().
void FUEventProcessor::handleSignalSlave | ( | int | sig, |
siginfo_t * | info, | ||
void * | c | ||
) |
Definition at line 2709 of file FUEventProcessor.cc.
References gather_cfg::cout, rlimit_coresize_changed_, sigmon_sem_, stor::utils::sleep(), and stacktrace().
Referenced by evf::evfep_sighandler().
|
private |
Definition at line 1116 of file FUEventProcessor.cc.
References logRing_, logRingIndex_, logRingSize_, logWrap_, m, and cond::timestamp.
Referenced by configuring(), enableClassic(), enableCommon(), enableMPEPSlave(), enabling(), forkProcessesFromEDM(), halting(), stopClassic(), stopSlavesAndAcknowledge(), and supervisor().
|
private |
Definition at line 1099 of file FUEventProcessor.cc.
References i, logRing_, logRingIndex_, and logWrap_.
|
private |
Definition at line 2674 of file FUEventProcessor.cc.
References applicationInfoSpace_, evf::utils::cDiv(), alignCSCRings::e, edm::hlt::Exception, edm::getReleaseVersion(), hasModuleWebRegistry_, hasServiceWebRegistry_, hasShMem_, evf::utils::mDiv(), outPut_, and updaterStatic_.
Referenced by FUEventProcessor().
void FUEventProcessor::microState | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) |
Definition at line 2480 of file FUEventProcessor.cc.
References autoRestartSlaves_, gather_cfg::cout, alignCSCRings::e, evtProcessor_, cppFunctionSkipper::exception, fsm_, evf::FWEPWrapper::getScalersUpdates(), i, evf::FWEPWrapper::microState(), evf::FWEPWrapper::moduleNameFromIndex(), myProcess_, nbdead_, nblive_, nbSubProcesses_, nbTotalDQM_, pickup_lock_, start_lock_, evf::StateMachine::stateName(), evf::FWEPWrapper::stateNameFromIndex(), subs_, and cms::Exception::what().
Referenced by FUEventProcessor().
|
inline |
Definition at line 114 of file FUEventProcessor.h.
References evtProcessor_, and evf::FWEPWrapper::moduleWeb().
Referenced by FUEventProcessor(), and receivingAndMonitor().
void FUEventProcessor::pathNames | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) | |||
throw | ( | xgi::exception::Exception | |
) |
Definition at line 1035 of file FUEventProcessor.cc.
References evtProcessor_, dbtoconf::out, and scalersLegendaInfoSpace_.
Referenced by FUEventProcessor().
void FUEventProcessor::procStat | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) |
Definition at line 2664 of file FUEventProcessor.cc.
References evf::utils::procStat().
Referenced by FUEventProcessor(), and receivingAndMonitor().
|
private |
Definition at line 1188 of file FUEventProcessor.cc.
References alignCSCRings::e, evf::StateMachine::fireEvent(), fsm_, messageServicePresence_, lumiQueryAPI::msg, MSQM_MESSAGE_TYPE_FSTOP, MSQM_MESSAGE_TYPE_RLI, MSQM_MESSAGE_TYPE_RLR, MSQM_MESSAGE_TYPE_STOP, MSQS_MESSAGE_TYPE_STOP, myProcess_, evf::SubProcess::postSlave(), evf::SubProcess::rcvSlave(), rlimit_coresize_changed_, rlimit_coresize_default_, stop_lock_, and stopClassic().
Referenced by startReceivingLoop().
|
private |
Definition at line 1740 of file FUEventProcessor.cc.
References anonymousPipe_, applicationInfoSpace_, harvestRelVal::args, prof2calltree::count, gather_cfg::cout, cycle, data, defaultWebPage(), evf::prg::dqm, alignCSCRings::e, evf::prg::eols, evf::FWEPWrapper::epMAltState_, evf::FWEPWrapper::epmAltState_, evtProcessor_, edm::hlt::Exception, exitOnError_, spr::find(), first, fsm_, evf::internal::MyCgi::getEnvironment(), recoMuon::in, Input, evf::FWEPWrapper::lastLumiUsingEol_, evf::prg::ls, evf::FWEPWrapper::lsid_, MAX_PIPE_BUFFER_SIZE, PFRecoTauDiscriminationAgainstElectronMVA2_cfi::method, evf::FWEPWrapper::microState(), moduleWeb(), evf::FWEPWrapper::monitoring(), evf::prg::Ms, evf::prg::ms, MSQM_MESSAGE_TYPE_MCS, MSQM_MESSAGE_TYPE_PRG, MSQM_MESSAGE_TYPE_TRP, MSQM_MESSAGE_TYPE_WEB, MSQS_MESSAGE_TYPE_MCR, MSQS_MESSAGE_TYPE_WEB, myProcess_, evf::prg::nba, evf::prg::nbp, NUMERIC_MESSAGE_SIZE, dbtoconf::out, Output, PIPE_WRITE, pos, evf::SubProcess::postSlave(), procStat(), evf::prg::ps, evf::FWEPWrapper::psid_, o2o::query, evf::SubProcess::rcvSlave(), scalersUpdates_, edm::second(), edm::event_processor::sError, slave_message_monitoring_, slave_message_prr_, stor::utils::sleep(), spotlightWebPage(), evf::StateMachine::stateName(), stop_lock_, edm::EventProcessor::totalEvents(), edm::EventProcessor::totalEventsPassed(), evf::prg::trp, and TablePrint::write.
Referenced by startReceivingMonitorLoop().
|
private |
Definition at line 2300 of file FUEventProcessor.cc.
References evf::moduleweb::ForkInfoObj::control_sem_, prof2calltree::count, forkInfoObj_, evf::moduleweb::ForkInfoObj::forkParams, evf::moduleweb::ForkParams::isMaster, evf::moduleweb::ForkInfoObj::lock(), log_, evf::moduleweb::ForkParams::restart, restart_in_progress_, evf::moduleweb::ForkParams::slotId, evf::moduleweb::ForkInfoObj::stopCondition, and evf::moduleweb::ForkInfoObj::unlock().
Referenced by supervisor().
|
private |
Definition at line 1601 of file FUEventProcessor.cc.
References gather_cfg::cout, evtProcessor_, evf::FWEPWrapper::fireScalersUpdate(), evf::FWEPWrapper::getPackedTriggerReport(), evf::FWEPWrapper::getTriggerReport(), myProcess_, evf::SubProcess::postSlave(), run_regression::ret, scalersUpdates_, and wlScalersActive_.
Referenced by startScalersWorkLoop().
void FUEventProcessor::scalersWeb | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) | |||
throw | ( | xgi::exception::Exception | |
) |
Definition at line 1022 of file FUEventProcessor.cc.
References evtProcessor_, evf::FWEPWrapper::getPackedTriggerReportAsStruct(), and dbtoconf::out.
Referenced by FUEventProcessor().
void FUEventProcessor::sendMessageOverMonitorQueue | ( | MsgBuf & | buf | ) |
Definition at line 2669 of file FUEventProcessor.cc.
References myProcess_, and evf::SubProcess::postSlave().
|
inline |
Definition at line 115 of file FUEventProcessor.h.
References evtProcessor_, and evf::FWEPWrapper::serviceWeb().
Referenced by FUEventProcessor().
|
private |
Definition at line 1049 of file FUEventProcessor.cc.
References alignCSCRings::e, evtProcessor_, edm::EventProcessor::getToken(), edm::Service< T >::isAvailable(), cmsPerfStripChart::operate(), and cms::Exception::what().
|
private |
Definition at line 1905 of file FUEventProcessor.cc.
References gather_cfg::cout, crashesThisRun_, crashesToDump_, enabling(), fsm_, i, lastCrashTime_, min, MSQM_MESSAGE_TYPE_RLI, NUMERIC_MESSAGE_SIZE, rlimit_coresize_changed_, sigmon_sem_, signalMonitorActive_, evf::StateMachine::stateName(), stopping(), and subs_.
Referenced by startSignalMonitorWorkLoop().
void FUEventProcessor::spotlightWebPage | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) | |||
throw | ( | xgi::exception::Exception | |
) |
Definition at line 937 of file FUEventProcessor.cc.
References configuration_, evtProcessor_, fsm_, recoMuon::in, myProcess_, nbSubProcesses_, dbtoconf::out, evf::StateMachine::stateName(), evf::FWEPWrapper::summaryWebPage(), and evf::FWEPWrapper::taskWebPage().
Referenced by FUEventProcessor(), and receivingAndMonitor().
|
private |
Definition at line 1151 of file FUEventProcessor.cc.
References asReceiveMsgAndExecute_, alignCSCRings::e, edm::hlt::Exception, lumiQueryAPI::msg, receiving(), receiving_, and wlReceiving_.
Referenced by enableMPEPSlave(), and forkProcessesFromEDM().
|
private |
Definition at line 1168 of file FUEventProcessor.cc.
References asReceiveMsgAndRead_, alignCSCRings::e, edm::hlt::Exception, lumiQueryAPI::msg, receivingAndMonitor(), receivingM_, and wlReceivingMonitor_.
Referenced by enableMPEPSlave(), and forkProcessesFromEDM().
|
private |
Definition at line 1558 of file FUEventProcessor.cc.
References asScalers_, alignCSCRings::e, edm::hlt::Exception, lumiQueryAPI::msg, scalers(), wlScalers_, and wlScalersActive_.
Referenced by enableMPEPSlave(), and forkProcessesFromEDM().
|
private |
Definition at line 1882 of file FUEventProcessor.cc.
References asSignalMonitor_, gather_cfg::cout, alignCSCRings::e, edm::hlt::Exception, lumiQueryAPI::msg, sigmon(), signalMonitorActive_, and wlSignalMonitor_.
Referenced by enabling().
|
private |
Definition at line 1579 of file FUEventProcessor.cc.
References asSummarize_, alignCSCRings::e, edm::hlt::Exception, lumiQueryAPI::msg, summarize(), wlSummarize_, and wlSummarizeActive_.
Referenced by enabling().
|
private |
Definition at line 1133 of file FUEventProcessor.cc.
References asSupervisor_, alignCSCRings::e, edm::hlt::Exception, lumiQueryAPI::msg, supervising_, supervisor(), and wlSupervising_.
Referenced by FUEventProcessor().
|
private |
Definition at line 2375 of file FUEventProcessor.cc.
References detachDqmFromShm(), alignCSCRings::e, edm::IEventProcessor::epSuccess, edm::IEventProcessor::epTimedOut, evtProcessor_, edm::hlt::Exception, evf::StateMachine::fireEvent(), evf::StateMachine::fireFailed(), fsm_, hasShMem_, localLog(), reasonForFailedState_, evf::FWEPWrapper::stop(), and cms::Exception::what().
Referenced by receiving(), and stopping().
bool FUEventProcessor::stopping | ( | toolbox::task::WorkLoop * | wl | ) |
Definition at line 737 of file FUEventProcessor.cc.
References doEndRunInEDM(), forkInEDM_, hasShMem_, nbSubProcesses_, rlimit_coresize_default_, sigmon_sem_, evf::Vulture::stop(), stopClassic(), stopSlavesAndAcknowledge(), and vulture_.
Referenced by sigmon(), and supervisor().
|
private |
Definition at line 2434 of file FUEventProcessor.cc.
References alignCSCRings::e, i, localLog(), MAX_MSG_SIZE, lumiQueryAPI::msg, MSQM_MESSAGE_TYPE_STOP, MSQS_MESSAGE_TYPE_STOP, nbSubProcesses_, reasonForFailedState_, stop_lock_, and subs_.
Referenced by halting(), and stopping().
void FUEventProcessor::subWeb | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) |
Definition at line 853 of file FUEventProcessor.cc.
References anonymousPipe_, gather_cfg::cout, run_regression::done, asciidump::els, i, j, Association::map, MAX_MSG_SIZE, MAX_PIPE_BUFFER_SIZE, text2workspace::mod, lumiQueryAPI::msg, MSGQ_MESSAGE_TYPE_RANGE, MSQM_MESSAGE_TYPE_WEB, MSQS_MESSAGE_TYPE_WEB, evf::utils::pid, csv2json::pieces, PIPE_READ, SiPixelLorentzAngle_cfi::read, stor::utils::sleep(), subs_, and superSleepSec_.
Referenced by FUEventProcessor().
|
private |
Definition at line 1629 of file FUEventProcessor.cc.
References allProcStats_, gather_cfg::cout, cpustat_, alignCSCRings::e, evf::TriggerReportStatic::eventSummary, evtProcessor_, evf::FWEPWrapper::fireScalersUpdate(), fsm_, evf::FWEPWrapper::getLumiSectionReferenceIndex(), evf::FWEPWrapper::getPackedTriggerReportAsStruct(), i, iDieStatisticsGathering_, idleProcStats_, lastProcReport_, evf::TriggerReportStatic::lumiSection, master_message_trr_, MSQS_MESSAGE_TYPE_TRR, evf::TriggerReportStatic::nbExpected, evf::TriggerReportStatic::nbReporting, nbSubProcesses_, nbSubProcessesReporting_, evf::utils::procCpuStat(), ratestat_, evf::CPUStat::reset(), evf::FWEPWrapper::resetPackedTriggerReport(), run_regression::ret, evf::RateStat::sendStat(), evf::CPUStat::sendStat(), evf::CPUStat::setCPUStat(), evf::CPUStat::setElapsed(), evf::CPUStat::setNproc(), stor::utils::sleep(), evf::StateMachine::stateName(), subs_, evf::FWEPWrapper::sumAndPackTriggerReport(), edm::EventSummary::totalEvents, evf::FWEPWrapper::updateRollingReport(), evf::FWEPWrapper::withdrawLumiSectionIncrement(), and wlScalersActive_.
Referenced by startSummarizeWorkLoop().
|
private |
Definition at line 1249 of file FUEventProcessor.cc.
References evf::CPUStat::addEntry(), evf::FWEPWrapper::adjustLsIndexForRestart(), applicationInfoSpace_, autoRestartSlaves_, gather_cfg::cout, cpustat_, crashesThisRun_, delta, evf::StateMachine::disableRcmsStateNotification(), evf::prg::dqm, alignCSCRings::e, edm_init_done_, enableMPEPSlave(), evtProcessor_, cppFunctionSkipper::exception, edm::hlt::Exception, spr::find(), evf::StateMachine::fireEvent(), forkInEDM_, fsm_, i, lastCrashTime_, localLog(), log_, evf::prg::ls, python.rootplot.utilities::ls(), master_message_prg_, master_message_prr_, evf::FWEPWrapper::moduleNameFromIndex(), monitorInfoSpace_, evf::prg::Ms, evf::prg::ms, MSQM_MESSAGE_TYPE_FSTOP, MSQM_MESSAGE_TYPE_RLR, myProcess_, names_, nbAccepted, nbdead_, nblive_, nbProcessed, nbSubProcesses_, nbTotalDQM_, evf::FWEPWrapper::notstarted_state_code(), NUMERIC_MESSAGE_SIZE, AlCaHLTBitMon_ParallelJobs::p, pickup_lock_, evf::prg::ps, evf::FWEPWrapper::resetPackedTriggerReport(), restartForkInEDM(), rlimit_coresize_changed_, rlimit_coresize_default_, findQualityFiles::rr, scalersUpdates_, edm::event_processor::sError, edm::event_processor::sInit, edm::event_processor::sInvalid, slaveRestartDelaySecs_, stor::utils::sleep(), spMStates_, spmStates_, edm::event_processor::sStopping, evf::StateMachine::stateName(), evf::FWEPWrapper::stateNameFromIndex(), stop_lock_, stopping(), subs_, superSleepSec_, and evf::prg::trp.
Referenced by startSupervisorLoop().
void FUEventProcessor::updater | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) |
Definition at line 2591 of file FUEventProcessor.cc.
References evf::lsTriplet::acc, evf::utils::cDiv(), configString_, cpustat_, evtProcessor_, fsm_, evf::CPUStat::getChart(), evf::Vulture::hasStarted(), i, iDieUrl_, evf::FWEPWrapper::lastLumi(), logRing_, logRingIndex_, logRingSize_, logWrap_, evf::lsTriplet::ls, evf::utils::mDiv(), myProcess_, nbAccepted, nbProcessed, nbSubProcesses_, nbSubProcessesReporting_, evf::lsTriplet::proc, runNumber_, squidPresent_, evf::StateMachine::stateName(), supervising_, updaterStatic_, evf::utils::uptime(), vp_, vulture_, evf::FWEPWrapper::wlMonitoring(), wlScalersActive_, and wlSummarizeActive_.
Referenced by FUEventProcessor().
evf::FUEventProcessor::XDAQ_INSTANTIATOR | ( | ) |
|
private |
Definition at line 302 of file FUEventProcessor.h.
Referenced by enabling(), and summarize().
|
private |
Definition at line 270 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), receivingAndMonitor(), and subWeb().
|
private |
Definition at line 248 of file FUEventProcessor.h.
Referenced by forkProcessesFromEDM(), FUEventProcessor(), makeStaticInfo(), receivingAndMonitor(), and supervisor().
|
private |
Definition at line 232 of file FUEventProcessor.h.
Referenced by startReceivingLoop().
|
private |
Definition at line 235 of file FUEventProcessor.h.
Referenced by startReceivingMonitorLoop().
|
private |
Definition at line 262 of file FUEventProcessor.h.
Referenced by startScalersWorkLoop().
|
private |
Definition at line 242 of file FUEventProcessor.h.
Referenced by startSignalMonitorWorkLoop().
|
private |
Definition at line 268 of file FUEventProcessor.h.
Referenced by startSummarizeWorkLoop().
|
private |
Definition at line 239 of file FUEventProcessor.h.
Referenced by startSupervisorLoop().
|
private |
Definition at line 188 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), microState(), and supervisor().
|
private |
Definition at line 179 of file FUEventProcessor.h.
Referenced by FUEventProcessor().
|
private |
Definition at line 183 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), FUEventProcessor(), and updater().
|
private |
Definition at line 184 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), and spotlightWebPage().
|
private |
Definition at line 278 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), summarize(), supervisor(), and updater().
|
private |
Definition at line 294 of file FUEventProcessor.h.
Referenced by enabling(), sigmon(), and supervisor().
|
private |
Definition at line 297 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), and sigmon().
|
private |
Definition at line 210 of file FUEventProcessor.h.
Referenced by css().
|
private |
Definition at line 306 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), and FUEventProcessor().
|
private |
Definition at line 292 of file FUEventProcessor.h.
Referenced by doEndRunInEDM(), enabling(), forkProcessesFromEDM(), and supervisor().
|
private |
Definition at line 182 of file FUEventProcessor.h.
Referenced by actionPerformed(), configuring(), enabling(), and FUEventProcessor().
|
private |
Definition at line 175 of file FUEventProcessor.h.
Referenced by actionPerformed(), attachDqmToShm(), configuring(), detachDqmFromShm(), doEndRunInEDM(), enableClassic(), enableCommon(), enableForkInEDM(), enableMPEPSlave(), enabling(), forkProcessesFromEDM(), FUEventProcessor(), halting(), microState(), moduleWeb(), pathNames(), receivingAndMonitor(), scalers(), scalersWeb(), serviceWeb(), setAttachDqmToShm(), spotlightWebPage(), stopClassic(), summarize(), supervisor(), and updater().
|
private |
Definition at line 207 of file FUEventProcessor.h.
Referenced by receivingAndMonitor().
|
private |
Definition at line 223 of file FUEventProcessor.h.
Referenced by enabling(), FUEventProcessor(), halting(), stopping(), and supervisor().
|
private |
Definition at line 289 of file FUEventProcessor.h.
Referenced by doEndRunInEDM(), enableForkInEDM(), forkProcessesFromEDM(), FUEventProcessor(), halting(), and restartForkInEDM().
|
private |
Definition at line 290 of file FUEventProcessor.h.
Referenced by enableForkInEDM(), and FUEventProcessor().
|
private |
Definition at line 169 of file FUEventProcessor.h.
Referenced by actionPerformed(), configuring(), doEndRunInEDM(), enableCommon(), enableForkInEDM(), enableMPEPSlave(), enabling(), forkProcessesFromEDM(), fsmCallback(), FUEventProcessor(), halting(), microState(), receiving(), receivingAndMonitor(), sigmon(), spotlightWebPage(), stopClassic(), summarize(), supervisor(), and updater().
|
private |
Definition at line 193 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), FUEventProcessor(), and makeStaticInfo().
|
private |
Definition at line 192 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), and FUEventProcessor().
|
private |
Definition at line 194 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), FUEventProcessor(), and makeStaticInfo().
|
private |
Definition at line 191 of file FUEventProcessor.h.
Referenced by enableCommon(), forkProcessesFromEDM(), FUEventProcessor(), makeStaticInfo(), stopClassic(), and stopping().
|
private |
Definition at line 196 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), FUEventProcessor(), and summarize().
|
private |
Definition at line 275 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), FUEventProcessor(), and updater().
|
private |
Definition at line 301 of file FUEventProcessor.h.
Referenced by enabling(), and summarize().
|
private |
Definition at line 180 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), and FUEventProcessor().
|
private |
Definition at line 195 of file FUEventProcessor.h.
Referenced by enableCommon(), enableForkInEDM(), and FUEventProcessor().
|
private |
Definition at line 299 of file FUEventProcessor.h.
Referenced by sigmon(), and supervisor().
|
private |
Definition at line 303 of file FUEventProcessor.h.
Referenced by summarize().
|
private |
Definition at line 172 of file FUEventProcessor.h.
Referenced by doEndRunInEDM(), enableForkInEDM(), restartForkInEDM(), and supervisor().
|
private |
Definition at line 216 of file FUEventProcessor.h.
Referenced by localLog(), logsAsString(), and updater().
|
private |
Definition at line 217 of file FUEventProcessor.h.
Referenced by localLog(), logsAsString(), and updater().
|
staticprivate |
Definition at line 218 of file FUEventProcessor.h.
Referenced by localLog(), and updater().
|
private |
Definition at line 219 of file FUEventProcessor.h.
Referenced by localLog(), logsAsString(), and updater().
|
private |
Definition at line 283 of file FUEventProcessor.h.
Referenced by supervisor().
|
private |
Definition at line 284 of file FUEventProcessor.h.
Referenced by supervisor().
|
private |
Definition at line 287 of file FUEventProcessor.h.
Referenced by summarize().
|
private |
Definition at line 305 of file FUEventProcessor.h.
Referenced by forkProcessesFromEDM(), FUEventProcessor(), and receiving().
|
private |
Definition at line 246 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), and supervisor().
|
private |
Definition at line 247 of file FUEventProcessor.h.
Referenced by FUEventProcessor().
|
private |
Definition at line 281 of file FUEventProcessor.h.
Referenced by configuring(), enableForkInEDM(), and enabling().
|
private |
Definition at line 237 of file FUEventProcessor.h.
Referenced by enabling(), forkProcessesFromEDM(), microState(), receiving(), receivingAndMonitor(), scalers(), sendMessageOverMonitorQueue(), spotlightWebPage(), supervisor(), and updater().
|
private |
Definition at line 274 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), and supervisor().
|
private |
Definition at line 254 of file FUEventProcessor.h.
Referenced by supervisor(), and updater().
|
private |
Definition at line 226 of file FUEventProcessor.h.
Referenced by microState(), and supervisor().
|
private |
Definition at line 225 of file FUEventProcessor.h.
Referenced by microState(), and supervisor().
|
private |
Definition at line 253 of file FUEventProcessor.h.
Referenced by supervisor(), and updater().
|
private |
Definition at line 221 of file FUEventProcessor.h.
Referenced by configuring(), defaultWebPage(), enabling(), forkProcessesFromEDM(), FUEventProcessor(), halting(), microState(), spotlightWebPage(), stopping(), stopSlavesAndAcknowledge(), summarize(), supervisor(), and updater().
|
private |
Definition at line 222 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), summarize(), and updater().
|
private |
Definition at line 228 of file FUEventProcessor.h.
Referenced by enabling(), microState(), and supervisor().
|
private |
Definition at line 197 of file FUEventProcessor.h.
Referenced by actionPerformed().
|
private |
Definition at line 186 of file FUEventProcessor.h.
Referenced by actionPerformed(), FUEventProcessor(), and makeStaticInfo().
|
private |
Definition at line 251 of file FUEventProcessor.h.
Referenced by enabling(), FUEventProcessor(), microState(), and supervisor().
|
private |
Definition at line 279 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), and summarize().
|
private |
Definition at line 213 of file FUEventProcessor.h.
Referenced by configuring(), enableCommon(), enableForkInEDM(), enableMPEPSlave(), enabling(), forkProcessesFromEDM(), halting(), stopClassic(), and stopSlavesAndAcknowledge().
|
private |
Definition at line 233 of file FUEventProcessor.h.
Referenced by startReceivingLoop().
|
private |
Definition at line 236 of file FUEventProcessor.h.
Referenced by startReceivingMonitorLoop().
|
private |
Definition at line 291 of file FUEventProcessor.h.
Referenced by forkProcessesFromEDM(), and restartForkInEDM().
|
private |
Definition at line 295 of file FUEventProcessor.h.
Referenced by enabling(), handleSignalSlave(), receiving(), sigmon(), and supervisor().
|
private |
Definition at line 296 of file FUEventProcessor.h.
Referenced by enabling(), FUEventProcessor(), halting(), receiving(), stopping(), and supervisor().
|
private |
Definition at line 181 of file FUEventProcessor.h.
Referenced by enableCommon(), enableForkInEDM(), enabling(), FUEventProcessor(), and updater().
|
private |
Definition at line 257 of file FUEventProcessor.h.
Referenced by FUEventProcessor().
|
private |
Definition at line 258 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), FUEventProcessor(), and pathNames().
|
private |
Definition at line 264 of file FUEventProcessor.h.
Referenced by enabling(), forkProcessesFromEDM(), receivingAndMonitor(), scalers(), and supervisor().
|
private |
Definition at line 298 of file FUEventProcessor.h.
Referenced by enabling(), FUEventProcessor(), halting(), handleSignalSlave(), sigmon(), and stopping().
|
private |
Definition at line 243 of file FUEventProcessor.h.
Referenced by sigmon(), and startSignalMonitorWorkLoop().
|
private |
Definition at line 286 of file FUEventProcessor.h.
Referenced by receivingAndMonitor().
|
private |
Definition at line 285 of file FUEventProcessor.h.
Referenced by receivingAndMonitor().
|
private |
Definition at line 189 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), and supervisor().
|
private |
Definition at line 282 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), and forkProcessesFromEDM().
|
private |
Definition at line 200 of file FUEventProcessor.h.
Referenced by FUEventProcessor().
|
private |
Definition at line 271 of file FUEventProcessor.h.
Referenced by configuring(), FUEventProcessor(), and supervisor().
|
private |
Definition at line 272 of file FUEventProcessor.h.
Referenced by configuring(), FUEventProcessor(), and supervisor().
|
private |
Definition at line 215 of file FUEventProcessor.h.
Referenced by FUEventProcessor().
|
private |
Definition at line 203 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), and updater().
|
private |
Definition at line 250 of file FUEventProcessor.h.
Referenced by enabling(), FUEventProcessor(), and microState().
|
private |
Definition at line 249 of file FUEventProcessor.h.
Referenced by enabling(), forkProcessesFromEDM(), FUEventProcessor(), receiving(), receivingAndMonitor(), stopSlavesAndAcknowledge(), and supervisor().
|
private |
Definition at line 224 of file FUEventProcessor.h.
Referenced by enabling(), forkProcessesFromEDM(), getSlavePids(), microState(), sigmon(), stopSlavesAndAcknowledge(), subWeb(), summarize(), and supervisor().
|
private |
Definition at line 273 of file FUEventProcessor.h.
Referenced by FUEventProcessor(), subWeb(), and supervisor().
|
private |
Definition at line 240 of file FUEventProcessor.h.
Referenced by startSupervisorLoop(), and updater().
|
private |
Definition at line 252 of file FUEventProcessor.h.
Referenced by makeStaticInfo(), and updater().
|
private |
Definition at line 178 of file FUEventProcessor.h.
Referenced by FUEventProcessor().
|
private |
Definition at line 277 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), and updater().
|
private |
Definition at line 276 of file FUEventProcessor.h.
Referenced by configuring(), enabling(), FUEventProcessor(), stopping(), updater(), and ~FUEventProcessor().
|
private |
Definition at line 231 of file FUEventProcessor.h.
Referenced by forkProcessesFromEDM(), and startReceivingLoop().
|
private |
Definition at line 234 of file FUEventProcessor.h.
Referenced by forkProcessesFromEDM(), and startReceivingMonitorLoop().
|
private |
Definition at line 261 of file FUEventProcessor.h.
Referenced by startScalersWorkLoop().
|
private |
Definition at line 263 of file FUEventProcessor.h.
Referenced by scalers(), startScalersWorkLoop(), summarize(), and updater().
|
private |
Definition at line 241 of file FUEventProcessor.h.
Referenced by startSignalMonitorWorkLoop().
|
private |
Definition at line 267 of file FUEventProcessor.h.
Referenced by startSummarizeWorkLoop().
|
private |
Definition at line 269 of file FUEventProcessor.h.
Referenced by startSummarizeWorkLoop(), and updater().
|
private |
Definition at line 238 of file FUEventProcessor.h.
Referenced by startSupervisorLoop().