Belle II Software  release-08-01-10
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 
15 namespace Belle2 {
30  public:
33 
35  void initialize() override final;
36 
38  void event() override final;
39 
40  protected:
41 
43  void addSubCandidates(int iCand);
44 
46  std::string m_nameSpacePointTrackCands = std::string("");
47 
49 
51 
54 
57  };
59 }
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
Abstract base class for different kinds of events.
small class to take simple vectors of SpacePoints and convert them to real SpacePointTrackCands