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
DSTTrackInfoReader.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DSTTrackInfoReader.h
1
#ifndef G4EVAL_DSTTRACKINFOREADER_H
2
#define G4EVAL_DSTTRACKINFOREADER_H
3
9
// #include "DSTContainerv3.h"
10
11
#include <
fun4all/SubsysReco.h
>
12
#include <
trackbase/TrkrClusterContainerv4.h
>
13
#include <
trackbase/TrkrClusterv5.h
>
14
#include <
trackbase/TrkrDefs.h
>
15
#include <
trackbase_historic/TrackInfoContainer_v1.h
>
16
#include <
trackbase_historic/TrackSeedContainer_v1.h
>
17
#include <
trackbase_historic/TrackSeed_v1.h
>
18
19
#include <map>
20
#include <set>
21
#include <string>
22
#include <vector>
23
24
class
PHG4Hit
;
25
class
PHG4HitContainer
;
26
class
PHG4Particle
;
27
class
PHG4TruthInfoContainer
;
28
class
SvtxTrack
;
29
class
SvtxTrackMap
;
30
// class DSTContainer;
31
class
TrkrCluster
;
32
class
TrkrClusterContainer
;
33
class
TrkrClusterHitAssoc
;
34
class
TrkrHitSetContainer
;
35
class
TrkrHitTruthAssoc
;
36
37
class
DSTTrackInfoReader
:
public
SubsysReco
38
{
39
public
:
41
DSTTrackInfoReader
(
const
std::string
& =
"DSTTrackInfoReader"
);
42
44
int
InitRun
(
PHCompositeNode
*)
override
;
45
47
int
process_event
(
PHCompositeNode
*)
override
;
48
49
enum
Flags
50
{
51
WriteEvent
= 1 << 0,
52
WriteClusters
= 1 << 1,
53
WriteTracks
= 1 << 2
54
};
55
57
void
set_flags
(
int
flags)
58
{
59
m_flags
= flags;
60
}
61
62
private
:
64
int
load_nodes
(
PHCompositeNode
*);
65
66
void
evaluate_track_info
();
67
68
// SvtxTrack recover_track(DSTContainerv3::TrackStruct);
69
70
// TrkrCluster recover_cluster(DSTContainerv3::ClusterStruct);
71
72
TrackInfoContainer_v1
*
m_track_info_container
=
nullptr
;
73
// DSTContainer* m_container = nullptr;
74
76
int
m_flags
=
WriteEvent
|
WriteClusters
|
WriteTracks
;
77
79
80
// debugging helpers
81
// bool dryrun = false;
82
// bool generateKey = false;
83
};
84
85
#endif // G4EVAL_DSTTRACKINFOREADER_H
coresoftware
blob
master
simulation
g4simulation
g4eval
DSTTrackInfoReader.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration