Belle II Software development
PXDRawHitFilterModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <framework/core/Module.h>
12#include <framework/datastore/SelectSubset.h>
13#include <pxd/dataobjects/PXDRawHit.h>
14
15namespace Belle2 {
20 class ROIid;
21
28
29 public:
30
35
36 private:
37
39 void initialize() override final;
40
41
43 void event() override final;
44
52 std::string m_PXDRawHitsName;
55 std::string m_ROIidsName;
57 };
59}
Base class for Modules.
Definition: Module.h:72
The module produce a StoreArray of PXDRawHit inside the ROIs.
std::string m_PXDRawHitsName
The name of the StoreArray of PXDRawHits to be filtered.
void initialize() override final
Initialize all necessary variables.
StoreArray< PXDRawHit > m_PXDRawHits
PXDRawHits StoreArray.
SelectSubset< PXDRawHit > m_selectorIN
selector of the subset of PXDRawHits contained in the ROIs
void event() override final
Event function.
std::string m_ROIidsName
The name of the StoreArray of ROIs.
std::string m_PXDRawHitsInsideROIName
The name of the StoreArray of Filtered PXDRawHits.
PXDRawHitFilterModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::string m_PXDRawHitsOutsideROIName
The name of the StoreArray of Filtered PXDRawHits.
bool m_CreateOutside
if set, create list of outside pixels, too
SelectSubset< PXDRawHit > m_selectorOUT
selector of the subset of PXDRawHits NOT contained in the ROIs
StoreArray< ROIid > m_ROIs
ROIs StoreArray.
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Definition: SelectSubset.h:193
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.