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
QAG4SimulationMvtx.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file QAG4SimulationMvtx.h
1
#ifndef QA_QAG4SIMULATIONMVTX_H
2
#define QA_QAG4SIMULATIONMVTX_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
PHCompositeNode
;
13
class
PHG4Hit
;
14
class
PHG4HitContainer
;
15
class
TrkrClusterContainer
;
16
class
TrkrClusterHitAssoc
;
17
class
TrkrHitTruthAssoc
;
18
class
ActsGeometry
;
19
21
class
QAG4SimulationMvtx
:
public
SubsysReco
22
{
23
public
:
25
QAG4SimulationMvtx
(
const
std::string
&
name
=
"QAG4SimulationMvtx"
);
26
27
int
InitRun
(
PHCompositeNode
* topNode)
override
;
28
int
process_event
(
PHCompositeNode
* topNode)
override
;
29
30
private
:
32
std::string
get_histo_prefix
()
const
;
33
35
int
load_nodes
(
PHCompositeNode
*);
36
38
void
evaluate_clusters
();
39
40
// get geant hits associated to a cluster
41
using
G4HitSet
= std::set<PHG4Hit*>;
42
G4HitSet
find_g4hits
(
TrkrDefs::cluskey
)
const
;
43
45
bool
m_initialized
=
false
;
46
48
TrkrClusterContainer
*
m_cluster_map
=
nullptr
;
49
51
TrkrClusterHitAssoc
*
m_cluster_hit_map
=
nullptr
;
52
54
TrkrHitTruthAssoc
*
m_hit_truth_map
=
nullptr
;
55
57
ActsGeometry
*
m_tGeometry
=
nullptr
;
58
60
PHG4HitContainer
*
m_g4hits_mvtx
=
nullptr
;
61
63
/* it is filled at Init stage. It should not change for the full run */
64
std::set<int>
m_layers
;
65
ClusterErrorPara
_ClusErrPara
;
66
};
67
68
#endif
coresoftware
blob
master
offline
QA
modules
QAG4SimulationMvtx.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration