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
PHG4DstCompressReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4DstCompressReco.h
1
#ifndef G4EVAL_PHG4DSTCOMPRESSRECO_H
2
#define G4EVAL_PHG4DSTCOMPRESSRECO_H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <set>
7
#include <string>
8
9
class
PHCompositeNode
;
10
11
class
PHG4CellContainer
;
12
class
PHG4HitContainer
;
13
class
SvtxPHG4ParticleMap
;
14
class
PHG4ParticleSvtxMap
;
15
class
PHG4TruthInfoContainer
;
16
17
class
RawTowerContainer
;
18
19
class
PHG4DstCompressReco
:
public
SubsysReco
20
{
21
public
:
22
PHG4DstCompressReco
(
const
std::string
&
name
=
"PHG4DstCompressReco"
);
23
~PHG4DstCompressReco
()
override
{}
24
26
int
InitRun
(
PHCompositeNode
*topNode)
override
;
27
29
int
process_event
(
PHCompositeNode
*topNode)
override
;
30
31
void
AddHitContainer
(
const
std::string
&
name
) {
_compress_g4hit_names
.insert(name); }
32
void
AddCellContainer
(
const
std::string
&
name
) {
_compress_g4cell_names
.insert(name); }
33
void
AddTowerContainer
(
const
std::string
&
name
) {
_compress_tower_names
.insert(name); }
35
void
KeepRecoTrackMatchedParticles
(
bool
b
=
true
) {
m_keepRecoTrackMatchedParticles
=
b
; }
36
37
private
:
38
void
SearchG4HitNodes
(
PHCompositeNode
*topNode);
39
42
bool
m_keepRecoTrackMatchedParticles
=
false
;
43
44
PHG4TruthInfoContainer
*
_truth_info
=
nullptr
;
45
PHG4ParticleSvtxMap
*
_truthRecoMap
=
nullptr
;
46
SvtxPHG4ParticleMap
*
_recoTruthMap
=
nullptr
;
47
std::set<std::string>
_compress_g4hit_names
;
48
std::set<std::string>
_compress_g4cell_names
;
49
std::set<std::string>
_compress_tower_names
;
50
51
std::set<PHG4CellContainer *>
_g4cells
;
52
std::set<PHG4HitContainer *>
_g4hits
;
53
std::set<PHG4HitContainer *>
_keep_g4hits
;
54
55
std::set<RawTowerContainer *>
_towers
;
56
};
57
58
#endif
coresoftware
blob
master
simulation
g4simulation
g4eval
PHG4DstCompressReco.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration