ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FullBilloirVertexFitter.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FullBilloirVertexFitter.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2019 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#include "
Acts/Propagator/EigenStepper.hpp
"
12
#include "
Acts/Propagator/Propagator.hpp
"
13
#include "
Acts/Vertexing/HelicalTrackLinearizer.hpp
"
14
#include "
Acts/Vertexing/LinearizerConcept.hpp
"
15
#include "
Acts/Vertexing/Vertex.hpp
"
16
#include "
Acts/Vertexing/VertexingOptions.hpp
"
17
namespace
Acts {
18
32
template
<
typename
input_track_t,
typename
linearizer_t>
33
class
FullBilloirVertexFitter
{
34
static_assert(LinearizerConcept<linearizer_t>,
35
"Linearizer does not fulfill linearizer concept."
);
36
37
public
:
38
using
InputTrack_t
= input_track_t;
39
using
Propagator_t
=
typename
linearizer_t::Propagator_t;
40
using
BField_t
=
typename
linearizer_t::BField_t;
41
using
Linearizer_t
=
linearizer_t
;
42
43
struct
Config
{
45
int
maxIterations
= 5;
46
};
47
51
template
<
typename
T
= input_track_t,
52
std::enable_if_t<std::is_same<T, BoundParameters>::value
,
int
> = 0>
53
FullBilloirVertexFitter
(
const
Config
& cfg)
54
:
m_cfg
(cfg),
extractParameters
([](
T
params) {
return
params; }) {}
55
60
FullBilloirVertexFitter
(
const
Config
& cfg,
61
std::function
<
BoundParameters
(input_track_t)>
func
)
62
:
m_cfg
(cfg),
extractParameters
(
func
) {}
63
71
Result<Vertex<input_track_t>
>
fit
(
72
const
std::vector<const input_track_t*>& paramVector,
73
const
linearizer_t
& linearizer,
74
const
VertexingOptions<input_track_t>
& vertexingOptions)
const
;
75
76
private
:
78
Config
m_cfg
;
79
85
std::function<BoundParameters(input_track_t)>
extractParameters
;
86
};
87
88
}
// namespace Acts
89
90
#include "
FullBilloirVertexFitter.ipp
"
acts
blob
master
Core
include
Acts
Vertexing
FullBilloirVertexFitter.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:22
using
1.8.2 with
ECCE GitHub integration