EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
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>
// for string
13
14
// forward declarations
15
class
PHCompositeNode
;
16
class
PHG4TruthInfoContainer
;
17
class
PHG4HitContainer
;
18
class
TrkrClusterHitAssoc
;
19
class
TrkrHitTruthAssoc
;
20
21
//class SvtxHitMap;
22
//class PHG4CellContainer;
23
28
29
class
PHSiliconTruthTrackSeeding
:
public
PHTrackSeeding
30
{
31
public
:
32
PHSiliconTruthTrackSeeding
(
const
std::string&
name
=
"PHSiliconTruthTrackSeeding"
);
33
34
unsigned
int
get_min_clusters_per_track
()
const
35
{
36
return
_min_clusters_per_track
;
37
}
38
39
void
set_min_clusters_per_track
(
unsigned
int
minClustersPerTrack)
40
{
41
_min_clusters_per_track
= minClustersPerTrack;
42
}
43
44
void
set_min_layer
(
unsigned
int
minLayer)
45
{
46
_min_layer
= minLayer;
47
}
48
49
void
set_max_layer
(
unsigned
int
maxLayer)
50
{
51
_max_layer
= maxLayer;
52
}
53
55
double
get_min_momentum
()
const
56
{
57
return
_min_momentum
;
58
}
59
61
void
set_min_momentum
(
double
m
)
62
{
63
_min_momentum
=
m
;
64
}
65
66
protected
:
67
int
Setup
(
PHCompositeNode
* topNode)
override
;
68
69
int
Process
(
PHCompositeNode
* topNode)
override
;
70
71
int
End
()
override
;
72
73
private
:
75
int
GetNodes
(
PHCompositeNode
* topNode);
76
77
PHG4TruthInfoContainer
*
_g4truth_container
=
nullptr
;
78
79
PHG4HitContainer
*
phg4hits_tpc
=
nullptr
;
80
PHG4HitContainer
*
phg4hits_intt
=
nullptr
;
81
PHG4HitContainer
*
phg4hits_mvtx
=
nullptr
;
82
PHG4HitContainer
*
phg4hits_micromegas
=
nullptr
;
83
84
TrkrHitTruthAssoc
*
hittruthassoc
=
nullptr
;
85
TrkrClusterHitAssoc
*
clusterhitassoc
=
nullptr
;
86
87
unsigned
int
_min_clusters_per_track
= 2;
88
unsigned
int
_min_layer
= 0;
89
unsigned
int
_max_layer
= 6;
90
92
double
_min_momentum
= 50
e
-3;
93
};
94
95
#endif
fun4all_coresoftware
blob
master
offline
packages
trackreco
PHSiliconTruthTrackSeeding.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:47
using
1.8.2 with
EIC GitHub integration