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
RefittingCalibrator.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RefittingCalibrator.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2023 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/MultiTrajectory.hpp
"
12
#include "
Acts/EventData/SourceLink.hpp
"
13
#include "
Acts/EventData/VectorMultiTrajectory.hpp
"
14
#include "
Acts/Geometry/GeometryContext.hpp
"
15
#include "
Acts/Geometry/GeometryIdentifier.hpp
"
16
#include "
Acts/Surfaces/Surface.hpp
"
17
#include "
Acts/Utilities/CalibrationContext.hpp
"
18
19
namespace
Acts {
20
class
ConstVectorMultiTrajectory;
21
class
VectorMultiTrajectory;
22
}
// namespace Acts
23
24
namespace
ActsExamples {
25
26
struct
RefittingCalibrator
{
27
using
Proxy
=
Acts::VectorMultiTrajectory::TrackStateProxy
;
28
using
ConstProxy
=
Acts::ConstVectorMultiTrajectory::ConstTrackStateProxy
;
29
30
struct
RefittingSourceLink
{
31
ConstProxy
state
;
32
33
Acts::GeometryIdentifier
geometryId
()
const
{
34
return
state
.
referenceSurface
().
geometryId
();
35
}
36
};
37
38
void
calibrate
(
const
Acts::GeometryContext
&
gctx
,
39
const
Acts::CalibrationContext
& cctx,
40
const
Acts::SourceLink
& sourceLink,
Proxy
trackState)
const
;
41
};
42
43
}
// namespace ActsExamples
acts
blob
sPHENIX
Examples
Algorithms
TrackFitting
include
ActsExamples
TrackFitting
RefittingCalibrator.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:37
using
1.8.2 with
sPHENIX GitHub integration