Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrackAtVertex.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrackAtVertex.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/EventData/TrackParameters.hpp
"
12
#include "
Acts/Vertexing/LinearizedTrack.hpp
"
13
14
#include <functional>
15
16
namespace
Acts {
17
23
24
template
<
typename
input_track_t>
25
struct
TrackAtVertex
{
27
TrackAtVertex
() =
delete
;
28
34
TrackAtVertex
(
double
chi2perTrack,
const
BoundTrackParameters
& paramsAtVertex,
35
const
input_track_t* originalTrack)
36
:
fittedParams
(paramsAtVertex),
37
originalParams
(originalTrack),
38
chi2Track
(chi2perTrack) {}
39
44
TrackAtVertex
(
const
BoundTrackParameters
& paramsAtVertex,
45
const
input_track_t* originalTrack)
46
:
fittedParams
(paramsAtVertex),
originalParams
(originalTrack) {}
47
49
BoundTrackParameters
fittedParams
;
50
52
const
input_track_t*
originalParams
;
53
55
double
chi2Track
= 0;
56
61
double
ndf
= 0;
62
65
double
vertexCompatibility
= 0;
66
68
double
trackWeight
= 1;
69
71
LinearizedTrack
linearizedState
;
72
74
bool
isLinearized
=
false
;
75
};
76
77
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Vertexing
TrackAtVertex.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:35
using
1.8.2 with
sPHENIX GitHub integration