Belle II Software  release-05-02-19
ROIPayloadAssemblerModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2011 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Giulia Casarosa, Eugenio Paoloni, Bjoern Spruck *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
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>
19 #include <string>
20 
21 namespace Belle2 {
36  class ROIPayloadAssemblerModule : public Module {
37 
38  public:
39 
44 
45  private:
46 
50  void initialize() override final;
51 
53  void event() override final;
54 
59  std::string m_ROIListName;
60  std::string m_ROIpayloadName;
61  unsigned int mSendAllDS;
62  unsigned int mSendROIsDS;
63  unsigned int mCutNrROIs;
64  bool mAcceptAll;
67  };
69 }
Belle2::ROIPayloadAssemblerModule::mSendROIsDS
unsigned int mSendROIsDS
Send ROIs downscaler; Workaround for missing ONSEN functionality.
Definition: ROIPayloadAssemblerModule.h:70
Belle2::ROIPayloadAssemblerModule::mNoRejectFlag
bool mNoRejectFlag
Never reject, just send no ROI.
Definition: ROIPayloadAssemblerModule.h:73
Belle2::ROIPayloadAssemblerModule::mAcceptAll
bool mAcceptAll
Accept all event, dont use HLT decision.
Definition: ROIPayloadAssemblerModule.h:72
Belle2::ROIPayloadAssemblerModule::m_ROIList
StoreArray< ROIid > m_ROIList
the ROIids dataobjects collection
Definition: ROIPayloadAssemblerModule.h:63
Belle2::ROIPayloadAssemblerModule::mCutNrROIs
unsigned int mCutNrROIs
If Nr of ROIs per DHHID reach this, send out only one full sensor ROI.
Definition: ROIPayloadAssemblerModule.h:71
Belle2::ROIPayloadAssemblerModule::ROIPayloadAssemblerModule
ROIPayloadAssemblerModule()
Constructor of the module.
Definition: ROIPayloadAssemblerModule.cc:32
Belle2::ROIpayload
ROIpayload @TODO: Better explanation, Is there a reason to inherit from TObject and not Relationsobje...
Definition: ROIpayload.h:45
Belle2::ROIPayloadAssemblerModule::initialize
void initialize() override final
Initializes the Module.
Definition: ROIPayloadAssemblerModule.cc:51
Belle2::ROIPayloadAssemblerModule::m_ROIpayloadName
std::string m_ROIpayloadName
name of the payload to be sent to ONSEN
Definition: ROIPayloadAssemblerModule.h:68
Belle2::ROIid
ROIid stores the U and V ids and the sensor id of the Region Of Interest.
Definition: ROIid.h:35
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::ROIPayloadAssemblerModule::mSendAllDS
unsigned int mSendAllDS
Send all Data (no selection) downscaler; Workaround for missing ONSEN functionality.
Definition: ROIPayloadAssemblerModule.h:69
Belle2::ROIPayloadAssemblerModule::event
void event() override final
This method is the core of the module.
Definition: ROIPayloadAssemblerModule.cc:68
Belle2::ROIPayloadAssemblerModule::m_ROIListName
std::string m_ROIListName
name of the ROI list
Definition: ROIPayloadAssemblerModule.h:67
Belle2::ROIPayloadAssemblerModule::m_roiPayloads
StoreObjPtr< ROIpayload > m_roiPayloads
pointer to the ROIpayload dataobject
Definition: ROIPayloadAssemblerModule.h:65
Belle2::ROIPayloadAssemblerModule::m_eventMetaData
StoreObjPtr< EventMetaData > m_eventMetaData
pointer to the dataobject with event number etc
Definition: ROIPayloadAssemblerModule.h:64
Belle2::EventMetaData
Store event, run, and experiment numbers.
Definition: EventMetaData.h:43
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33