Belle II Software  release-05-02-19
PruneRecoHitsModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Thomas Hauth, Sasha Glazov *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <framework/core/Module.h>
13 #include <framework/datastore/SelectSubset.h>
14 #include <tracking/dataobjects/RecoHitInformation.h>
15 
20 namespace Belle2 {
25 
29  class PruneRecoHitsModule : public Module {
30 
31  public:
34 
35  // Declare required StoreArray
36  void initialize() override;
37 
39  void event() override;
40 
41  private:
42 
45 
46  }; // end class
48 } // end namespace Belle2
49 
Belle2::SelectSubset
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Definition: SelectSubset.h:203
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PruneRecoHitsModule::initialize
void initialize() override
Initialize the Module.
Definition: PruneRecoHitsModule.cc:26
Belle2::PruneRecoHitsModule::event
void event() override
Event processing, prunes the RecoTracks contained in each event.
Definition: PruneRecoHitsModule.cc:34
Belle2::PruneRecoHitsModule::PruneRecoHitsModule
PruneRecoHitsModule()
Constructor of the module. Setting up parameters and description.
Definition: PruneRecoHitsModule.cc:18
Belle2::PruneRecoHitsModule::m_subsetOfUnprunedRecoHitInformation
SelectSubset< RecoHitInformation > m_subsetOfUnprunedRecoHitInformation
We use SelectSubset here to delete all pruned RecoHitInformation.
Definition: PruneRecoHitsModule.h:52