#include <RawEventFileWriterForBU.h>
Public Member Functions | |
uint32 | adler32 () const |
void | doFlushFile () |
void | doOutputEvent (FRDEventMsgView const &msg) |
void | doOutputEvent (boost::shared_array< unsigned char > &msg) |
void | doOutputEventFragment (unsigned char *dataPtr, unsigned long dataSize) |
void | endOfLS (int ls) |
void | handler (int s) |
void | initialize (std::string const &destinationDir, std::string const &name, int ls) |
RawEventFileWriterForBU (edm::ParameterSet const &ps) | |
RawEventFileWriterForBU (std::string const &fileName) | |
bool | sharedMode () const |
void | start () |
void | stop () |
~RawEventFileWriterForBU () | |
Static Public Member Functions | |
static void | staticHandler (int s) |
Private Attributes | |
uint32 | adlera_ |
uint32 | adlerb_ |
std::string | destinationDir_ |
std::string | fileName_ |
string | jsonDefLocation_ |
DataPointMonitor * | lumiMon_ |
int | microSleep_ |
std::auto_ptr< std::ofstream > | ost_ |
int | outfd_ |
IntJ | perFileEventCount_ |
DataPointMonitor * | perFileMon_ |
IntJ | perLumiEventCount_ |
Static Private Attributes | |
static RawEventFileWriterForBU * | instance = 0 |
Definition at line 23 of file RawEventFileWriterForBU.h.
|
explicit |
Definition at line 36 of file RawEventFileWriterForBU.cc.
References instance, jsonDefLocation_, lumiMon_, NULL, perFileEventCount_, perFileMon_, perLumiEventCount_, jsoncollector::JsonMonitorable::setName(), staticHandler(), and jsoncollector::IntJ::value().
|
explicit |
Definition at line 73 of file RawEventFileWriterForBU.cc.
RawEventFileWriterForBU::~RawEventFileWriterForBU | ( | ) |
Definition at line 79 of file RawEventFileWriterForBU.cc.
References lumiMon_, and perFileMon_.
|
inline |
Definition at line 36 of file RawEventFileWriterForBU.h.
void RawEventFileWriterForBU::doFlushFile | ( | ) |
Definition at line 117 of file RawEventFileWriterForBU.cc.
References edm::hlt::Exception, fileName_, and ost_.
void RawEventFileWriterForBU::doOutputEvent | ( | FRDEventMsgView const & | msg | ) |
Definition at line 88 of file RawEventFileWriterForBU.cc.
References edm::hlt::Exception, fileName_, microSleep_, outfd_, perFileEventCount_, perLumiEventCount_, FRDEventMsgView::size(), FRDEventMsgView::startAddress(), jsoncollector::IntJ::value(), and TablePrint::write.
|
inline |
Definition at line 32 of file RawEventFileWriterForBU.h.
void RawEventFileWriterForBU::doOutputEventFragment | ( | unsigned char * | dataPtr, |
unsigned long | dataSize | ||
) |
Definition at line 128 of file RawEventFileWriterForBU.cc.
References cms::Adler32(), adlera_, adlerb_, edm::hlt::Exception, fileName_, and ost_.
void RawEventFileWriterForBU::endOfLS | ( | int | ls | ) |
Definition at line 202 of file RawEventFileWriterForBU.cc.
References destinationDir_, reco::dp, lumiMon_, outfd_, convertSQLitetoXML_cfg::output, getHLTPrescaleColumns::path, perLumiEventCount_, cond::serialize(), and jsoncollector::DataPointMonitor::snap().
void RawEventFileWriterForBU::handler | ( | int | s | ) |
Definition at line 19 of file RawEventFileWriterForBU.cc.
References destinationDir_, convertSQLitetoXML_cfg::output, getHLTPrescaleColumns::path, DTTTrigCorrFirst::run, and AlCaHLTBitMon_QueryRunRegistry::string.
void RawEventFileWriterForBU::initialize | ( | std::string const & | destinationDir, |
std::string const & | name, | ||
int | ls | ||
) |
Definition at line 150 of file RawEventFileWriterForBU.cc.
References adlera_, adlerb_, destinationDir_, reco::dp, edm::hlt::Exception, fileName_, mergeVDriftHistosByStation::name, ost_, dbtoconf::out, outfd_, convertSQLitetoXML_cfg::output, getHLTPrescaleColumns::path, perFileEventCount_, perFileMon_, cond::serialize(), jsoncollector::DataPointMonitor::snap(), AlCaHLTBitMon_QueryRunRegistry::string, and jsoncollector::IntJ::value().
|
inline |
Definition at line 42 of file RawEventFileWriterForBU.h.
|
inline |
Definition at line 38 of file RawEventFileWriterForBU.h.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inlinestatic |
Definition at line 45 of file RawEventFileWriterForBU.h.
References instance.
Referenced by RawEventFileWriterForBU().
|
inline |
Definition at line 39 of file RawEventFileWriterForBU.h.
|
private |
Definition at line 62 of file RawEventFileWriterForBU.h.
Referenced by doOutputEventFragment(), and initialize().
|
private |
Definition at line 63 of file RawEventFileWriterForBU.h.
Referenced by doOutputEventFragment(), and initialize().
|
private |
Definition at line 57 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), handler(), and initialize().
|
private |
Definition at line 56 of file RawEventFileWriterForBU.h.
Referenced by doFlushFile(), doOutputEvent(), doOutputEventFragment(), and initialize().
|
staticprivate |
Definition at line 65 of file RawEventFileWriterForBU.h.
Referenced by RawEventFileWriterForBU().
|
private |
Definition at line 59 of file RawEventFileWriterForBU.h.
Referenced by RawEventFileWriterForBU().
|
private |
Definition at line 50 of file RawEventFileWriterForBU.h.
Referenced by endOfLS(), RawEventFileWriterForBU(), and ~RawEventFileWriterForBU().
|
private |
Definition at line 60 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent().
|
private |
Definition at line 54 of file RawEventFileWriterForBU.h.
Referenced by doFlushFile(), doOutputEventFragment(), and initialize().
|
private |
Definition at line 55 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent(), endOfLS(), and initialize().
|
private |
Definition at line 51 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent(), initialize(), and RawEventFileWriterForBU().
|
private |
Definition at line 52 of file RawEventFileWriterForBU.h.
Referenced by initialize(), RawEventFileWriterForBU(), and ~RawEventFileWriterForBU().
|
private |
Definition at line 49 of file RawEventFileWriterForBU.h.
Referenced by doOutputEvent(), endOfLS(), and RawEventFileWriterForBU().