#include <RawEventFileWriterForBU.h>
Public Member Functions | |
uint32 | adler32 () const |
void | doOutputEvent (FRDEventMsgView const &msg) |
void | endOfLS (int ls) |
void | initialize (std::string const &destinationDir, std::string const &name, int ls) |
void | makeRunPrefix (std::string const &destinationDir) |
RawEventFileWriterForBU (edm::ParameterSet const &ps) | |
RawEventFileWriterForBU (std::string const &fileName) | |
bool | sharedMode () const |
void | start () |
void | stop () |
~RawEventFileWriterForBU () | |
Static Public Member Functions | |
static void | extendDescription (edm::ParameterSetDescription &desc) |
Private Member Functions | |
bool | closefd () |
void | finishFileWrite (int ls) |
void | writeJsds () |
Definition at line 21 of file RawEventFileWriterForBU.h.
|
explicit |
Definition at line 24 of file RawEventFileWriterForBU.cc.
References jsoncollector::DataPointDefinition::addLegendItem(), jsoncollector::FastMonitor::commit(), eolJsonDef_, eorJsonDef_, fileMon_, lumiMon_, perFileEventCount_, perFileSize_, perLumiEventCount_, perLumiFileCount_, perLumiLostEventCount_, perLumiSize_, perLumiTotalEventCount_, perRunEventCount_, perRunFileCount_, perRunLastLumi_, perRunLumiCount_, rawJsonDef_, jsoncollector::FastMonitor::registerGlobalMonitorable(), runMon_, jsoncollector::DataPointDefinition::setDefaultGroup(), jsoncollector::JsonMonitorable::setName(), and SUM.
|
explicit |
Definition at line 80 of file RawEventFileWriterForBU.cc.
RawEventFileWriterForBU::~RawEventFileWriterForBU | ( | ) |
|
inline |
|
inlineprivate |
Definition at line 41 of file RawEventFileWriterForBU.h.
References outfd_.
Referenced by endOfLS(), finishFileWrite(), and initialize().
void RawEventFileWriterForBU::doOutputEvent | ( | FRDEventMsgView const & | msg | ) |
Definition at line 88 of file RawEventFileWriterForBU.cc.
References Exception, fileName_, microSleep_, mps_check::msg, outfd_, perFileEventCount_, perFileSize_, jsoncollector::IntJ::value(), and writeEcalDQMStatus::write.
void RawEventFileWriterForBU::endOfLS | ( | int | ls | ) |
Definition at line 249 of file RawEventFileWriterForBU.cc.
References closefd(), destinationDir_, jsoncollector::FastMonitor::discardCollected(), finishFileWrite(), eostools::ls(), lumiClosed_, lumiMon_, makeRunPrefix(), outfd_, jsoncollector::FastMonitor::outputFullJSON(), castor_dqm_sourceclient_file_cfg::path, perLumiEventCount_, perLumiFileCount_, perLumiSize_, perLumiTotalEventCount_, perRunEventCount_, perRunFileCount_, perRunLastLumi_, perRunLumiCount_, run_, runPrefix_, jsoncollector::FastMonitor::snap(), AlCaHLTBitMon_QueryRunRegistry::string, and jsoncollector::IntJ::value().
Referenced by stop().
|
static |
Definition at line 307 of file RawEventFileWriterForBU.cc.
References submitPVResolutionJobs::desc.
|
private |
Definition at line 207 of file RawEventFileWriterForBU.cc.
References closefd(), destinationDir_, jsoncollector::FastMonitor::discardCollected(), fileMon_, fileName_, frdFileVersion_, eostools::ls(), lumiOpen_, outfd_, jsoncollector::FastMonitor::outputFullJSON(), castor_dqm_sourceclient_file_cfg::path, perFileEventCount_, perFileSize_, perLumiEventCount_, perLumiFileCount_, perLumiSize_, perLumiTotalEventCount_, jsoncollector::FastMonitor::snap(), source, AlCaHLTBitMon_QueryRunRegistry::string, jsoncollector::IntJ::value(), and writeEcalDQMStatus::write.
Referenced by endOfLS(), and initialize().
void RawEventFileWriterForBU::initialize | ( | std::string const & | destinationDir, |
std::string const & | name, | ||
int | ls | ||
) |
Definition at line 105 of file RawEventFileWriterForBU.cc.
References adlera_, adlerb_, cms::cuda::assert(), closefd(), destinationDir_, Exception, fileName_, finishFileWrite(), frdFileVersion_, eostools::ls(), Skims_PA_cff::name, outfd_, perFileEventCount_, perFileSize_, jsoncollector::IntJ::value(), writeJsds(), and writtenJSDs_.
void RawEventFileWriterForBU::makeRunPrefix | ( | std::string const & | destinationDir | ) |
Definition at line 297 of file RawEventFileWriterForBU.cc.
References writedatasetfile::run, run_, runPrefix_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 35 of file RawEventFileWriterForBU.h.
|
inline |
Definition at line 31 of file RawEventFileWriterForBU.h.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
void RawEventFileWriterForBU::stop | ( | ) |
Definition at line 282 of file RawEventFileWriterForBU.cc.
References destinationDir_, endOfLS(), lumiClosed_, lumiOpen_, makeRunPrefix(), jsoncollector::FastMonitor::outputFullJSON(), castor_dqm_sourceclient_file_cfg::path, run_, runMon_, runPrefix_, jsoncollector::FastMonitor::snap(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 174 of file RawEventFileWriterForBU.cc.
References Skims_PA_cff::content, destinationDir_, eolJsonDef_, eorJsonDef_, fileMon_, lumiMon_, eostools::mkdir(), rawJsonDef_, runMon_, cond::serialize(), jsoncollector::FastMonitor::setDefPath(), contentValuesCheck::ss, hgcalPlots::stat, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initialize().
|
private |
Definition at line 86 of file RawEventFileWriterForBU.h.
Referenced by adler32(), and initialize().
|
private |
Definition at line 87 of file RawEventFileWriterForBU.h.
Referenced by adler32(), and initialize().
|
private |
Definition at line 81 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), finishFileWrite(), initialize(), stop(), and writeJsds().
|
private |
Definition at line 75 of file RawEventFileWriterForBU.h.
Referenced by RawEventFileWriterForBU(), and writeJsds().
|
private |
Definition at line 76 of file RawEventFileWriterForBU.h.
Referenced by RawEventFileWriterForBU(), and writeJsds().
|
private |
Definition at line 70 of file RawEventFileWriterForBU.h.
Referenced by finishFileWrite(), RawEventFileWriterForBU(), writeJsds(), and ~RawEventFileWriterForBU().
|
private |
Definition at line 80 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent(), finishFileWrite(), and initialize().
|
private |
Definition at line 84 of file RawEventFileWriterForBU.h.
Referenced by finishFileWrite(), and initialize().
|
private |
Definition at line 90 of file RawEventFileWriterForBU.h.
|
private |
Definition at line 71 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), RawEventFileWriterForBU(), writeJsds(), and ~RawEventFileWriterForBU().
|
private |
Definition at line 89 of file RawEventFileWriterForBU.h.
Referenced by finishFileWrite(), and stop().
|
private |
Definition at line 83 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent().
|
private |
Definition at line 79 of file RawEventFileWriterForBU.h.
|
private |
Definition at line 51 of file RawEventFileWriterForBU.h.
Referenced by closefd(), doOutputEvent(), endOfLS(), finishFileWrite(), and initialize().
|
private |
Definition at line 67 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent(), finishFileWrite(), initialize(), and RawEventFileWriterForBU().
|
private |
Definition at line 68 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent(), finishFileWrite(), initialize(), and RawEventFileWriterForBU().
|
private |
Definition at line 61 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().
|
private |
Definition at line 62 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().
|
private |
Definition at line 64 of file RawEventFileWriterForBU.h.
Referenced by RawEventFileWriterForBU().
|
private |
Definition at line 65 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().
|
private |
Definition at line 63 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), finishFileWrite(), and RawEventFileWriterForBU().
|
private |
Definition at line 56 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), and RawEventFileWriterForBU().
|
private |
Definition at line 57 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), and RawEventFileWriterForBU().
|
private |
Definition at line 59 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), and RawEventFileWriterForBU().
|
private |
Definition at line 58 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), and RawEventFileWriterForBU().
|
private |
Definition at line 74 of file RawEventFileWriterForBU.h.
Referenced by RawEventFileWriterForBU(), and writeJsds().
|
private |
Definition at line 53 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), makeRunPrefix(), and stop().
|
private |
Definition at line 72 of file RawEventFileWriterForBU.h.
Referenced by RawEventFileWriterForBU(), stop(), writeJsds(), and ~RawEventFileWriterForBU().
|
private |
Definition at line 54 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), makeRunPrefix(), and stop().
|
private |
Definition at line 77 of file RawEventFileWriterForBU.h.
Referenced by initialize().