Belle II Software  release-05-02-19
SVDStripMaskingModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - 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 
12 #pragma once
13 
14 
15 #include <framework/core/Module.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <svd/dataobjects/SVDShaperDigit.h>
18 #include <svd/calibration/SVDHotStripsCalibrations.h>
19 #include <framework/datastore/SelectSubset.h>
20 #include <string>
21 
22 namespace Belle2 {
34  class SVDStripMaskingModule : public Module {
35  public:
36 
39 
40  virtual ~SVDStripMaskingModule();
41 
43  virtual void initialize() override;
44 
46  virtual void event() override;
47 
48 
49  bool m_createOutside;
51  private:
52 
53  SVDHotStripsCalibrations m_HotStripsCalib;
56  StoreArray<SVDShaperDigit> m_storeShaper;
57 
61  protected:
62 
65  std::string m_SVDShaperDigitsMasked;
68  };
70 }
71 
Belle2::SVDStripMaskingModule::m_selectorOUT
SelectSubset< SVDShaperDigit > m_selectorOUT
selector of the subset of the hot SVDShaperDigit
Definition: SVDStripMaskingModule.h:67
Belle2::SVDStripMaskingModule::initialize
virtual void initialize() override
Initialize the SVDStripMasking.
Definition: SVDStripMaskingModule.cc:47
Belle2::SelectSubset
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Definition: SelectSubset.h:203
Belle2::SVDStripMaskingModule::m_storeShaper
StoreArray< SVDShaperDigit > m_storeShaper
store arrays
Definition: SVDStripMaskingModule.h:64
Belle2::SVDStripMaskingModule::event
virtual void event() override
This method is the core of the SVDStripMasking.
Definition: SVDStripMaskingModule.cc:62
Belle2::SVDStripMaskingModule::m_selectorIN
SelectSubset< SVDShaperDigit > m_selectorIN
selector of the subset of the good SVDShaperDigit
Definition: SVDStripMaskingModule.h:66
Belle2::SVDStripMaskingModule::m_storeShaperDigitsName
std::string m_storeShaperDigitsName
Name of the collections to use for the SVDShaperDigits.
Definition: SVDStripMaskingModule.h:72
Belle2::SVDStripMaskingModule::m_SVDShaperDigitsUnmasked
std::string m_SVDShaperDigitsUnmasked
unmasked (good) SVDShaperDigits name
Definition: SVDStripMaskingModule.h:74
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SVDStripMaskingModule::m_SVDShaperDigitsMasked
std::string m_SVDShaperDigitsMasked
masked SVDShaperDigits name
Definition: SVDStripMaskingModule.h:73
Belle2::SVDStripMaskingModule::m_createOutside
bool m_createOutside
if true a StoreArray of Hot Strips is created
Definition: SVDStripMaskingModule.h:57
Belle2::SVDStripMaskingModule::m_HotStripsCalib
SVDHotStripsCalibrations m_HotStripsCalib
SVDHotStrips calibration db object.
Definition: SVDStripMaskingModule.h:61
Belle2::SVDStripMaskingModule::SVDStripMaskingModule
SVDStripMaskingModule()
Constructor defining the parameters.
Definition: SVDStripMaskingModule.cc:25