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
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
master
CI
Core
include
Acts
EventData
Fitter
Geometry
MagneticField
Material
Propagator
Seeding
Surfaces
TrackFinder
Utilities
Vertexing
AdaptiveMultiVertexFinder.hpp
AdaptiveMultiVertexFinder.ipp
AdaptiveMultiVertexFitter.hpp
AdaptiveMultiVertexFitter.ipp
AMVFInfo.hpp
DummyVertexFitter.hpp
FsmwMode1dFinder.hpp
FullBilloirVertexFitter.hpp
FullBilloirVertexFitter.ipp
GaussianTrackDensity.hpp
HelicalTrackLinearizer.hpp
HelicalTrackLinearizer.ipp
ImpactPointEstimator.hpp
ImpactPointEstimator.ipp
IterativeVertexFinder.hpp
IterativeVertexFinder.ipp
KalmanVertexTrackUpdater.hpp
KalmanVertexTrackUpdater.ipp
KalmanVertexUpdater.hpp
KalmanVertexUpdater.ipp
LinearizedTrack.hpp
LinearizerConcept.hpp
TrackAtVertex.hpp
TrackDensity.hpp
TrackDensityVertexFinder.hpp
TrackDensityVertexFinder.ipp
Vertex.hpp
Vertex.ipp
VertexFinderConcept.hpp
VertexFitterConcept.hpp
VertexingError.hpp
VertexingOptions.hpp
ZScanVertexFinder.hpp
ZScanVertexFinder.ipp
Visualization
src
doc
Examples
Fatras
Plugins
Tests
thirdparty
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
VertexFitterConcept.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file VertexFitterConcept.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/Utilities/Definitions.hpp
"
12
#include "
Acts/Utilities/Result.hpp
"
13
#include "
Acts/Utilities/TypeTraits.hpp
"
14
#include "
Acts/Vertexing/Vertex.hpp
"
15
#include "
Acts/Vertexing/VertexingOptions.hpp
"
16
17
namespace
Acts {
18
19
namespace
concept {
20
namespace
VertexFitter
{
21
22
template
<
typename
T>
23
using
track_t
=
typename
T::InputTrack_t;
24
template
<
typename
T>
25
using
propagator_t
=
typename
T::Propagator_t;
26
template
<
typename
T>
27
using
linearizer_t
=
typename
T::Linearizer_t
;
28
29
METHOD_TRAIT
(fit_t, fit);
30
31
// clang-format off
32
template
<
typename
S>
33
struct
VertexFitterConcept
{
34
constexpr
static
bool
fit_exists
= has_method<const S, Result<Vertex<typename S::InputTrack_t>>,
35
fit_t,
36
const
std::vector<const typename S::InputTrack_t*>&,
37
const
typename
S::Linearizer_t
&,
38
const
VertexingOptions<typename S::InputTrack_t>
&>;
39
static_assert(
fit_exists
,
"fit method not found"
);
40
41
constexpr
static
bool
track_exists
= exists<track_t, S>;
42
static_assert(
track_exists
,
"Track type not found"
);
43
constexpr
static
bool
propagator_exists
= exists<propagator_t, S>;
44
static_assert(
propagator_exists
,
"Propagator type not found"
);
45
constexpr
static
bool
linearizer_exists
= exists<linearizer_t, S>;
46
static_assert(
linearizer_exists
,
"Linearizer type not found"
);
47
48
constexpr
static
bool
value
=
require
<
fit_exists
,
49
track_exists
,
50
propagator_exists
,
51
linearizer_exists
>;
52
};
53
// clang-format on
54
}
// namespace VertexFitter
55
}
// namespace concept
56
57
template
<
typename
fitter>
58
constexpr
bool
VertexFitterConcept
=
59
Acts::concept ::VertexFitter::VertexFitterConcept<fitter>::value
;
60
61
}
// namespace Acts
acts
blob
master
Core
include
Acts
Vertexing
VertexFitterConcept.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:22
using
1.8.2 with
ECCE GitHub integration