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
PHTrackSeeding.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHTrackSeeding.h
1
7
#ifndef TRACKRECO_PHTRACKSEEDING_H
8
#define TRACKRECO_PHTRACKSEEDING_H
9
10
// PHENIX includes
11
#include <
fun4all/SubsysReco.h
>
12
13
// STL includes
14
#include <string>
15
16
// forward declarations
17
class
PHCompositeNode
;
18
19
//class SvtxClusterMap;
20
class
TrkrClusterContainer
;
21
class
TrkrClusterHitAssoc
;
22
class
TrkrHitSetContainer
;
23
class
TrkrClusterIterationMapv1
;
24
class
SvtxVertexMap
;
25
class
TrackSeedContainer
;
26
27
32
class
PHTrackSeeding
:
public
SubsysReco
33
{
34
public
:
35
PHTrackSeeding
(
const
std::string
&
name
=
"PHTrackSeeding"
);
36
~PHTrackSeeding
()
override
{}
37
38
int
InitRun
(
PHCompositeNode
*topNode)
override
;
39
int
process_event
(
PHCompositeNode
*topNode)
override
;
40
int
End
(
PHCompositeNode
*topNode)
override
;
41
void
set_track_map_name
(
const
std::string
&map_name) {
_track_map_name
= map_name; }
42
void
set_do_hit_association
(
bool
do_assoc){
do_hit_assoc
= do_assoc;}
43
void
SetUseTruthClusters
(
bool
setit){
_use_truth_clusters
= setit;}
44
void
SetIteration
(
int
iter){
_n_iteration
= iter;}
45
protected
:
48
virtual
int
Setup
(
PHCompositeNode
*topNode);
49
52
virtual
int
Process
(
PHCompositeNode
*topNode) = 0;
53
55
virtual
int
End
() = 0;
56
57
TrkrClusterContainer
*
_cluster_map
=
nullptr
;
58
TrkrClusterHitAssoc
*
_cluster_hit_map
=
nullptr
;
59
TrkrClusterIterationMapv1
*
_iteration_map
;
60
int
_n_iteration
;
61
bool
do_hit_assoc
=
true
;
62
SvtxVertexMap
*
_vertex_map
=
nullptr
;
63
TrackSeedContainer
*
_track_map
=
nullptr
;
64
TrkrHitSetContainer
*
_hitsets
=
nullptr
;
65
66
std::string
_track_map_name
=
"TpcTrackSeedContainer"
;
67
68
bool
_use_truth_clusters
=
false
;
69
70
private
:
71
73
int
CreateNodes
(
PHCompositeNode
*topNode);
74
76
int
GetNodes
(
PHCompositeNode
*topNode);
77
};
78
79
#endif
coresoftware
blob
master
offline
packages
trackreco
PHTrackSeeding.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration