1 #ifndef EVENTFILTER_PROCESSOR_FWEPWRAPPER_H
2 #define EVENTFILTER_PROCESSOR_FWEPWRAPPER_H
12 #include "toolbox/lang/Class.h"
13 #include "toolbox/task/WorkLoop.h"
14 #include "toolbox/net/URL.h"
17 #include "xgi/Input.h"
18 #include "xgi/Output.h"
19 #include "xgi/exception/Exception.h"
21 #include "xoap/MessageReference.h"
23 #include "xdata/InfoSpace.h"
24 #include "xdata/Integer.h"
25 #include "xdata/UnsignedInteger32.h"
26 #include "xdata/Boolean.h"
27 #include "log4cplus/logger.h"
35 class ApplicationDescriptor;
36 class ApplicationContext;
100 else return "not initialized";
174 std::vector<edm::ModuleDescription const*>
descs_;
xdata::InfoSpace * monitorLegendaInfoSpace_
xdata::String macro_state_legend_
void summaryWebPage(xgi::Input *, xgi::Output *, const std::string &)
void withdrawLumiSectionIncrement()
ShmOutputModuleRegistry * sorRef_
FWEPWrapper(log4cplus::Logger &, unsigned int instance)
std::vector< bool > lumiSectionsTo_
void updateRollingReport()
TriggerReportStatic * getPackedTriggerReportAsStruct()
void resetTriggerReport()
void serviceWeb(xgi::Input *in, xgi::Output *out)
xdata::Integer epmAltState_
static PFTauRenderPlugin instance
void moduleWeb(xgi::Input *in, xgi::Output *out)
void startMonitoringWorkLoop()
void taskWebPage(xgi::Input *, xgi::Output *, const std::string &)
struct timeval monStartTime_
void setAppCtxt(xdaq::ApplicationContext *ctx)
ShmOutputModuleRegistry * getShmOutputModuleRegistry()
void createAndSendScalersMessage()
std::string configString_
edm::EventProcessor * operator->()
void init(unsigned short, std::string &)
xdata::InfoSpace * scalersInfoSpace_
MsgBuf & getPackedTriggerReport()
xdata::UnsignedInteger32 localLsIncludingTimeOuts_
xdaq::ApplicationContext * xappCtxt_
xdata::UnsignedInteger32 lastLumiPrescaleIndex_
void setupFastTimerService(unsigned int nProcesses)
std::string const & moduleNameFromIndex(unsigned int i) const
xdata::Boolean lsToBeRecovered_
void forceInitEventProcessorMaybe()
xdata::InfoSpace * scalersLegendaInfoSpace_
std::vector< std::string > mapmod_
ModuleWebRegistry * mwrRef_
toolbox::task::WorkLoop * wlMonitoring_
std::string wlMonitoring()
static const std::string unknown
int notstarted_state_code_
void adjustLsIndexForRestart()
std::list< std::string > namesScalersLegenda_
xdata::Boolean lsTimedOut_
static const unsigned int lsRollSize_
ModuleWebRegistry * getModuleWebRegistry()
void lumiSumTable(xgi::Output *out)
std::vector< std::string > statmod_
edm::ServiceToken serviceToken_
unsigned int getLumiSectionReferenceIndex()
void resetLumiSectionReferenceIndex()
bool monitoring(toolbox::task::WorkLoop *wl)
void adjustLsIndexForRestart()
std::list< std::string > namesStatusLegenda_
void setAppDesc(xdaq::ApplicationDescriptor *ad)
xdata::Table scalersComplete_
xdata::String micro_state_legend_
void resetPackedTriggerReport()
std::list< std::string > names_
void setScalersInfoSpace(xdata::InfoSpace *sis, xdata::InfoSpace *slis)
xdata::InfoSpace * monitorInfoSpaceLegend_
xdata::InfoSpace * monitorInfoSpace_
unsigned int getNumberOfMicrostates()
std::map< std::string, int > modmap_
void resetPackedTriggerReport()
unsigned int allPastLumiProcessed_
std::vector< edm::ModuleDescription const * > descs_
void setMonitorInfoSpace(xdata::InfoSpace *mis, xdata::InfoSpace *mlis)
void resetLumiSectionReferenceIndex()
xdata::UnsignedInteger32 lumiSectionIndex_
int notstarted_state_code() const
edm::EventProcessor::StatusCode stop()
xdata::UnsignedInteger32 nbProcessed_
evf::MsgBuf & getPackedTriggerReport()
void setApplicationInfoSpace(xdata::InfoSpace *is)
unsigned int getLumiSectionReferenceIndex()
bool getTriggerReport(bool useLock)
void resetTriggerReport()
std::vector< std::string > const & getmicromap() const
xdata::UnsignedInteger32 lastLumiUsingEol_
std::string const & stateNameFromIndex(unsigned int i) const
std::string const & configuration() const
void setMonitorInfoSpaceLegend(xdata::InfoSpace *is)
pthread_mutex_t ep_guard_lock_
edm::service::PrescaleService * prescaleSvc_
xdata::UnsignedInteger32 instance_
xdata::UnsignedInteger32 monSleepSec_
void publishConfigAndMonitorItemsSP()
unsigned int scalersUpdateCounter_
toolbox::task::ActionSignature * asMonitoring_
xdata::UnsignedInteger32 prescaleSetIndex_
unsigned int rollingLsIndex_
std::vector< lsTriplet > lumiSectionsCtr_
fuep::TriggerReportHelpers trh_
edm::EventProcessor * evtProcessor_
xdata::Integer epMAltState_
std::string lsidTimedOutAsString_
void withdrawLumiSectionIncrement()
bool hasServiceWebRegistry_
FastTimerService * ftsRef_
void microState(xgi::Input *in, xgi::Output *out)
void sumAndPackTriggerReport(MsgBuf &buf)
TriggerReportStatic * getPackedTriggerReportAsStruct()
xdaq::ApplicationDescriptor * rcms_
bool hasModuleWebRegistry_
unsigned int scalersUpdateAttempted_
xdata::InfoSpace * applicationInfoSpace_
unsigned int getScalersUpdates()
xdata::UnsignedInteger32 lsTimeOut_
void publishConfigAndMonitorItems(bool)
std::string configuration_
xdaq::ApplicationDescriptor * xappDesc_
xdata::UnsignedInteger32 timeoutOnStop_
void setRcms(xdaq::ApplicationDescriptor *rcms)
xdata::UnsignedInteger32 nbAccepted_