Belle II Software development
LowHitsAxialTrackUtil.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
9#pragma once
10#include <vector>
11
12namespace Belle2 {
17 namespace TrackFindingCDC {
18 class CDCTrack;
19 class CDCWireHit;
20
25 public:
30 static void addCandidateFromHits(const std::vector<const CDCWireHit*>& foundAxialWireHits,
31 const std::vector<const CDCWireHit*>& allAxialWireHits,
32 std::vector<CDCTrack>& axialTracks,
33 bool fromOrigin = true,
34 bool straight = true,
35 bool withPostprocessing = true);
36
38 static bool postprocessTrack(CDCTrack& track, const std::vector<const CDCWireHit*>& allAxialWireHits);
39 };
40 }
42}
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Abstract base class for different kinds of events.
Utility structure gathering heuristic functions used during the search for non-helix or low hit count...
static void addCandidateFromHits(const std::vector< const CDCWireHit * > &foundAxialWireHits, const std::vector< const CDCWireHit * > &allAxialWireHits, std::vector< CDCTrack > &axialTracks, bool fromOrigin=true, bool straight=true, bool withPostprocessing=true)
Create CDCTrack using CDCWireHit hits and store it in the list.
static bool postprocessTrack(CDCTrack &track, const std::vector< const CDCWireHit * > &allAxialWireHits)
Perform all track postprocessing - return whether the track is considered good after the postprocessi...