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
DSTTrackInfoWriter.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DSTTrackInfoWriter.h
1
#ifndef G4EVAL_DSTTRACKINFOWRITER_H
2
#define G4EVAL_DSTTRACKINFOWRITER_H
3
10
#include <
fun4all/SubsysReco.h
>
11
#include <
trackbase/TrkrDefs.h
>
12
#include <
trackbase_historic/SvtxTrackInfo_v1.h
>
13
#include <
trackbase_historic/SvtxTrack_v4.h
>
14
#include <
trackbase_historic/TrackInfoContainer_v1.h
>
15
#include <
trackbase_historic/TrackStateInfo_v1.h
>
16
17
#include <map>
18
#include <set>
19
#include <string>
20
#include <vector>
21
22
#include <TClonesArray.h>
23
#include <TFile.h>
24
#include <TTree.h>
25
26
class
PHG4Hit
;
27
class
PHG4HitContainer
;
28
class
PHG4Particle
;
29
class
PHG4TruthInfoContainer
;
30
class
SvtxTrack
;
31
class
SvtxTrackMap
;
32
// class DSTContainerv3;
33
// class DSTContainer;
34
class
TrkrCluster
;
35
class
TrkrClusterContainer
;
36
class
TrkrClusterHitAssoc
;
37
class
TrkrHitSetContainer
;
38
class
TrkrHitTruthAssoc
;
39
class
TrackSeedContainer
;
40
41
class
DSTTrackInfoWriter
:
public
SubsysReco
42
{
43
public
:
45
DSTTrackInfoWriter
(
const
std::string
& =
"DSTTrackInfoWriter"
);
46
48
int
InitRun
(
PHCompositeNode
* topNode)
override
;
49
51
int
process_event
(
PHCompositeNode
* topNode)
override
;
52
53
enum
Flags
54
{
55
WriteEvent
= 1 << 0,
56
WriteClusters
= 1 << 1,
57
WriteTracks
= 1 << 2
58
};
59
61
void
set_flags
(
int
flags)
62
{
63
m_flags
= flags;
64
}
65
66
private
:
68
int
load_nodes
(
PHCompositeNode
*);
69
71
void
evaluate_track_info
();
72
73
TrackInfoContainer_v1
*
m_track_info_container
=
nullptr
;
74
76
int
m_flags
=
WriteEvent
|
WriteClusters
|
WriteTracks
;
77
79
SvtxTrackMap
*
m_track_map
=
nullptr
;
80
};
81
82
#endif // G4EVAL_DSTTrackInfoWRITER_H
coresoftware
blob
master
simulation
g4simulation
g4eval
DSTTrackInfoWriter.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration