Belle II Software  release-08-01-10
RelationFromSVDTracksCreator.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/trackFindingCDC/findlets/base/Findlet.h>
11 #include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
12 
13 #include <tracking/ckf/svd/entities/CKFToSVDState.h>
14 #include <framework/datastore/StoreArray.h>
15 
16 namespace Belle2 {
21  class ModuleParamList;
22  class RecoTrack;
23 
32  class RelationFromSVDTracksCreator : public TrackFindingCDC::Findlet<CKFToSVDState, CKFToSVDState,
33  TrackFindingCDC::WeightedRelation<CKFToSVDState>> {
34  public:
38 
41 
43  void initialize() final;
44 
47 
49  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
50 
52  void apply(std::vector<CKFToSVDState>& seedStates, std::vector<CKFToSVDState>& states,
53  std::vector<TrackFindingCDC::WeightedRelation<CKFToSVDState>>& relations) final;
54 
55  private:
56  // Parameters
58  std::string m_param_vxdTracksStoreArrayName = "VXDRecoTracks";
60  std::string m_param_cdcTracksStoreArrayName = "CDCRecoTracks";
62  std::string m_param_spacePointTrackCandidateName = "SPTrackCands";
63 
64  // Object pools
67  };
69 }
Specialized CKF State for extrapolating into the SVD.
Definition: CKFToSVDState.h:27
The Module parameter list class.
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:79
Simplified relation creator only creating relations between states of CDC Reco Track seeds and states...
std::string m_param_spacePointTrackCandidateName
Store Array name of the space point track candidates coming from VXDTF2.
RelationFromSVDTracksCreator()
Construct this findlet and add the subfindlet as listener.
std::string m_param_vxdTracksStoreArrayName
Store Array name coming from VXDTF2.
void initialize() final
Require the store array.
std::string m_param_cdcTracksStoreArrayName
Store Array name coming from CDCTF.
void apply(std::vector< CKFToSVDState > &seedStates, std::vector< CKFToSVDState > &states, std::vector< TrackFindingCDC::WeightedRelation< CKFToSVDState >> &relations) final
Create relations between seeds and hits or hits and hits.
StoreArray< RecoTrack > m_vxdRecoTracks
Store Array of the VXD tracks to use.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters of the subfindlet.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Type for two related objects with a weight.
Abstract base class for different kinds of events.