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
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
EICPhysicsList
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
BaseTruthEval.cc
BaseTruthEval.h
CaloEvalStack.cc
CaloEvalStack.h
CaloEvaluator.cc
CaloEvaluator.h
CaloRawClusterEval.cc
CaloRawClusterEval.h
CaloRawTowerEval.cc
CaloRawTowerEval.h
CaloTruthEval.cc
CaloTruthEval.h
compressor_generator.h
DSTCompressor.h
DSTEmulator.cc
DSTEmulator.h
EventEvaluator.cc
EventEvaluator.h
JetEvalStack.cc
JetEvalStack.h
JetEvaluator.cc
JetEvaluator.h
JetRecoEval.cc
JetRecoEval.h
JetTruthEval.cc
JetTruthEval.h
MomentumEvaluator.cc
MomentumEvaluator.h
PHG4DstCompressReco.cc
PHG4DstCompressReco.h
PHG4DSTReader.cc
PHG4DSTReader.h
SvtxClusterEval.cc
SvtxClusterEval.h
SvtxEvalStack.cc
SvtxEvalStack.h
SvtxEvaluator.cc
SvtxEvaluator.h
SvtxHitEval.cc
SvtxHitEval.h
SvtxTrackEval.cc
SvtxTrackEval.h
SvtxTruthEval.cc
SvtxTruthEval.h
SvtxVertexEval.cc
SvtxVertexEval.h
TrackEvaluation.cc
TrackEvaluation.h
TrackEvaluationContainer.h
TrackEvaluationContainerLinkDef.h
TrackEvaluationContainerv1.cc
TrackEvaluationContainerv1.h
TrackEvaluationContainerv1LinkDef.h
g4gdml
g4histos
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4tpc
g4trackfastsim
g4vertex
tpcresponse
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BaseTruthEval.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BaseTruthEval.h
1
#ifndef G4EVAL_BASETRUTHEVAL_H
2
#define G4EVAL_BASETRUTHEVAL_H
3
4
#include <set>
5
6
class
PHCompositeNode
;
7
class
PHG4Hit
;
8
class
PHG4Particle
;
9
class
PHG4Shower
;
10
class
PHG4TruthInfoContainer
;
11
class
PHG4VtxPoint
;
12
13
class
BaseTruthEval
14
{
15
public
:
16
explicit
BaseTruthEval
(
PHCompositeNode
* topNode);
17
virtual
~BaseTruthEval
();
18
20
void
next_event
(
PHCompositeNode
* topNode);
21
24
void
set_strict
(
bool
strict) {
m_Strict
= strict; }
25
27
unsigned
int
get_errors
() {
return
m_Errors
; }
28
30
void
set_verbosity
(
int
verbosity) {
m_Verbosity
= verbosity; }
31
32
// ---reduced sim node or better---------------------------------------------
33
34
bool
has_reduced_node_pointers
();
35
37
int
get_embed
(
PHG4Particle
*
particle
);
38
40
PHG4VtxPoint
*
get_vertex
(
PHG4Particle
*
particle
);
41
43
bool
is_primary
(
PHG4Shower
* shower);
44
46
bool
is_primary
(
PHG4Particle
*
particle
);
47
49
PHG4Shower
*
get_primary_shower
(
PHG4Shower
* shower);
50
52
PHG4Shower
*
get_primary_shower
(
PHG4Particle
*
particle
);
53
55
PHG4Particle
*
get_primary_particle
(
PHG4Particle
*
particle
);
56
58
PHG4Particle
*
get_primary_particle
(
PHG4Shower
* shower);
59
61
std::set<PHG4Shower*>
all_secondary_showers
(
PHG4Shower
* shower);
62
64
bool
are_same_shower
(
PHG4Shower
*
s1
,
PHG4Shower
* s2);
65
67
bool
are_same_particle
(
PHG4Particle
* p1,
PHG4Particle
* p2);
68
70
bool
are_same_vertex
(
PHG4VtxPoint
* vtx1,
PHG4VtxPoint
* vtx2);
71
72
// ---full sim node required--------------------------------------------------
73
74
bool
has_full_node_pointers
() {
return
has_reduced_node_pointers
(); }
75
77
PHG4Particle
*
get_particle
(
PHG4Hit
* g4hit);
78
80
PHG4Shower
*
get_primary_shower
(
PHG4Hit
* g4hit);
81
83
PHG4Particle
*
get_primary_particle
(
PHG4Hit
* g4hit);
84
86
PHG4Particle
*
get_particle
(
const
int
trackid);
87
89
bool
is_g4hit_from_primary_shower
(
PHG4Hit
* g4hit,
PHG4Shower
* shower);
90
92
bool
is_g4hit_from_particle
(
PHG4Hit
* g4hit,
PHG4Particle
*
particle
);
93
94
private
:
95
void
get_node_pointers
(
PHCompositeNode
* topNode);
96
97
PHG4TruthInfoContainer
*
m_TruthInfo
;
98
99
bool
m_Strict
;
100
int
m_Verbosity
;
101
unsigned
int
m_Errors
;
102
};
103
104
#endif // G4EVAL_BASETRUTHEVAL_H
coresoftware
blob
master
simulation
g4simulation
g4eval
BaseTruthEval.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:42
using
1.8.2 with
ECCE GitHub integration