Belle II Software  release-08-01-10
SVDShaperDigitFilterModule.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/StoreArray.h>
13 #include <framework/datastore/SelectSubset.h>
14 #include <tracking/dataobjects/ROIid.h>
15 #include <svd/dataobjects/SVDShaperDigit.h>
16 
17 namespace Belle2 {
32 
33  public:
34 
39 
42 
44  void initialize() override;
45 
46 
48  void event() override;
49 
50 
51  private:
52 
57  std::string m_SVDShaperDigitsName;
60  std::string m_ROIidsName;
65  };
67 }
68 
Base class for Modules.
Definition: Module.h:72
The module produce a StoreArray of SVDShaperDigit inside the ROIs.
SelectSubset< SVDShaperDigit > m_selectorIN
selector of the subset of SVDShaperDigits contained in the ROIs
void initialize() override
register new SVDSShaperDigits store arrays (inside/ouside ROIs)
void event() override
Filtering of digits inside/outside ROIs.
std::string m_SVDShaperDigitsOutsideROIName
The name of the StoreArray of Filtered SVDShaperDigits.
SelectSubset< SVDShaperDigit > m_selectorOUT
selector of the subset of SVDShaperDigits NOT contained in the ROIs
StoreArray< SVDShaperDigit > m_SVDShaperDigits
The SVDShaperDigits to be filtered.
std::string m_ROIidsName
The name of the StoreArray of ROIs.
SVDShaperDigitFilterModule()
Constructor: Sets the description, the properties and the parameters of the module.
bool m_CreateOutside
if set, create list of outside pixels, too
std::string m_SVDShaperDigitsInsideROIName
The name of the StoreArray of Filtered SVDShaperDigits.
std::string m_SVDShaperDigitsName
The name of the StoreArray of SVDShaperDigits to be filtered.
StoreArray< ROIid > m_ROIs
rois store array
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.