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
MakeSourceLinks.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MakeSourceLinks.h
1
#ifndef TRACKRECO_MAKESOURCELINKS_H
2
#define TRACKRECO_MAKESOURCELINKS_H
3
4
#include <
trackbase/TrkrDefs.h
>
5
#include <
trackbase/ActsGeometry.h
>
6
#include <
trackbase/ActsTrackFittingAlgorithm.h
>
7
#include <
trackbase/alignmentTransformationContainer.h
>
8
#include <
trackbase/ClusterErrorPara.h
>
9
10
#include <
tpc/TpcClusterZCrossingCorrection.h
>
11
#include <
tpc/TpcDistortionCorrection.h
>
12
14
#include <
Acts/Utilities/BinnedArray.hpp
>
15
#include <
Acts/Definitions/Algebra.hpp
>
16
17
#include <
trackbase_historic/SvtxTrack.h
>
18
20
#include <cmath>
21
#include <iostream>
22
#include <memory>
23
#include <utility>
24
25
using
SourceLink
=
ActsSourceLink
;
26
using
SourceLinkVec
= std::vector<Acts::SourceLink>;
27
28
// forward declarations
29
class
SvtxTrack
;
30
class
SvtxTrackState
;
31
class
TrkrCluster
;
32
class
TrkrClusterContainer
;
33
class
TpcDistortionCorrectionContainer
;
34
class
TrackSeed
;
35
41
class
MakeSourceLinks
42
{
43
public
:
44
MakeSourceLinks
() =
default
;
45
46
void
setVerbosity
(
int
verbosity
) {
m_verbosity
=
verbosity
;}
47
48
void
set_pp_mode
(
bool
ispp) {
m_pp_mode
= ispp; }
49
50
void
ignoreLayer
(
int
layer
) {
m_ignoreLayer
.insert(layer); }
51
52
SourceLinkVec
getSourceLinks
(
TrackSeed
* track,
53
ActsTrackFittingAlgorithm::MeasurementContainer
& measurements,
54
TrkrClusterContainer
* cluster_container,
55
ActsGeometry
*
tGeometry
,
56
alignmentTransformationContainer
* transformMapTransient,
57
std::set< Acts::GeometryIdentifier> transient_id_set,
58
short
int
crossing);
59
60
void
resetTransientTransformMap
(
61
alignmentTransformationContainer
* transformMapTransient,
62
std::set< Acts::GeometryIdentifier>& transient_id_set,
63
ActsGeometry
*
tGeometry
);
64
65
private
:
66
int
m_verbosity
= 0;
67
bool
m_pp_mode
=
false
;
68
std::set<int>
m_ignoreLayer
;
69
70
TpcClusterZCrossingCorrection
_clusterCrossingCorrection
;
71
TpcDistortionCorrectionContainer
*
_dcc_static
{
nullptr
};
72
TpcDistortionCorrectionContainer
*
_dcc_average
{
nullptr
};
73
TpcDistortionCorrectionContainer
*
_dcc_fluctuation
{
nullptr
};
74
76
TpcDistortionCorrection
_distortionCorrection
;
77
78
ClusterErrorPara
_ClusErrPara
;
79
80
81
};
82
83
84
#endif
coresoftware
blob
master
offline
packages
trackreco
MakeSourceLinks.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:10
using
1.8.2 with
sPHENIX GitHub integration