Belle II Software  release-08-01-10
RecoTrackUtil.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 <framework/datastore/StoreArray.h>
11 
12 namespace Belle2 {
17  class RecoTrack;
18 
19  namespace TrackFindingCDC {
20  class CDCTrack;
21  class CDCTrajectory3D;
22 
24  struct RecoTrackUtil {
25 
27  static RecoTrack* storeInto(const CDCTrack& track, StoreArray<RecoTrack>& recoTracks, const double momentumSeedMagnitude);
28 
30  static RecoTrack* storeInto(const CDCTrack& track, StoreArray<RecoTrack>& recoTracks);
31 
33  static RecoTrack* storeInto(const CDCTrajectory3D& traj3D, StoreArray<RecoTrack>& recoTracks);
34 
36  static RecoTrack*
37  storeInto(const CDCTrajectory3D& traj3D, const double bZ, StoreArray<RecoTrack>& recoTracks);
38 
48  template<class ARLHitHolderRange>
49  static void fill(const ARLHitHolderRange& rlWireHitHolders, RecoTrack& recoTrack);
50 
51  };
52  }
54 }
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:79
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Particle full three dimensional trajectory.
Abstract base class for different kinds of events.
Structure to summarize utility function to output a list of hits into a RecoTrack.
Definition: RecoTrackUtil.h:24
static void fill(const ARLHitHolderRange &rlWireHitHolders, RecoTrack &recoTrack)
Translates a range of hits and inserts them in the reco track.
static RecoTrack * storeInto(const CDCTrack &track, StoreArray< RecoTrack > &recoTracks, const double momentumSeedMagnitude)
For magnetic monopoles; estimates charge sign from all stereo hits, momentum direction from hits in c...