 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 #include <framework/dataobjects/EventMetaData.h>
17 #include <tracking/dataobjects/ROIid.h>
18 #include <tracking/dataobjects/ROIpayload.h>
36 class ROIPayloadAssemblerModule :
public Module {
53 void event() override final;
unsigned int mSendROIsDS
Send ROIs downscaler; Workaround for missing ONSEN functionality.
bool mNoRejectFlag
Never reject, just send no ROI.
bool mAcceptAll
Accept all event, dont use HLT decision.
StoreArray< ROIid > m_ROIList
the ROIids dataobjects collection
unsigned int mCutNrROIs
If Nr of ROIs per DHHID reach this, send out only one full sensor ROI.
ROIPayloadAssemblerModule()
Constructor of the module.
ROIpayload @TODO: Better explanation, Is there a reason to inherit from TObject and not Relationsobje...
void initialize() override final
Initializes the Module.
std::string m_ROIpayloadName
name of the payload to be sent to ONSEN
ROIid stores the U and V ids and the sensor id of the Region Of Interest.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
unsigned int mSendAllDS
Send all Data (no selection) downscaler; Workaround for missing ONSEN functionality.
void event() override final
This method is the core of the module.
std::string m_ROIListName
name of the ROI list
StoreObjPtr< ROIpayload > m_roiPayloads
pointer to the ROIpayload dataobject
StoreObjPtr< EventMetaData > m_eventMetaData
pointer to the dataobject with event number etc
Accessor to arrays stored in the data store.