Belle II Software  release-08-01-10
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 #include <tracking/dataobjects/ROIid.h>
15 
16 namespace Belle2 {
30  class PXDRawHitFilterModule : public Module {
31 
32  public:
33 
38 
39  private:
40 
42  void initialize() override final;
43 
44 
46  void event() override final;
47 
55  std::string m_PXDRawHitsName;
58  std::string m_ROIidsName;
60  };
62 }
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.