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
QAG4SimulationMicromegas.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file QAG4SimulationMicromegas.h
1
#ifndef QA_QAG4SIMULATIONMICROMEGAS_H
2
#define QA_QAG4SIMULATIONMICROMEGAS_H
3
4
#include <
trackbase/ClusterErrorPara.h
>
5
#include <
trackbase/TrkrDefs.h
>
6
7
#include <
fun4all/SubsysReco.h
>
8
9
#include <set>
10
#include <string>
11
12
class
ActsGeometry
;
13
class
PHCompositeNode
;
14
class
PHG4CylinderGeomContainer
;
15
class
PHG4Hit
;
16
class
PHG4Particle
;
17
class
PHG4HitContainer
;
18
class
TrkrClusterContainer
;
19
class
TrkrHitSetContainer
;
20
class
TrkrClusterHitAssoc
;
21
class
TrkrHitTruthAssoc
;
22
class
PHG4TruthInfoContainer
;
23
class
SvtxEvalStack
;
24
26
class
QAG4SimulationMicromegas
:
public
SubsysReco
27
{
28
public
:
30
QAG4SimulationMicromegas
(
const
std::string
&
name
=
"QAG4SimulationMicromegas"
);
31
32
int
InitRun
(
PHCompositeNode
* topNode)
override
;
33
int
process_event
(
PHCompositeNode
* topNode)
override
;
34
35
private
:
37
std::string
get_histo_prefix
()
const
;
38
std::unique_ptr<SvtxEvalStack>
m_svtxEvalStack
;
40
int
load_nodes
(
PHCompositeNode
*);
41
43
void
evaluate_hits
();
44
46
void
evaluate_clusters
();
47
48
// get geant hits associated to a cluster
49
using
G4HitSet
= std::set<PHG4Hit*>;
50
G4HitSet
find_g4hits
(
TrkrDefs::cluskey
)
const
;
51
53
bool
m_initialized
=
false
;
54
56
PHG4CylinderGeomContainer
*
m_micromegas_geonode
=
nullptr
;
57
59
ActsGeometry
*
m_tGeometry
=
nullptr
;
60
62
TrkrClusterContainer
*
m_cluster_map
=
nullptr
;
63
65
TrkrHitSetContainer
*
m_hitsets
=
nullptr
;
66
68
TrkrClusterHitAssoc
*
m_cluster_hit_map
=
nullptr
;
69
71
TrkrHitTruthAssoc
*
m_hit_truth_map
=
nullptr
;
72
74
PHG4HitContainer
*
m_g4hits_micromegas
=
nullptr
;
75
76
PHG4TruthInfoContainer
*
m_truthContainer
;
78
/* it is filled at Init stage. It should not change for the full run */
79
std::set<int>
m_layers
;
80
ClusterErrorPara
_ClusErrPara
;
81
};
82
83
#endif
coresoftware
blob
master
offline
QA
modules
QAG4SimulationMicromegas.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration