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