PandaRoot
PndCAFunctionality.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 //-*- Mode: C++ -*-
14 // *****************************************************************************
15 // *
16 // @Autors: I.Kulakov; M.Zyzak; I.Kisel *
17 // @e-mail: I.Kulakov@gsi.de; M.Zyzak@gsi.de; I.Kisel@compeng.uni-frankfurt.de *
18 // *
19 // *****************************************************************************
20 
21 #ifndef PNDCAFUNCTIONALITY_H
22 #define PNDCAFUNCTIONALITY_H
23 
24 #include "PndCAVector.h"
25 #include "PndCATrackParamVector.h"
26 #include "PndCAParam.h"
27 #include "PndCAMath.h"
28 #include "PndCAStation.h"
29 
30 class PndCAHits;
31 #include <vector>
32 using std::vector;
33 
34 // Functions and parameters of CA algorithm to be called from any place
35 namespace PndCAFunctionality {
36 float_m FitIteration(const PndCAParam &caParam, const PndCAHits &hits, PndCATrackParamVector &param, const vector<PndCATESV> &iHits, const PndCATarget &target, bool dir,
37  bool useParam, const float_m &active = float_m(true));
38 
39 float_m Fit(const PndCAParam &caParam, const PndCAHits &hits, PndCATrackParamVector &param, const vector<PndCATESV> &iHits, const PndCATarget &target, bool dir,
40  const float_m &active = float_m(true));
41 
42 } // namespace PndCAFunctionality
43 
44 #endif
float_m Fit(const PndCAParam &caParam, const PndCAHits &hits, PndCATrackParamVector &param, const vector< PndCATESV > &iHits, const PndCATarget &target, bool dir, const float_m &active=float_m(true))
float_m FitIteration(const PndCAParam &caParam, const PndCAHits &hits, PndCATrackParamVector &param, const vector< PndCATESV > &iHits, const PndCATarget &target, bool dir, bool useParam, const float_m &active=float_m(true))