PandaRoot
PndFtsReconLineZOY.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/PndFtsContext.h"
20 #include "tool/PndFtsGeom.h"
21 #include "tool/PndFtsTrack.h"
22 
23 namespace PndFtsTrackFinder {
24 
26  public:
27  PndFtsReconLineZOY() = delete;
28 
29  explicit PndFtsReconLineZOY(const PndFtsContext &context);
30 
31  PndFtsReconLineZOY(const PndFtsContext &&context) = delete;
32 
33  [[nodiscard]] LineSubtrackVector Exec(const LineSubtrackVector &zoxTracks, const PndFtsLineHitSet &hitSet) const;
34 
35  private:
36  [[nodiscard]] LineSubtrack ExecItem(const LineSubtrack &zoxTrack, const PndFtsLineHitSet &hits) const;
37 
38  [[nodiscard]] Line ZOYLineTransform(const bool ft12, const Line &zoxLine, const Line &minLine) const;
39 
40  [[nodiscard]] ZYVirtualHitVectorPair CreateVirtualHits(const LineSubtrack &zoxTrack, const PndFtsLineHitSet &hits) const;
41 
42  const PndFtsContext &fContext;
43 };
44 
45 } // namespace PndFtsTrackFinder
std::pair< ZYVirtualHitVector, ZYVirtualHitVector > ZYVirtualHitVectorPair
Definition: PndFtsHelpers.h:85
std::vector< LineSubtrack > LineSubtrackVector
Definition: PndFtsTrack.h:41
LineSubtrackVector Exec(const LineSubtrackVector &zoxTracks, const PndFtsLineHitSet &hitSet) const