EIC Software
Reference for
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
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/TrkrDefs.h
>
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <set>
9
#include <string>
10
11
class
PHCompositeNode
;
12
class
PHG4CylinderGeomContainer
;
13
class
PHG4Hit
;
14
class
PHG4HitContainer
;
15
class
TrkrClusterContainer
;
16
class
TrkrHitSetContainer
;
17
class
TrkrClusterHitAssoc
;
18
class
TrkrHitTruthAssoc
;
19
20
struct
ActsSurfaceMaps
;
21
struct
ActsTrackingGeometry
;
22
24
class
QAG4SimulationMicromegas
:
public
SubsysReco
25
{
26
public
:
28
QAG4SimulationMicromegas
(
const
std::string&
name
=
"QAG4SimulationMicromegas"
);
29
30
int
InitRun
(
PHCompositeNode
* topNode)
override
;
31
int
process_event
(
PHCompositeNode
* topNode)
override
;
32
33
private
:
35
std::string
get_histo_prefix
()
const
;
36
38
int
load_nodes
(
PHCompositeNode
*);
39
41
void
evaluate_hits
();
42
44
void
evaluate_clusters
();
45
46
// get geant hits associated to a cluster
47
using
G4HitSet
= std::set<PHG4Hit*>;
48
G4HitSet
find_g4hits
(
TrkrDefs::cluskey
)
const
;
49
51
bool
m_initialized
=
false
;
52
54
PHG4CylinderGeomContainer
*
m_micromegas_geonode
=
nullptr
;
55
57
ActsSurfaceMaps
*
m_surfmaps
=
nullptr
;
58
60
ActsTrackingGeometry
*
m_tGeometry
=
nullptr
;
61
63
TrkrClusterContainer
*
m_cluster_map
=
nullptr
;
64
66
TrkrHitSetContainer
*
m_hitsets
=
nullptr
;
67
69
TrkrClusterHitAssoc
*
m_cluster_hit_map
=
nullptr
;
70
72
TrkrHitTruthAssoc
*
m_hit_truth_map
=
nullptr
;
73
75
PHG4HitContainer
*
m_g4hits_micromegas
=
nullptr
;
76
78
/* it is filled at Init stage. It should not change for the full run */
79
std::set<int>
m_layers
;
80
};
81
82
#endif
fun4all_coresoftware
blob
master
offline
QA
modules
QAG4SimulationMicromegas.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:47
using
1.8.2 with
EIC GitHub integration