Belle II Software  release-08-01-10
SVDStripMaskingModule.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 
10 #pragma once
11 
12 
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <svd/dataobjects/SVDShaperDigit.h>
16 #include <svd/calibration/SVDHotStripsCalibrations.h>
17 #include <framework/datastore/SelectSubset.h>
18 #include <string>
19 
20 namespace Belle2 {
32  class SVDStripMaskingModule : public Module {
33  public:
34 
37 
38  virtual ~SVDStripMaskingModule();
39 
41  virtual void initialize() override;
42 
44  virtual void event() override;
45 
46 
49  private:
50 
55 
59  protected:
60 
66  };
68 }
69 
Base class for Modules.
Definition: Module.h:72
This class defines the wrapper to retrieve the the list of the hot strips flgged offline.
This module removes the strips to be masked read form the SVDHotStripsCalibration.
std::string m_SVDShaperDigitsMasked
masked SVDShaperDigits name
SelectSubset< SVDShaperDigit > m_selectorIN
selector of the subset of the good SVDShaperDigit
virtual void initialize() override
Initialize the SVDStripMasking.
std::string m_storeShaperDigitsName
Name of the collections to use for the SVDShaperDigits.
virtual void event() override
This method is the core of the SVDStripMasking.
SelectSubset< SVDShaperDigit > m_selectorOUT
selector of the subset of the hot SVDShaperDigit
SVDHotStripsCalibrations m_HotStripsCalib
SVDHotStrips calibration db object.
std::string m_SVDShaperDigitsUnmasked
unmasked (good) SVDShaperDigits name
bool m_createOutside
if true a StoreArray of Hot Strips is created
StoreArray< SVDShaperDigit > m_storeShaper
store arrays
SVDStripMaskingModule()
Constructor defining the parameters.
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.