Belle II Software development
PruneRecoTracksModule.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#pragma once
9
10#include <framework/core/Module.h>
11#include <framework/datastore/SelectSubset.h>
12#include <tracking/dataobjects/RecoHitInformation.h>
13#include <framework/datastore/StoreArray.h>
14#include <tracking/dataobjects/RecoTrack.h>
15
22
23namespace Belle2 {
30
31 public:
34
36 void initialize() override;
37
39 void event() override;
40
41 private:
43 std::string m_storeArrayName = "RecoTracks";
44
47
49 bool m_do_remove_hits{false};
50
53
54 }; // end class
55
56} // end namespace Belle2
57
Module()
Constructor.
Definition Module.cc:30
PruneRecoTracksModule()
Constructor of the module. Setting up parameters and description.
void initialize() override
Declare required StoreArray.
void event() override
Event processing, prunes the RecoTracks contained in each event.
bool m_do_remove_hits
Remove pruned reco hits or leave this for PruneRecoHitsModule.
std::string m_storeArrayName
Name of the StoreArray to prune.
StoreArray< RecoHitInformation > m_RecoHitInformations
RecoHitInformations StoreArray.
StoreArray< RecoTrack > m_RecoTracks
RecoTracks StoreArray.
SelectSubset< RecoHitInformation > m_subsetOfUnprunedRecoHitInformation
We use SelectSubset here to delete all pruned RecoHitInformation.
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Abstract base class for different kinds of events.