PandaRoot
PndFtsContext.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 15.06.2020.
15 //
16 
17 #pragma once
18 
19 #include <utility>
20 
21 #include "PndFtsGeom.h"
22 #include "PndFtsConstants.h"
23 
24 namespace PndFtsTrackFinder {
25 
26 enum class PndFtsMomEstMethod {
27  CURVATURE,
28  TANGENT
29 };
30 
32  public:
33  explicit PndFtsContext(PndFtsGeom geom, int debug = 0, int verbose = 0, const PndFtsMomEstMethod momEstMethod = PndFtsMomEstMethod::CURVATURE, PndFtsConstants constants = {})
34  : fGeom{std::move(geom)}, fDebug{debug}, fVerbose{verbose}, fConstants{constants}, fMomEstMethod{momEstMethod}
35  {
36  }
37 
39  const int fDebug;
40  const int fVerbose;
43 };
44 
45 } // namespace PndFtsTrackFinder
PndFtsContext(PndFtsGeom geom, int debug=0, int verbose=0, const PndFtsMomEstMethod momEstMethod=PndFtsMomEstMethod::CURVATURE, PndFtsConstants constants={})
Definition: PndFtsContext.h:33
Reconstruct curvature radius from FT12 and FT56 ZOX lines if possible. Usually more accurate...
Take curvature radius straight form FT34 ZOX circle fitting.
const PndFtsConstants fConstants
Definition: PndFtsContext.h:41
const PndFtsMomEstMethod fMomEstMethod
Definition: PndFtsContext.h:42