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
PHActsVertexPropagator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHActsVertexPropagator.h
1
#ifndef TRACKRECO_PHACTSVERTEXPROPAGATOR_H
2
#define TRACKRECO_PHACTSVERTEXPROPAGATOR_H
3
4
#include "
ActsPropagator.h
"
5
6
#include <
fun4all/SubsysReco.h
>
7
#include <
trackbase/ActsGeometry.h
>
8
#include <
trackbase/TrkrDefs.h
>
9
10
#include <
Acts/Definitions/Algebra.hpp
>
11
#include <
Acts/EventData/TrackParameters.hpp
>
12
#include <
Acts/Surfaces/CylinderSurface.hpp
>
13
#include <
Acts/Utilities/Result.hpp
>
14
15
#include <
ActsExamples/EventData/Trajectories.hpp
>
16
17
class
SvtxTrackMap
;
18
class
SvtxVertexMap
;
19
class
SvtxTrack
;
20
21
class
PHActsVertexPropagator
:
public
SubsysReco
22
{
23
public
:
24
using
BoundTrackParam
=
25
const
Acts::BoundTrackParameters
;
26
using
BoundTrackParamResult
=
Acts::Result<BoundTrackParam>
;
27
using
SurfacePtr
= std::shared_ptr<const Acts::Surface>;
28
using
Trajectory
=
ActsExamples::Trajectories
;
29
30
PHActsVertexPropagator
(
const
std::string
&
name
=
"PHActsVertexPropagator"
);
31
32
int
Init
(
PHCompositeNode
*topNode)
override
;
33
int
InitRun
(
PHCompositeNode
*topNode)
override
;
34
int
process_event
(
PHCompositeNode
*topNode)
override
;
35
int
End
(
PHCompositeNode
*topNode)
override
;
36
37
void
fieldMap
(
std::string
& fieldmap){
m_fieldMap
= fieldmap;}
38
39
private
:
40
int
getNodes
(
PHCompositeNode
*topNode);
41
ActsPropagator::BTPPairResult
42
propagateTrack
(
const
Acts::BoundTrackParameters
¶ms,
43
const
unsigned
int
vtxid);
44
Acts::Vector3
getVertex
(
const
unsigned
int
vtxid);
45
void
updateSvtxTrack
(
SvtxTrack
*track,
46
const
Acts::BoundTrackParameters
¶ms);
47
void
setVtxChi2
();
48
49
ActsGeometry
*
m_tGeometry
=
nullptr
;
50
SvtxVertexMap
*
m_vertexMap
=
nullptr
;
51
SvtxTrackMap
*
m_trackMap
=
nullptr
;
52
std::map<const unsigned int, Trajectory> *
m_trajectories
=
nullptr
;
53
std::string
m_fieldMap
=
""
;
54
};
55
56
#endif
coresoftware
blob
master
offline
packages
trackreco
PHActsVertexPropagator.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:10
using
1.8.2 with
sPHENIX GitHub integration