#include <XmasToDQM.h>
Public Member Functions | |
void | actionPerformed (xdata::Event &e) |
void | Default (xgi::Input *in, xgi::Output *out) throw (xgi::exception::Exception) |
xoap::MessageReference | report (xoap::MessageReference msg) throw (xoap::exception::Exception) |
Receive metrics from a sensor. More... | |
XDAQ_INSTANTIATOR () | |
XmasToDQM (xdaq::ApplicationStub *s) throw (xdaq::exception::Exception) | |
~XmasToDQM () | |
Protected Member Functions | |
void | ConfigureAction (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
void | EnableAction (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
void | failedTransition (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
xoap::MessageReference | fireEvent (xoap::MessageReference msg) throw (xoap::exception::Exception) |
int | getEXDR_LAS (xdata::Table *rtable) |
void | HaltAction (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
bool | LASReadoutWorkLoop (toolbox::task::WorkLoop *wl) |
xoap::MessageReference | reset (xoap::MessageReference msg) throw (xoap::exception::Exception) |
void | ResumeAction (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
void | stateChanged (toolbox::fsm::FiniteStateMachine &fsm) throw (toolbox::fsm::exception::Exception) |
void | SuspendAction (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
void | timeExpired (toolbox::task::TimerEvent &e) |
Static Protected Member Functions | |
static void * | myrealloc (void *ptr, size_t size) |
static size_t | WriteMemoryCallback (void *ptr, size_t size, size_t nmemb, void *data) |
Protected Attributes | |
xdata::String | LASQueueSize_ |
xdata::String | LASurl_ |
xdata::String | Period_ |
xdata::String | state_ |
Private Attributes | |
xmas2dqm::wse::ToDqm * | dqmHook_ |
toolbox::fsm::FiniteStateMachine | fsm_ |
toolbox::task::ActionSignature * | LASReadout_ |
toolbox::task::Timer * | LASReadoutTimer_ |
toolbox::task::WorkLoop * | LASReadoutWorkLoop_ |
toolbox::TimeVal | startLASReadout_ |
Definition at line 78 of file XmasToDQM.h.
xmas2dqm::wse::XmasToDQM::XmasToDQM | ( | xdaq::ApplicationStub * | s | ) | |
throw | ( | xdaq::exception::Exception | |||
) |
Definition at line 71 of file XmasToDQM.cc.
References EnableAction(), failedTransition(), fireEvent(), HaltAction(), xmas2dqm::wse::ToDqm::instance(), LASReadoutWorkLoop(), reset(), sistrip::runNumber_, and stateChanged().
xmas2dqm::wse::XmasToDQM::~XmasToDQM | ( | ) |
Definition at line 484 of file XmasToDQM.cc.
void xmas2dqm::wse::XmasToDQM::actionPerformed | ( | xdata::Event & | e | ) |
Definition at line 399 of file XmasToDQM.cc.
References alignCSCRings::e, xmas2dqm::wse::ToDqm::instance(), MergeJob_cfg::interval, and sistrip::runNumber_.
|
protected |
void xmas2dqm::wse::XmasToDQM::Default | ( | xgi::Input * | in, |
xgi::Output * | out | ||
) | |||
throw | ( | xgi::exception::Exception | |
) |
|
protected |
Definition at line 550 of file XmasToDQM.cc.
References alignCSCRings::e, and MergeJob_cfg::interval.
Referenced by XmasToDQM().
|
protected |
Definition at line 618 of file XmasToDQM.cc.
Referenced by XmasToDQM().
|
protected |
Definition at line 490 of file XmasToDQM.cc.
References edmPickEvents::command, alignCSCRings::e, web.browse_db::env, edm::hlt::Exception, i, lumiQueryAPI::msg, and python.Node::node.
Referenced by XmasToDQM().
|
protected |
Definition at line 255 of file XmasToDQM.cc.
References data, alignCSCRings::e, edm::hlt::Exception, xmas2dqm::wse::ToDqm::instance(), xmas2dqm::wse::MemoryStruct::memory, NULL, and xmas2dqm::wse::MemoryStruct::size.
Referenced by LASReadoutWorkLoop().
|
protected |
Definition at line 584 of file XmasToDQM.cc.
References alignCSCRings::e, and MergeJob_cfg::interval.
Referenced by XmasToDQM().
|
protected |
Definition at line 162 of file XmasToDQM.cc.
References xmas2dqm::wse::ToDqm::digest(), getEXDR_LAS(), i, xmas2dqm::wse::ToDqm::instance(), LASQueueSize_, LASurl_, Period_, run_regression::ret, and create_public_lumi_plots::times.
Referenced by XmasToDQM().
|
staticprotected |
Definition at line 369 of file XmasToDQM.cc.
xoap::MessageReference xmas2dqm::wse::XmasToDQM::report | ( | xoap::MessageReference | msg | ) | |
throw | ( | xoap::exception::Exception | |||
) |
Receive metrics from a sensor.
|
protected |
Definition at line 531 of file XmasToDQM.cc.
Referenced by XmasToDQM().
|
protected |
|
protected |
Definition at line 611 of file XmasToDQM.cc.
Referenced by XmasToDQM().
|
protected |
|
protected |
Timer method called, this method inject the method dcuReadWorkLoop in the queue to be executed
Definition at line 356 of file XmasToDQM.cc.
References create_public_lumi_plots::times.
|
staticprotected |
Definition at line 381 of file XmasToDQM.cc.
References mem, xmas2dqm::wse::MemoryStruct::memory, and xmas2dqm::wse::MemoryStruct::size.
xmas2dqm::wse::XmasToDQM::XDAQ_INSTANTIATOR | ( | ) |
|
private |
Definition at line 167 of file XmasToDQM.h.
|
private |
Definition at line 173 of file XmasToDQM.h.
|
protected |
Definition at line 158 of file XmasToDQM.h.
Referenced by LASReadoutWorkLoop().
|
private |
Definition at line 179 of file XmasToDQM.h.
|
private |
Definition at line 181 of file XmasToDQM.h.
|
private |
Definition at line 176 of file XmasToDQM.h.
|
protected |
Definition at line 156 of file XmasToDQM.h.
Referenced by LASReadoutWorkLoop().
|
protected |
Definition at line 157 of file XmasToDQM.h.
Referenced by LASReadoutWorkLoop().
|
private |
Definition at line 182 of file XmasToDQM.h.
|
protected |
Definition at line 155 of file XmasToDQM.h.