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
PHTrackSetMerging.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHTrackSetMerging.h
1
7
#ifndef TRACKRECO_PHTRACKSETMERGING_H
8
#define TRACKRECO_PHTRACKSETMERGING_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
SvtxVertexMap
;
22
class
SvtxTrackMap
;
23
28
class
PHTrackSetMerging
:
public
SubsysReco
29
{
30
public
:
31
PHTrackSetMerging
(
const
std::string
&
name
=
"PHTrackSetMerging"
);
32
~PHTrackSetMerging
()
override
{}
33
34
int
Init
(
PHCompositeNode
*topNode)
override
;
35
int
InitRun
(
PHCompositeNode
*topNode)
override
;
36
int
process_event
(
PHCompositeNode
*topNode)
override
;
37
int
End
(
PHCompositeNode
*topNode)
override
;
38
int
Setup
(
PHCompositeNode
*topNode);
39
void
set_track_map_name_in1
(
const
std::string
&map_name) {
_track_map_name_in1
= map_name; }
40
void
set_track_map_name_in2
(
const
std::string
&map_name) {
_track_map_name_in2
= map_name; }
41
void
set_track_map_name_out
(
const
std::string
&map_name) {
_track_map_name_out
= map_name; }
42
43
protected
:
46
// virtual
47
50
virtual
int
Process
(
PHCompositeNode
*topNode) = 0;
51
53
// virtual int End() = 0;
54
55
//SvtxClusterMap *_cluster_map;
56
TrkrClusterContainer
*
_cluster_map
=
nullptr
;
57
SvtxVertexMap
*
_vertex_map
=
nullptr
;
58
SvtxTrackMap
*
_track_map_in1
=
nullptr
;
59
SvtxTrackMap
*
_track_map_in2
=
nullptr
;
60
SvtxTrackMap
*
_track_map_out
=
nullptr
;
61
62
std::string
_track_map_name_in1
=
"SvtxTrackMap1"
;
63
std::string
_track_map_name_in2
=
"SvtxTrackMap2"
;
64
std::string
_track_map_name_out
=
"SvtxTrackMapMerged"
;
65
66
private
:
68
int
CreateNodes
(
PHCompositeNode
*topNode);
69
71
int
GetNodes
(
PHCompositeNode
*topNode);
72
};
73
74
#endif
coresoftware
blob
master
offline
packages
trackreco
PHTrackSetMerging.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration