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
SvtxEvalStack.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxEvalStack.h
1
#ifndef G4EVAL_SVTXEVALSTACK_H
2
#define G4EVAL_SVTXEVALSTACK_H
3
4
#include "
SvtxVertexEval.h
"
5
6
class
PHCompositeNode
;
7
class
SvtxClusterEval
;
8
class
SvtxHitEval
;
9
class
SvtxTrackEval
;
10
class
SvtxTruthEval
;
11
12
#include <string>
// for string
13
14
// This user class provides pointers to the
15
// full set of tracking evaluators and
16
// protects the user from future introduction
17
// of new eval heirachies (new eval objects can
18
// be introduced without rewrites)
19
20
class
SvtxEvalStack
21
{
22
public
:
23
SvtxEvalStack
(
PHCompositeNode
* topNode);
24
virtual
~SvtxEvalStack
() {}
25
26
void
next_event
(
PHCompositeNode
* topNode);
27
void
do_caching
(
bool
do_cache) {
_vertexeval
.
do_caching
(do_cache); }
28
void
set_strict
(
bool
strict) {
_vertexeval
.
set_strict
(strict); }
29
//void set_over_write_vertexmap(bool over_write) {_vertexeval.set_over_write_vertexmap(over_write);}
30
void
set_use_initial_vertex
(
bool
use_init_vtx) {
_vertexeval
.
set_use_initial_vertex
(use_init_vtx); }
31
void
set_use_genfit_vertex
(
bool
use_genfit_vtx) {
_vertexeval
.
set_use_genfit_vertex
(use_genfit_vtx); }
32
void
set_verbosity
(
int
verbosity) {
_vertexeval
.
set_verbosity
(verbosity); }
33
34
SvtxVertexEval
*
get_vertex_eval
() {
return
&
_vertexeval
; }
35
SvtxTrackEval
*
get_track_eval
() {
return
_vertexeval
.
get_track_eval
(); }
36
SvtxClusterEval
*
get_cluster_eval
() {
return
_vertexeval
.
get_cluster_eval
(); }
37
SvtxHitEval
*
get_hit_eval
() {
return
_vertexeval
.
get_hit_eval
(); }
38
SvtxTruthEval
*
get_truth_eval
() {
return
_vertexeval
.
get_truth_eval
(); }
39
40
unsigned
int
get_errors
() {
return
_vertexeval
.
get_errors
(); }
41
42
void
set_track_nodename
(
const
std::string&
name
) {
_vertexeval
.
set_track_nodename
(name); }
43
44
private
:
45
SvtxVertexEval
_vertexeval
;
// right now this is the top-level eval
46
};
47
48
#endif // G4EVAL_SVTXEVALSTACK_H
fun4all_coresoftware
blob
master
simulation
g4simulation
g4eval
SvtxEvalStack.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:49
using
1.8.2 with
EIC GitHub integration