Belle II Software  release-05-02-19
AddVXDTrackCandidateSubSetsModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jonas Wagner *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/spacePointCreation/SpacePointTrackCand.h>
13 #include <tracking/trackFindingVXD/tcTools/SpacePointTrackCandCreator.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/core/Module.h>
16 
17 namespace Belle2 {
31  class AddVXDTrackCandidateSubSetsModule : public Module {
32  public:
35 
37  void initialize() override final;
38 
40  void event() override final;
41 
42  protected:
43 
45  void addSubCandidates(int iCand);
46 
48  std::string m_nameSpacePointTrackCands = std::string("");
49 
51 
52  SpacePointTrackCandCreator<StoreArray<Belle2::SpacePointTrackCand>> m_sptcCreator;
53 
55  StoreArray<SpacePointTrackCand> m_spacePointTrackCands;
56 
59  };
61 }
Belle2::AddVXDTrackCandidateSubSetsModule::m_minOriginalSpacePoints
int m_minOriginalSpacePoints
Minimal number of SPs of the original SPTC.
Definition: AddVXDTrackCandidateSubSetsModule.h:66
Belle2::AddVXDTrackCandidateSubSetsModule::m_sptcCreator
SpacePointTrackCandCreator< StoreArray< Belle2::SpacePointTrackCand > > m_sptcCreator
member variables
Definition: AddVXDTrackCandidateSubSetsModule.h:60
Belle2::AddVXDTrackCandidateSubSetsModule::m_spacePointTrackCands
StoreArray< SpacePointTrackCand > m_spacePointTrackCands
StoreArray for input SpacePointTrackCands.
Definition: AddVXDTrackCandidateSubSetsModule.h:63
Belle2::AddVXDTrackCandidateSubSetsModule::m_nameSpacePointTrackCands
std::string m_nameSpacePointTrackCands
Name of input StoreArray containing SpacePointTrackCands.
Definition: AddVXDTrackCandidateSubSetsModule.h:56
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::AddVXDTrackCandidateSubSetsModule::event
void event() override final
event loop.
Definition: AddVXDTrackCandidateSubSetsModule.cc:36
Belle2::AddVXDTrackCandidateSubSetsModule::AddVXDTrackCandidateSubSetsModule
AddVXDTrackCandidateSubSetsModule()
Constructor of the module.
Definition: AddVXDTrackCandidateSubSetsModule.cc:19
Belle2::AddVXDTrackCandidateSubSetsModule::addSubCandidates
void addSubCandidates(int iCand)
Actually creates the new SPTCs by removing single SPs from the SPTC with the provided StoreArray inde...
Definition: AddVXDTrackCandidateSubSetsModule.cc:51
Belle2::AddVXDTrackCandidateSubSetsModule::initialize
void initialize() override final
Requires SpacePointTrackCands.
Definition: AddVXDTrackCandidateSubSetsModule.cc:31