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
PHSiliconTruthTrackSeeding.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHSiliconTruthTrackSeeding.h
1
7
#ifndef TRACKRECO_PHSILICONTRUTHTRACKSEEDING_H
8
#define TRACKRECO_PHSILICONTRUTHTRACKSEEDING_H
9
10
#include "
PHTrackSeeding.h
"
11
12
#include <string>
13
14
// forward declarations
15
class
PHCompositeNode
;
16
class
PHG4TruthInfoContainer
;
17
class
PHG4HitContainer
;
18
class
TrkrClusterHitAssoc
;
19
class
TrkrHitTruthAssoc
;
20
21
26
27
class
PHSiliconTruthTrackSeeding
:
public
PHTrackSeeding
28
{
29
public
:
30
PHSiliconTruthTrackSeeding
(
const
std::string
&
name
=
"PHSiliconTruthTrackSeeding"
);
31
32
unsigned
int
get_min_clusters_per_track
()
const
33
{
34
return
_min_clusters_per_track
;
35
}
36
37
void
set_min_clusters_per_track
(
unsigned
int
minClustersPerTrack)
38
{
39
_min_clusters_per_track
= minClustersPerTrack;
40
}
41
42
void
set_min_layer
(
unsigned
int
minLayer)
43
{
44
_min_layer
= minLayer;
45
}
46
47
void
set_max_layer
(
unsigned
int
maxLayer)
48
{
49
_max_layer
= maxLayer;
50
}
51
53
double
get_min_momentum
()
const
54
{
55
return
_min_momentum
;
56
}
57
59
void
set_min_momentum
(
double
m
)
60
{
61
_min_momentum
=
m
;
62
}
63
64
protected
:
65
int
Setup
(
PHCompositeNode
* topNode)
override
;
66
67
int
Process
(
PHCompositeNode
* topNode)
override
;
68
69
int
End
()
override
;
70
71
private
:
73
int
GetNodes
(
PHCompositeNode
* topNode);
74
75
PHG4TruthInfoContainer
*
_g4truth_container
=
nullptr
;
76
77
PHG4HitContainer
*
phg4hits_tpc
=
nullptr
;
78
PHG4HitContainer
*
phg4hits_intt
=
nullptr
;
79
PHG4HitContainer
*
phg4hits_mvtx
=
nullptr
;
80
PHG4HitContainer
*
phg4hits_micromegas
=
nullptr
;
81
82
TrkrHitTruthAssoc
*
hittruthassoc
=
nullptr
;
83
TrkrClusterHitAssoc
*
clusterhitassoc
=
nullptr
;
84
85
unsigned
int
_min_clusters_per_track
= 2;
86
unsigned
int
_min_layer
= 0;
87
unsigned
int
_max_layer
= 6;
88
90
double
_min_momentum
= 50
e
-3;
91
};
92
93
#endif
coresoftware
blob
master
offline
packages
trackreco
PHSiliconTruthTrackSeeding.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration