ECCE @ EIC Software
Reference for
ECCE @ 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
QAG4SimulationTracking.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file QAG4SimulationTracking.h
1
#ifndef QA_QAG4SimulationTracking_H
2
#define QA_QAG4SimulationTracking_H
3
4
#include <
g4eval/SvtxEvalStack.h
>
5
6
#include <
trackbase/TrkrDefs.h
>
// for cluskey
7
8
#include <
fun4all/SubsysReco.h
>
9
10
#include <memory>
11
#include <set>
12
#include <string>
13
#include <utility>
14
15
class
PHCompositeNode
;
16
class
SvtxTrackMap
;
17
class
PHG4Hit
;
18
class
PHG4HitContainer
;
19
class
TrkrHitSetContainer
;
20
class
PHG4TruthInfoContainer
;
21
class
TrkrClusterContainer
;
22
class
TrkrClusterHitAssoc
;
23
class
TrkrHitTruthAssoc
;
24
26
class
QAG4SimulationTracking
:
public
SubsysReco
27
{
28
public
:
29
QAG4SimulationTracking
(
const
std::string &
name
=
"QAG4SimulationTracking"
);
30
virtual
~QAG4SimulationTracking
() =
default
;
31
32
int
Init
(
PHCompositeNode
*topNode);
33
int
InitRun
(
PHCompositeNode
*topNode);
34
int
process_event
(
PHCompositeNode
*topNode);
35
36
// common prefix for QA histograms
37
std::string
get_histo_prefix
();
38
42
void
addEmbeddingID
(
int
embeddingID);
43
45
void
setEtaRange
(
double
low,
double
high)
46
{
47
m_etaRange
.first = low;
48
m_etaRange
.second = high;
49
}
50
52
void
setUniqueTrackingMatch
(
bool
b
)
53
{
54
m_uniqueTrackingMatch
=
b
;
55
}
56
57
private
:
59
int
load_nodes
(
PHCompositeNode
*);
60
61
// get geant hits associated to a cluster
62
using
G4HitSet
= std::set<PHG4Hit *>;
63
G4HitSet
find_g4hits
(
TrkrDefs::cluskey
)
const
;
64
65
std::unique_ptr<SvtxEvalStack>
m_svtxEvalStack
;
66
std::set<int>
m_embeddingIDs
;
67
69
std::pair<double, double>
m_etaRange
= {-1, 1};
70
72
bool
m_uniqueTrackingMatch
=
true
;
73
74
PHG4TruthInfoContainer
*
m_truthContainer
=
nullptr
;
75
SvtxTrackMap
*
m_trackMap
=
nullptr
;
76
77
TrkrHitSetContainer
*
m_hitsets
=
nullptr
;
78
TrkrClusterContainer
*
m_cluster_map
=
nullptr
;
79
TrkrClusterHitAssoc
*
m_cluster_hit_map
=
nullptr
;
80
TrkrHitTruthAssoc
*
m_hit_truth_map
=
nullptr
;
81
82
PHG4HitContainer
*
m_g4hits_tpc
=
nullptr
;
83
PHG4HitContainer
*
m_g4hits_intt
=
nullptr
;
84
PHG4HitContainer
*
m_g4hits_mvtx
=
nullptr
;
85
PHG4HitContainer
*
m_g4hits_micromegas
=
nullptr
;
86
};
87
88
#endif // QA_QAG4SimulationTracking_H
coresoftware
blob
master
offline
QA
modules
QAG4SimulationTracking.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:40
using
1.8.2 with
ECCE GitHub integration