Belle II Software  release-05-01-25
RelationFromSVDTracksCreator.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 #include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
14 
15 #include <tracking/ckf/svd/entities/CKFToSVDState.h>
16 #include <framework/datastore/StoreArray.h>
17 
18 namespace Belle2 {
23  class ModuleParamList;
24  class RecoTrack;
25 
34  class RelationFromSVDTracksCreator : public TrackFindingCDC::Findlet<CKFToSVDState, CKFToSVDState,
35  TrackFindingCDC::WeightedRelation<CKFToSVDState>> {
36  public:
38  using Super = TrackFindingCDC::Findlet<CKFToSVDState, CKFToSVDState,
39  TrackFindingCDC::WeightedRelation<CKFToSVDState>>;
40 
43 
45  void initialize() final;
46 
49 
51  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
52 
54  void apply(std::vector<CKFToSVDState>& seedStates, std::vector<CKFToSVDState>& states,
55  std::vector<TrackFindingCDC::WeightedRelation<CKFToSVDState>>& relations) final;
56 
57  private:
58  // Parameters
60  std::string m_param_vxdTracksStoreArrayName = "VXDRecoTracks";
62  std::string m_param_cdcTracksStoreArrayName = "CDCRecoTracks";
64  std::string m_param_spacePointTrackCandidateName = "SPTrackCands";
65 
66  // Object pools
69  };
71 }
Belle2::RelationFromSVDTracksCreator::Super
TrackFindingCDC::Findlet< CKFToSVDState, CKFToSVDState, TrackFindingCDC::WeightedRelation< CKFToSVDState > > Super
The parent findlet.
Definition: RelationFromSVDTracksCreator.h:47
Belle2::RelationFromSVDTracksCreator::m_param_vxdTracksStoreArrayName
std::string m_param_vxdTracksStoreArrayName
Store Array name coming from VXDTF2.
Definition: RelationFromSVDTracksCreator.h:68
Belle2::RelationFromSVDTracksCreator::m_param_cdcTracksStoreArrayName
std::string m_param_cdcTracksStoreArrayName
Store Array name coming from CDCTF.
Definition: RelationFromSVDTracksCreator.h:70
Belle2::RelationFromSVDTracksCreator
Simplified relation creator only creating relations between states of CDC Reco Track seeds and states...
Definition: RelationFromSVDTracksCreator.h:42
Belle2::RecoTrack
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:78
Belle2::RelationFromSVDTracksCreator::apply
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.
Definition: RelationFromSVDTracksCreator.cc:48
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::RelationFromSVDTracksCreator::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters of the subfindlet.
Definition: RelationFromSVDTracksCreator.cc:33
Belle2::RelationFromSVDTracksCreator::RelationFromSVDTracksCreator
RelationFromSVDTracksCreator()
Construct this findlet and add the subfindlet as listener.
Definition: RelationFromSVDTracksCreator.cc:21
Belle2::RelationFromSVDTracksCreator::m_param_spacePointTrackCandidateName
std::string m_param_spacePointTrackCandidateName
Store Array name of the space point track candidates coming from VXDTF2.
Definition: RelationFromSVDTracksCreator.h:72
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::CKFToSVDState
Specialized CKF State for extrapolating into the SVD.
Definition: CKFToSVDState.h:29
Belle2::RelationFromSVDTracksCreator::initialize
void initialize() final
Require the store array.
Definition: RelationFromSVDTracksCreator.cc:25
Belle2::RelationFromSVDTracksCreator::m_vxdRecoTracks
StoreArray< RecoTrack > m_vxdRecoTracks
Store Array of the VXD tracks to use.
Definition: RelationFromSVDTracksCreator.h:76