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
PHActsToSvtxTracks.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHActsToSvtxTracks.h
1
#ifndef TRACKRECO_PHACTSTOSVTXTRACKS_H
2
#define TRACKRECO_PHACTSTOSVTXTRACKS_H
3
4
#include <
fun4all/SubsysReco.h
>
5
#include <
trackbase/TrkrDefs.h
>
6
8
#include <
Acts/Utilities/BinnedArray.hpp
>
9
#include <Acts/Utilities/Definitions.hpp>
10
#include <
Acts/Utilities/Logger.hpp
>
11
12
#include <
Acts/EventData/TrackParameters.hpp
>
13
14
#include <
ActsExamples/EventData/Track.hpp
>
15
#include <ActsExamples/EventData/TrkrClusterSourceLink.hpp>
16
#include <ActsExamples/EventData/TrkrClusterMultiTrajectory.hpp>
17
18
#include <
trackbase/ActsTrackingGeometry.h
>
19
20
#include <boost/bimap.hpp>
21
22
#include <map>
23
#include <string>
24
#include <vector>
25
26
class
PHCompositeNode
;
27
class
SvtxTrackMap
;
28
class
SvtxTrack
;
29
class
SvtxVertexMap
;
30
class
MakeActsGeometry
;
31
32
using
SourceLink
= ActsExamples::TrkrClusterSourceLink;
33
using
Trajectory
= ActsExamples::TrkrClusterMultiTrajectory;
34
35
class
PHActsToSvtxTracks
:
public
SubsysReco
36
{
37
public
:
39
PHActsToSvtxTracks
(
const
std::string
&
name
=
"PHActsToSvtxTracks"
);
40
~PHActsToSvtxTracks
()
override
{}
41
43
int
End
(
PHCompositeNode
*topNode)
override
;
44
int
Init
(
PHCompositeNode
*topNode)
override
;
45
int
InitRun
(
PHCompositeNode
*topNode)
override
;
46
int
process_event
(
PHCompositeNode
*topNode)
override
;
47
int
ResetEvent
(
PHCompositeNode
*topNode)
override
;
48
49
void
setSvtxTrackMapName
(
std::string
&
name
)
50
{
m_svtxMapName
=
name
;}
51
52
private
:
53
55
int
createNodes
(
PHCompositeNode
*topNode);
56
58
int
getNodes
(
PHCompositeNode
*topNode);
59
60
void
createSvtxTrack
(
const
unsigned
int
trackKey,
Trajectory
traj);
61
62
SvtxTrackMap
*
m_svtxTrackMap
=
nullptr
;
63
SvtxVertexMap
*
m_svtxVertexMap
=
nullptr
;
64
ActsTrackingGeometry
*
m_tGeometry
=
nullptr
;
65
std::map<const unsigned int, Trajectory> *
m_actsFitResults
=
nullptr
;
66
67
std::string
m_svtxMapName
=
"SvtxTrackMap"
;
68
69
};
70
71
#endif
coresoftware
blob
master
offline
packages
trackreco
PHActsToSvtxTracks.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:10
using
1.8.2 with
sPHENIX GitHub integration