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
Calibrator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Calibrator.h
1
2
#ifndef TRACKBASE_CALIBRATOR_H
3
#define TRACKBASE_CALIBRATOR_H
4
5
#include <
Acts/EventData/Measurement.hpp
>
6
#include <
Acts/EventData/MultiTrajectory.hpp
>
7
#pragma GCC diagnostic push
8
#pragma GCC diagnostic ignored "-Wshadow"
9
#include <
Acts/EventData/VectorMultiTrajectory.hpp
>
10
#pragma GCC diagnostic pop
11
12
#include "
ActsSourceLink.h
"
13
#include "
TrkrDefs.h
"
14
#include "
alignmentTransformationContainer.h
"
15
16
class
Calibrator
17
{
18
public
:
19
using
Measurement
=
::Acts::BoundVariantMeasurement
;
25
using
MeasurementContainer
= std::vector<Measurement>;
26
27
void
calibrate
(
const
MeasurementContainer
& measurements,
28
const
Acts::GeometryContext
&
gctx
,
29
const
Acts::CalibrationContext
&,
30
const
Acts::SourceLink
& sourceLink,
31
Acts::VectorMultiTrajectory::TrackStateProxy
& trackState)
const
;
32
virtual
~Calibrator
() =
default
;
33
};
34
35
class
CalibratorAdapter
36
{
37
public
:
39
CalibratorAdapter
(
const
Calibrator
& calibrator,
40
const
Calibrator::MeasurementContainer
& measurements)
41
:
m_calibrator
{calibrator}
42
,
m_measurements
{measurements}
43
{
44
}
45
46
CalibratorAdapter
() =
delete
;
47
48
void
calibrate
(
const
Acts::GeometryContext
&
gctx
,
49
const
Acts::CalibrationContext
& cctx,
50
const
Acts::SourceLink
& sourceLink,
51
Acts::VectorMultiTrajectory::TrackStateProxy
trackState)
const
;
52
53
private
:
54
const
Calibrator
&
m_calibrator
;
55
const
Calibrator::MeasurementContainer
&
m_measurements
;
56
};
57
58
#endif
coresoftware
blob
master
offline
packages
trackbase
Calibrator.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration