1 #ifndef FUEVENTPROCESSOR_H
2 #define FUEVENTPROCESSOR_H 1
18 #include "xdaq/Application.h"
19 #include "xdaq/NamespaceURI.h"
21 #include "xdata/String.h"
22 #include "xdata/Integer.h"
23 #include "xdata/Boolean.h"
24 #include "xdata/Vector.h"
25 #include "xdata/UnsignedInteger32.h"
26 #include "xdata/ActionListener.h"
27 #include "xdata/InfoSpaceFactory.h"
29 #include "xgi/Input.h"
30 #include "xgi/Output.h"
31 #include "xgi/exception/Exception.h"
55 std::map<std::string, std::string, std::less<std::string> > &
getEnvironment(){
return environment_;}
59 public xdata::ActionListener
76 bool enabling(toolbox::task::WorkLoop* wl);
77 bool stopping(toolbox::task::WorkLoop* wl);
78 bool halting(toolbox::task::WorkLoop* wl);
128 bool scalers(toolbox::task::WorkLoop* wl);
130 bool summarize(toolbox::task::WorkLoop* wl);
132 bool receiving(toolbox::task::WorkLoop* wl);
xdata::Boolean hasModuleWebRegistry_
void spotlightWebPage(xgi::Input *, xgi::Output *)
xdata::Vector< xdata::Integer > spMStates_
xdata::InfoSpace * monitorInfoSpace_
void subWeb(xgi::Input *in, xgi::Output *out)
void stopSlavesAndAcknowledge()
std::vector< std::string > logRing_
bool receivingAndMonitor(toolbox::task::WorkLoop *wl)
xdata::UnsignedInteger32 slaveRestartDelaySecs_
void startSummarizeWorkLoop()
xdata::UnsignedInteger32 runNumber_
void startScalersWorkLoop()
void updater(xgi::Input *in, xgi::Output *out)
toolbox::task::WorkLoop * wlScalers_
void serviceWeb(xgi::Input *in, xgi::Output *out)
pthread_mutex_t start_lock_
void moduleWeb(xgi::Input *in, xgi::Output *out)
std::map< std::string, std::string, std::less< std::string > > & getEnvironment()
ROOT::Math::Plane3D::Vector Vector
void startReceivingLoop()
FWEPWrapper evtProcessor_
xdata::Boolean isRunNumberSetter_
MsgBuf slave_message_monitoring_
xdata::Boolean hasServiceWebRegistry_
toolbox::task::WorkLoop * wlReceiving_
toolbox::task::ActionSignature * asReceiveMsgAndExecute_
void startSupervisorLoop()
xdata::InfoSpace * scalersLegendaInfoSpace_
toolbox::task::ActionSignature * asSupervisor_
xdata::Boolean autoRestartSlaves_
xdata::UnsignedInteger32 nbSubProcessesReporting_
void css(xgi::Input *in, xgi::Output *out)
toolbox::task::ActionSignature * asReceiveMsgAndRead_
MsgBuf master_message_prr_
xdata::Boolean exitOnError_
std::vector< SubProcess > subs_
xdata::InfoSpace * monitorLegendaInfoSpace_
bool summarize(toolbox::task::WorkLoop *wl)
xdata::Serializable * nbProcessed
xoap::MessageReference fsmCallback(xoap::MessageReference msg)
bool halting(toolbox::task::WorkLoop *wl)
bool scalers(toolbox::task::WorkLoop *wl)
MsgBuf master_message_trr_
toolbox::task::WorkLoop * wlSupervising_
std::string reasonForFailedState_
FUEventProcessor(xdaq::ApplicationStub *s)
std::string logsAsString()
xdata::Boolean iDieStatisticsGathering_
void css(xgi::Input *in, xgi::Output *out)
void scalersWeb(xgi::Input *, xgi::Output *)
xdata::Boolean squidPresent_
std::list< std::string > names_
xdata::Boolean hasPrescaleService_
MsgBuf slave_message_prr_
bool receiving(toolbox::task::WorkLoop *wl)
bool stopping(toolbox::task::WorkLoop *wl)
void procStat(xgi::Input *in, xgi::Output *out)
toolbox::task::WorkLoop * wlSummarize_
virtual ~FUEventProcessor()
xdata::Serializable * nbAccepted
void startReceivingMonitorLoop()
void localLog(std::string)
bool configuring(toolbox::task::WorkLoop *wl)
xdata::InfoSpace * applicationInfoSpace_
xdata::UnsignedInteger32 nbSubProcesses_
bool enabling(toolbox::task::WorkLoop *wl)
unsigned int scalersUpdates_
xdata::String configString_
xdata::UnsignedInteger32 superSleepSec_
void sendMessageOverMonitorQueue(MsgBuf &)
void moduleWeb(xgi::Input *in, xgi::Output *out)
std::string configuration_
void pathNames(xgi::Input *, xgi::Output *)
std::string updaterStatic_
pthread_mutex_t pickup_lock_
void defaultWebPage(xgi::Input *in, xgi::Output *out)
toolbox::task::ActionSignature * asSummarize_
xdata::Vector< xdata::Integer > spmStates_
xdata::UnsignedInteger32 instance_
void serviceWeb(xgi::Input *in, xgi::Output *out)
toolbox::task::WorkLoop * wlReceivingMonitor_
toolbox::task::ActionSignature * asScalers_
bool supervisor(toolbox::task::WorkLoop *wl)
MsgBuf master_message_prg_
pthread_mutex_t stop_lock_
unsigned int logRingIndex_
xdata::InfoSpace * scalersInfoSpace_
void actionPerformed(xdata::Event &e)
void microState(xgi::Input *in, xgi::Output *out)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
static const unsigned int logRingSize_
xdata::Boolean epInitialized_