#include <DQMArchiver.h>
Public Member Functions | |
DQMArchiver (StateMachine *) | |
const stor::DQMEventConsRegPtr & | getRegPtr () const |
~DQMArchiver () | |
Private Types | |
typedef std::map< std::string, stor::DQMTopLevelFolder::Record > | Records |
Private Member Functions | |
void | activity () |
void | createRegistration () |
void | doIt () |
void | handleDQMEvent (const stor::DQMTopLevelFolder::Record &) |
void | updateLastRecord (const stor::DQMTopLevelFolder::Record &) |
void | writeDQMEventToFile (const DQMEventMsgView &, const bool endRun) const |
Private Attributes | |
const DQMArchivingParams | dqmArchivingParams_ |
stor::DQMEventQueueCollectionPtr | dqmEventQueueCollection_ |
Records | lastUpdateForFolders_ |
stor::DQMEventConsRegPtr | regPtr_ |
StateMachine * | stateMachine_ |
boost::scoped_ptr< boost::thread > | thread_ |
Archive DQM histograms
Definition at line 30 of file DQMArchiver.h.
|
private |
Definition at line 61 of file DQMArchiver.h.
smproxy::DQMArchiver::DQMArchiver | ( | StateMachine * | stateMachine | ) |
Definition at line 23 of file DQMArchiver.cc.
References activity(), smproxy::DQMArchivingParams::archiveDQM_, createRegistration(), dqmArchivingParams_, and thread_.
smproxy::DQMArchiver::~DQMArchiver | ( | ) |
|
private |
Definition at line 42 of file DQMArchiver.cc.
References doIt(), alignCSCRings::e, cppFunctionSkipper::exception, edm::hlt::Exception, smproxy::StateMachine::moveToFailedState(), stateMachine_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DQMArchiver().
|
private |
Definition at line 159 of file DQMArchiver.cc.
References edm::ParameterSet::addUntrackedParameter(), smproxy::DQMArchivingParams::archiveTopLevelFolder_, dqmArchivingParams_, dqmEventQueueCollection_, smproxy::StateMachine::getConfiguration(), smproxy::StateMachine::getRegistrationCollection(), regPtr_, stateMachine_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DQMArchiver().
|
private |
Definition at line 67 of file DQMArchiver.cc.
References dqmEventQueueCollection_, smproxy::StateMachine::getRegistrationCollection(), handleDQMEvent(), lastUpdateForFolders_, regPtr_, stor::utils::sleep(), stateMachine_, and writeDQMEventToFile().
Referenced by activity(), HiHelperTools.MassSearchReplaceAnyInputTagVisitor::doIt(), helpers.MassSearchReplaceAnyInputTagVisitor::doIt(), HiHelperTools.MassSearchReplaceAnyInputTagVisitor::enter(), and helpers.MassSearchReplaceAnyInputTagVisitor::enter().
|
inline |
Return the registration pointer
Definition at line 41 of file DQMArchiver.h.
References regPtr_.
Referenced by smproxy::DataManager::doIt().
|
private |
Definition at line 94 of file DQMArchiver.cc.
References smproxy::DQMArchivingParams::archiveIntervalDQM_, dqmArchivingParams_, stor::DQMTopLevelFolder::Record::getDQMEventMsgView(), updateLastRecord(), DQMEventMsgView::updateNumber(), and writeDQMEventToFile().
Referenced by doIt().
|
private |
Definition at line 109 of file DQMArchiver.cc.
References stor::DQMTopLevelFolder::Record::getDQMEventMsgView(), lastUpdateForFolders_, pos, record, AlCaHLTBitMon_QueryRunRegistry::string, and DQMEventMsgView::topFolderName().
Referenced by handleDQMEvent().
|
private |
Definition at line 128 of file DQMArchiver.cc.
References edm::DQMHttpSource::addEventToDQMBackend(), stor::MonitoredQuantity::addSample(), edm::ParameterSet::addUntrackedParameter(), convertXMLtoSQLite_cfg::fileName, stor::DQMEventMonitorCollection::getNumberOfWrittenTopLevelFoldersMQ(), stor::DQMEventMonitorCollection::getWrittenDQMEventSizeMQ(), DQMEventMsgView::lumiSection(), DQMEventMsgView::runNumber(), DQMEventMsgView::size(), and DQMStore::StripRunDirs.
Referenced by doIt(), and handleDQMEvent().
|
private |
Definition at line 55 of file DQMArchiver.h.
Referenced by createRegistration(), DQMArchiver(), and handleDQMEvent().
|
private |
Definition at line 56 of file DQMArchiver.h.
Referenced by createRegistration(), and doIt().
|
private |
Definition at line 62 of file DQMArchiver.h.
Referenced by doIt(), and updateLastRecord().
|
private |
Definition at line 57 of file DQMArchiver.h.
Referenced by createRegistration(), doIt(), and getRegPtr().
|
private |
Definition at line 54 of file DQMArchiver.h.
Referenced by activity(), createRegistration(), and doIt().
|
private |
Definition at line 59 of file DQMArchiver.h.
Referenced by DQMArchiver(), and ~DQMArchiver().