Belle II Software development
AddVXDTrackCandidateSubSetsModule.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 <tracking/trackFindingVXD/tcTools/SpacePointTrackCandCreator.h>
12#include <framework/datastore/StoreArray.h>
13#include <framework/core/Module.h>
14
15namespace Belle2 {
27 public:
30
32 void initialize() override final;
33
35 void event() override final;
36
37 protected:
38
40 void addSubCandidates(int iCand);
41
43 std::string m_nameSpacePointTrackCands = std::string("");
44
46
48
51
54 };
56}
Module that creates additional candidates that each miss a different SpacePoint.
SpacePointTrackCandCreator< StoreArray< Belle2::SpacePointTrackCand > > m_sptcCreator
member variables
void initialize() override final
Requires SpacePointTrackCands.
int m_minOriginalSpacePoints
Minimal number of SPs of the original SPTC.
void addSubCandidates(int iCand)
Actually creates the new SPTCs by removing single SPs from the SPTC with the provided StoreArray inde...
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
StoreArray for input SpacePointTrackCands.
std::string m_nameSpacePointTrackCands
Name of input StoreArray containing SpacePointTrackCands.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.
small class to take simple vectors of SpacePoints and convert them to real SpacePointTrackCands