9#include <svd/modules/svdMetadata/SVDTrackingEventLevelMdstInfoFillerModule.h>
11#include <vxd/dataobjects/VxdID.h>
15REG_MODULE(SVDTrackingEventLevelMdstInfoFiller);
19 setDescription(
"This module adds additional global event level information about SVD track finding to the MDST object 'EventLevelTrackingInfo'");
22 addParam(
"EventLevelTrackingInfoName",
24 "Name of the EventLevelTrackingInfo that should be used (different one for ROI-finding).",
29 "Name of the SVDClusters that should be used (different one for ROI-finding).",
45 int nClustersPerLayer[4][2] = {};
47 nClustersPerLayer[((int)cluster.getSensorID().getLayerNumber()) - 3][(
int)cluster.isUCluster()]++;
51 for (
int layer = 0; layer <= 3; layer++) {
52 for (
int isU = 0; isU <= 1; isU++) {
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
std::string m_eventLevelTrackingInfoName
Name of the StoreObject to access the event level tracking information.
std::string m_svdClustersName
Name of StoreArray of SVDClusters.
void initialize() override
Declare required StoreArray.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
StoreObject to access the event level tracking information.
StoreArray< SVDCluster > m_svdClusters
StoreArray of SVDClusters.
void event() override
Event processing, create store array.
SVDTrackingEventLevelMdstInfoFillerModule()
Constructor of the module.
bool isRequired(const std::string &name="")
Ensure this array/object has been registered previously.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.