PandaRoot
PndFtsContext.h
Go to the documentation of this file.
1 //
2 // Created by Bartosz Sobol on 15.06.2020.
3 //
4 
5 #pragma once
6 
7 #include <utility>
8 
9 #include "PndFtsGeom.h"
10 #include "PndFtsConstants.h"
11 
12 namespace PndFtsTrackFinder {
13 
14 enum class PndFtsMomEstMethod {
15  CURVATURE,
16  TANGENT
17 };
18 
20  public:
21  explicit PndFtsContext(PndFtsGeom geom, int debug = 0, int verbose = 0, const PndFtsMomEstMethod momEstMethod = PndFtsMomEstMethod::CURVATURE, PndFtsConstants constants = {})
22  : fGeom{std::move(geom)}, fDebug{debug}, fVerbose{verbose}, fConstants{constants}, fMomEstMethod{momEstMethod}
23  {
24  }
25 
27  const int fDebug;
28  const int fVerbose;
31 };
32 
33 } // namespace PndFtsTrackFinder
PndFtsContext(PndFtsGeom geom, int debug=0, int verbose=0, const PndFtsMomEstMethod momEstMethod=PndFtsMomEstMethod::CURVATURE, PndFtsConstants constants={})
Definition: PndFtsContext.h:21
Reconstruct curvature radius from FT12 and FT56 ZOX lines if possible. Usually more accurate...
Take curvature radius straght form FT34 ZOX circle fitting.
const PndFtsConstants fConstants
Definition: PndFtsContext.h:29
const PndFtsMomEstMethod fMomEstMethod
Definition: PndFtsContext.h:30