![]() |
Belle II Software release-09-00-03
|
Helper class for data store serialization. More...
#include <HLTStreamHelper.h>

Public Member Functions | |
| void | initialize () |
| Initialize this class. Call this e.g. in the first event. | |
| std::unique_ptr< ZMQNoIdMessage > | stream (bool addPersistentDurability, bool streamTransientObjects) |
| Stream the data store into an event message. Add ROI as additional message (if valid). | |
| std::unique_ptr< ZMQNoIdMessage > | streamRaw () |
| Stream the data store into an event message and add SendHeader and SendTrailer around the message. Add ROI as additional message (if valid). | |
| std::unique_ptr< ZMQNoIdMessage > | streamHistograms (bool compressed=true) |
| Stream all objects derived from TH1 into a message. Only the last subfolder is streamed by prefixing the histogram names with "<subfolder>/". | |
| void | read (std::unique_ptr< ZMQNoIdMessage > message) |
| Read in a ZMQ message and rebuilt the data store from it. | |
| void | registerStoreObjects (bool addExpressRecoObjects) |
| Register all needed store objects, either only the raw data, ROIs and event meta data (for HLT) or additional objects (for express reco). | |
Private Member Functions | |
| zmq::message_t | getROIMessageIfViable () const |
| If the ROI payload data storobject is filled, write out the roi message (otherwise an empty message) | |
Private Attributes | |
| StreamHelper | m_streamHelper |
| We use the framework stream helper. | |
| StoreObjPtr< EventMetaData > | m_eventMetaData |
| Store Objects for HLT use. | |
| StoreArray< RawSVD > | m_rawSVDs |
| Store Objects for HLT use. | |
| StoreArray< RawCDC > | m_rawCDCs |
| Store Objects for HLT use. | |
| StoreArray< RawTOP > | m_rawTOPs |
| Store Objects for HLT use. | |
| StoreArray< RawARICH > | m_rawARICHs |
| Store Objects for HLT use. | |
| StoreArray< RawECL > | m_rawECLs |
| Store Objects for HLT use. | |
| StoreArray< RawKLM > | m_rawKLMs |
| Store Objects for HLT use. | |
| StoreArray< RawTRG > | m_rawTRGs |
| Store Objects for HLT use. | |
| StoreArray< RawFTSW > | m_rawFTSWs |
| Store Objects for HLT use. | |
| StoreObjPtr< ROIpayload > | m_roiPayload |
| Store Objects for HLT use. | |
| StoreObjPtr< RandomGenerator > | m_randomGenerator |
| Additional Store Objects for ExpressReco use. | |
| StoreObjPtr< SoftwareTriggerResult > | m_softwareTriggerResult |
| Additional Store Objects for ExpressReco use. | |
| StoreObjPtr< SoftwareTrigger::SoftwareTriggerVariables > | m_softwareTriggerVariables |
| Additional Store Objects for ExpressReco use. | |
| StoreObjPtr< TRGSummary > | m_triggerSummary |
| Additional Store Objects for ExpressReco use. | |
| StoreArray< RawPXD > | m_rawPXDs |
| Additional Store Objects for ExpressReco use. | |
| StoreArray< ROIid > | m_rois |
| Additional Store Objects for ExpressReco use. | |
| std::vector< char > | m_outputBuffer |
| Temporary buffer for storing the compressed result. | |
| unsigned int | m_maximalCompressedSize = 100'000'000 |
| Maximal size of the compression buffer. | |
Helper class for data store serialization.
Definition at line 42 of file HLTStreamHelper.h.
|
private |
If the ROI payload data storobject is filled, write out the roi message (otherwise an empty message)
Definition at line 137 of file HLTStreamHelper.cc.
| void initialize | ( | ) |
Initialize this class. Call this e.g. in the first event.
Definition at line 58 of file HLTStreamHelper.cc.
| void read | ( | std::unique_ptr< ZMQNoIdMessage > | message | ) |
Read in a ZMQ message and rebuilt the data store from it.
Definition at line 188 of file HLTStreamHelper.cc.
| void registerStoreObjects | ( | bool | addExpressRecoObjects | ) |
Register all needed store objects, either only the raw data, ROIs and event meta data (for HLT) or additional objects (for express reco).
Definition at line 63 of file HLTStreamHelper.cc.
| std::unique_ptr< ZMQNoIdMessage > stream | ( | bool | addPersistentDurability, |
| bool | streamTransientObjects | ||
| ) |
Stream the data store into an event message. Add ROI as additional message (if valid).
Definition at line 128 of file HLTStreamHelper.cc.
| std::unique_ptr< ZMQNoIdMessage > streamHistograms | ( | bool | compressed = true | ) |
Stream all objects derived from TH1 into a message. Only the last subfolder is streamed by prefixing the histogram names with "<subfolder>/".
Definition at line 153 of file HLTStreamHelper.cc.
| std::unique_ptr< ZMQNoIdMessage > streamRaw | ( | ) |
Stream the data store into an event message and add SendHeader and SendTrailer around the message. Add ROI as additional message (if valid).
Definition at line 86 of file HLTStreamHelper.cc.
|
private |
Store Objects for HLT use.
Definition at line 67 of file HLTStreamHelper.h.
|
private |
Maximal size of the compression buffer.
Definition at line 103 of file HLTStreamHelper.h.
|
private |
Temporary buffer for storing the compressed result.
Definition at line 101 of file HLTStreamHelper.h.
|
private |
Additional Store Objects for ExpressReco use.
Definition at line 88 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 75 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 71 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 77 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 83 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 79 of file HLTStreamHelper.h.
|
private |
Additional Store Objects for ExpressReco use.
Definition at line 96 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 69 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 73 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 81 of file HLTStreamHelper.h.
|
private |
Store Objects for HLT use.
Definition at line 85 of file HLTStreamHelper.h.
|
private |
Additional Store Objects for ExpressReco use.
Definition at line 98 of file HLTStreamHelper.h.
|
private |
Additional Store Objects for ExpressReco use.
Definition at line 90 of file HLTStreamHelper.h.
|
private |
Additional Store Objects for ExpressReco use.
Definition at line 92 of file HLTStreamHelper.h.
|
private |
We use the framework stream helper.
Definition at line 64 of file HLTStreamHelper.h.
|
private |
Additional Store Objects for ExpressReco use.
Definition at line 94 of file HLTStreamHelper.h.