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
QAG4SimulationTpc.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file QAG4SimulationTpc.h
1
#ifndef QA_QAG4SIMULATIONTPC_H
2
#define QA_QAG4SIMULATIONTPC_H
3
4
#include <
g4eval/SvtxEvalStack.h
>
// for SvtxEvalStack
5
6
#include <
trackbase/ClusterErrorPara.h
>
7
#include <
trackbase/TrkrDefs.h
>
8
9
#include <
fun4all/SubsysReco.h
>
10
11
#include <map>
12
#include <memory>
13
#include <set>
14
#include <string>
15
16
class
PHCompositeNode
;
17
class
PHG4Hit
;
18
class
PHG4HitContainer
;
19
class
PHG4TruthInfoContainer
;
20
class
TrkrClusterContainer
;
21
class
TrkrClusterHitAssoc
;
22
class
TrkrHitTruthAssoc
;
23
class
SvtxEvalStack
;
24
class
ActsGeometry
;
25
27
class
QAG4SimulationTpc
:
public
SubsysReco
28
{
29
public
:
31
QAG4SimulationTpc
(
const
std::string
&
name
=
"QAG4SimulationTpc"
);
32
33
int
InitRun
(
PHCompositeNode
* topNode)
override
;
34
int
process_event
(
PHCompositeNode
* topNode)
override
;
35
36
private
:
38
std::string
get_histo_prefix
()
const
;
39
40
std::unique_ptr<SvtxEvalStack>
m_svtxEvalStack
;
41
PHG4TruthInfoContainer
*
m_truthContainer
;
42
44
int
load_nodes
(
PHCompositeNode
*);
45
47
void
evaluate_clusters
();
48
49
// get geant hits associated to a cluster
50
using
G4HitSet
= std::set<PHG4Hit*>;
51
G4HitSet
find_g4hits
(
TrkrDefs::cluskey
)
const
;
52
54
bool
m_initialized
=
false
;
55
57
ActsGeometry
*
m_tGeometry
=
nullptr
;
58
60
TrkrClusterContainer
*
m_cluster_map
=
nullptr
;
61
63
TrkrClusterHitAssoc
*
m_cluster_hit_map
=
nullptr
;
64
66
TrkrHitTruthAssoc
*
m_hit_truth_map
=
nullptr
;
67
69
PHG4HitContainer
*
m_g4hits_tpc
=
nullptr
;
70
72
/* it is filled at Init stage. It should not change for the full run */
73
std::set<int>
m_layers
;
74
std::multimap<int, int>
m_layer_region_map
;
75
ClusterErrorPara
_ClusErrPara
;
76
};
77
78
#endif
coresoftware
blob
master
offline
QA
modules
QAG4SimulationTpc.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration