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
PHActsKDTreeSeeding.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHActsKDTreeSeeding.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PHACTSKDTREESEEDING_H
4
#define PHACTSKDTREESEEDING_H
5
6
#include <
trackbase/SpacePoint.h
>
7
8
#include <
fun4all/SubsysReco.h
>
9
10
#include <
trackbase/ActsGeometry.h
>
11
#include <
trackbase/ClusterErrorPara.h
>
12
13
#include <
Acts/Seeding/SeedFilterConfig.hpp
>
14
#include <
Acts/Seeding/SeedFinderConfig.hpp
>
15
#include <
Acts/Seeding/SeedFinderOrthogonalConfig.hpp
>
16
17
#include <string>
18
19
class
PHCompositeNode
;
20
class
TrkrClusterIterationMapv1
;
21
class
ActsGeometry
;
22
class
TrkrClusterContainer
;
23
class
TrackSeedContainer
;
24
class
TrkrCluster
;
25
class
PHG4CylinderGeomContainer
;
26
class
TrackSeed
;
27
28
class
PHActsKDTreeSeeding
:
public
SubsysReco
29
{
30
public
:
31
PHActsKDTreeSeeding
(
const
std::string
&
name
=
"PHActsKDTreeSeeding"
);
32
33
~PHActsKDTreeSeeding
()
override
;
34
35
int
Init
(
PHCompositeNode
* topNode)
override
;
36
int
InitRun
(
PHCompositeNode
* topNode)
override
;
37
int
process_event
(
PHCompositeNode
* topNode)
override
;
38
int
End
(
PHCompositeNode
* topNode)
override
;
39
40
void
useTruthClusters
(
bool
truth) {
m_useTruthClusters
= truth; }
41
42
private
:
43
void
configureSeedFinder
();
44
int
getNodes
(
PHCompositeNode
* topNode);
45
int
createNodes
(
PHCompositeNode
* topNode);
46
SeedContainer
runSeeder
();
47
void
fillTrackSeedContainer
(
SeedContainer
& seeds);
48
std::vector<const SpacePoint*>
getMvtxSpacePoints
();
49
SpacePointPtr
makeSpacePoint
(
const
Surface
&
surf
,
50
const
TrkrDefs::cluskey
key,
51
TrkrCluster
* clus);
52
55
void
findInttMatches
(std::map<TrkrDefs::cluskey, Acts::Vector3>&
clusters
,
56
TrackSeed
&
seed
);
57
58
void
matchInttClusters
(std::map<TrkrDefs::cluskey, Acts::Vector3>&
clusters
,
59
const
double
xProj[],
60
const
double
yProj[],
61
const
double
zProj[]);
62
63
Acts::SeedFilterConfig
m_seedFilterConfig
;
64
Acts::SeedFinderOrthogonalConfig<SpacePoint>
m_seedFinderConfig
;
65
Acts::SeedFinderOptions
m_seedFinderOptions
;
66
70
float
m_rMax
= 200. *
Acts::UnitConstants::mm
;
71
float
m_deltaRMinTopSP
= 1. *
Acts::UnitConstants::mm
;
72
float
m_deltaRMaxTopSP
= 20. *
Acts::UnitConstants::mm
;
73
float
m_deltaRMinBottomSP
= 1. *
Acts::UnitConstants::mm
;
74
float
m_deltaRMaxBottomSP
= 20. *
Acts::UnitConstants::mm
;
75
float
m_collisionRegionMin
= -300 *
Acts::UnitConstants::mm
;
76
float
m_collisionRegionMax
= 300 *
Acts::UnitConstants::mm
;
77
float
m_zMin
= -300. *
Acts::UnitConstants::mm
;
78
float
m_zMax
= 300. *
Acts::UnitConstants::mm
;
79
81
float
m_maxSeedsPerSpM
= 1;
82
float
m_cotThetaMax
= 2.9;
83
float
m_sigmaScattering
= 5;
84
float
m_radLengthPerSeed
= 0.05;
85
float
m_minPt
= 100.;
// MeV
86
float
m_bFieldInZ
= 0.0014;
// kTesla
87
float
m_beamPosX
= 0;
88
float
m_beamPosY
= 0;
89
91
float
m_impactMax
= 20. *
Acts::UnitConstants::mm
;
92
94
float
m_rMinMiddle
= 28. *
Acts::UnitConstants::mm
;
95
float
m_rMaxMiddle
= 36. *
Acts::UnitConstants::mm
;
96
97
int
m_nIteration
= 0;
98
std::string
m_trackMapName
=
"SiliconTrackSeedContainer"
;
99
bool
m_useTruthClusters
=
false
;
100
101
ClusterErrorPara
m_clusErrPara
;
102
float
m_uncfactor
= 3.175;
103
const
static
int
m_nInttLayers
= 4;
104
float
m_nInttLayerRadii
[
m_nInttLayers
] = {0};
105
float
m_rPhiSearchWin
= 0.1;
106
107
PHG4CylinderGeomContainer
*
m_geomContainerIntt
=
nullptr
;
108
TrkrClusterIterationMapv1
*
m_iterationMap
=
nullptr
;
109
ActsGeometry
*
m_tGeometry
=
nullptr
;
110
TrkrClusterContainer
*
m_clusterMap
=
nullptr
;
111
TrackSeedContainer
*
m_seedContainer
=
nullptr
;
112
};
113
114
#endif // PHACTSKDTREESEEDING_H
coresoftware
blob
master
offline
packages
trackreco
PHActsKDTreeSeeding.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:10
using
1.8.2 with
sPHENIX GitHub integration