Belle II Software development
VXDTrackCandidatesQualityIndicatorCutterModule.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 <tracking/spacePointCreation/SpacePointTrackCand.h>
11#include <framework/datastore/StoreArray.h>
12#include <framework/core/Module.h>
13#include <framework/datastore/SelectSubset.h>
14
15
16
17namespace Belle2 {
32 public:
35
37 void initialize() override final;
38
40 void event() override final;
41
42 protected:
43
46
48 void selectSubset();
49
50 // parameters
51
54
57
62
65
66
67 // member variables
68
71
74
77 };
79}
Base class for Modules.
Definition: Module.h:72
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
Module that selects a subset with a fixed minimum qualityIndicator out of all SpacePointTrackCandidat...
std::string m_newNameSpacePointTrackCands
Name of optional output StoreArray containing SpacePointTrackCands.
StoreArray< SpacePointTrackCand > m_newSpacePointTrackCands
StoreArray for optional output SpacePointTrackCands.
SelectSubset< SpacePointTrackCand > m_goodCandidates
SubsetSelector operating on a custom selection criteria.
void selectSubset()
Copy or delete candidates to achieve a subset creation.
bool m_subsetCreation
If True copy selected SpacePointTrackCands to new StoreArray, If False deactivate remaining SpacePoin...
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
StoreArray for input SpacePointTrackCands.
void deactivateCandidates()
Don't copy/delete candidates but rather deactivate them by setting a SpacePointTrackCandidate flag.
std::string m_nameSpacePointTrackCands
Name of input StoreArray containing SpacePointTrackCands.
Abstract base class for different kinds of events.