PandaRoot
PndFtsReconLineZOX.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //
14 // Created by Bartosz Sobol on 07.06.2020.
15 //
16 
17 #pragma once
18 
19 #include "tool/PndFtsLineHitSet.h"
20 #include "tool/PndFtsContext.h"
21 #include "tool/PndFtsTrack.h"
22 #include "tool/PndFtsGeom.h"
23 
24 namespace PndFtsTrackFinder {
25 
27  public:
28  PndFtsReconLineZOX() = delete;
29 
30  explicit PndFtsReconLineZOX(const PndFtsContext &context);
31 
32  PndFtsReconLineZOX(const PndFtsContext &&context) = delete;
33 
34  [[nodiscard]] LineSubtrackVector Exec(const PndFtsLineHitSet &hitSet) const;
35 
36  private:
37  [[nodiscard]] LineSubtrackVector ExecItem(const PndFtsLineHitSet &hits) const;
38 
39  [[nodiscard]] TangentLineArray TangentLines(const PndFtsSimpleHit &hitBeg, const PndFtsSimpleHit &hitEnd) const;
40 
41  static void RemoveDuplicates(LineSubtrackVector &tracks);
42 
43  const PndFtsContext &fContext;
44 };
45 
46 } // namespace PndFtsTrackFinder
LineSubtrackVector Exec(const PndFtsLineHitSet &hitSet) const
std::array< Line, 4 > TangentLineArray
Definition: PndFtsHelpers.h:54
std::vector< LineSubtrack > LineSubtrackVector
Definition: PndFtsTrack.h:41