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