Belle II Software  release-05-01-25
TrackNormalizer.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - 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 #include <tracking/trackFindingCDC/findlets/minimal/TrackNormalizer.h>
11 
12 #include <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
13 #include <tracking/trackFindingCDC/processing/TrackQualityTools.h>
14 
15 #include <vector>
16 
17 using namespace Belle2;
18 using namespace TrackFindingCDC;
19 
21 {
22  return "Findlet for normalizing the track (trajectory) into common requirements (e.g. let it start at the first hit etc.)";
23 }
24 
25 void TrackNormalizer::apply(std::vector<CDCTrack>& tracks)
26 {
27  for (CDCTrack& track : tracks) {
29  }
30 }
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::TrackQualityTools::normalizeHitsAndResetTrajectory
static void normalizeHitsAndResetTrajectory(CDCTrack &track)
Update all hits to have a positive perpS, a taken flag and no background flag Also set the trajectory...
Definition: TrackQualityTools.cc:55
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::TrackNormalizer::apply
void apply(std::vector< CDCTrack > &tracks) final
Fit the tracks.
Definition: TrackNormalizer.cc:25
Belle2::TrackFindingCDC::TrackNormalizer::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: TrackNormalizer.cc:20