Belle II Software  release-05-02-19
SVDShaperDigitFilterModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2013 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Giulia Casarosa *
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/SelectSubset.h>
16 #include <tracking/dataobjects/ROIid.h>
17 #include <svd/dataobjects/SVDShaperDigit.h>
18 
19 namespace Belle2 {
33  class SVDShaperDigitFilterModule : public Module {
34 
35  public:
36 
41 
44 
46  void initialize() override;
47 
48 
50  void event() override;
51 
52 
53  private:
54 
58  bool m_CreateOutside;
59  std::string m_SVDShaperDigitsName;
60  std::string m_SVDShaperDigitsInsideROIName;
62  std::string m_ROIidsName;
67  };
69 }
70 
Belle2::SVDShaperDigitFilterModule::m_ROIs
StoreArray< ROIid > m_ROIs
rois store array
Definition: SVDShaperDigitFilterModule.h:63
Belle2::SVDShaperDigitFilterModule::m_SVDShaperDigitsInsideROIName
std::string m_SVDShaperDigitsInsideROIName
The name of the StoreArray of Filtered SVDShaperDigits.
Definition: SVDShaperDigitFilterModule.h:68
Belle2::SelectSubset
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Definition: SelectSubset.h:203
Belle2::SVDShaperDigitFilterModule::m_CreateOutside
bool m_CreateOutside
if set, create list of outside pixels, too
Definition: SVDShaperDigitFilterModule.h:66
Belle2::SVDShaperDigitFilterModule::m_SVDShaperDigitsName
std::string m_SVDShaperDigitsName
The name of the StoreArray of SVDShaperDigits to be filtered.
Definition: SVDShaperDigitFilterModule.h:67
Belle2::SVDShaperDigitFilterModule::initialize
void initialize() override
register new SVDSShaperDigits store arrays (inside/ouside ROIs)
Definition: SVDShaperDigitFilterModule.cc:47
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SVDShaperDigitFilterModule::m_selectorIN
SelectSubset< SVDShaperDigit > m_selectorIN
selector of the subset of SVDShaperDigits contained in the ROIs
Definition: SVDShaperDigitFilterModule.h:72
Belle2::SVDShaperDigitFilterModule::m_selectorOUT
SelectSubset< SVDShaperDigit > m_selectorOUT
selector of the subset of SVDShaperDigits NOT contained in the ROIs
Definition: SVDShaperDigitFilterModule.h:73
Belle2::SVDShaperDigitFilterModule::event
void event() override
Filtering of digits inside/outside ROIs.
Definition: SVDShaperDigitFilterModule.cc:65
Belle2::SVDShaperDigitFilterModule::m_SVDShaperDigits
StoreArray< SVDShaperDigit > m_SVDShaperDigits
The SVDShaperDigits to be filtered.
Definition: SVDShaperDigitFilterModule.h:64
Belle2::SVDShaperDigitFilterModule::~SVDShaperDigitFilterModule
~SVDShaperDigitFilterModule()
Destructor.
Definition: SVDShaperDigitFilterModule.cc:43
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::SVDShaperDigitFilterModule::SVDShaperDigitFilterModule
SVDShaperDigitFilterModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: SVDShaperDigitFilterModule.cc:26
Belle2::SVDShaperDigitFilterModule::m_SVDShaperDigitsOutsideROIName
std::string m_SVDShaperDigitsOutsideROIName
The name of the StoreArray of Filtered SVDShaperDigits.
Definition: SVDShaperDigitFilterModule.h:69
Belle2::SVDShaperDigitFilterModule::m_ROIidsName
std::string m_ROIidsName
The name of the StoreArray of ROIs.
Definition: SVDShaperDigitFilterModule.h:70