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
Trkr_TruthTables.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Trkr_TruthTables.C
1
#ifndef MACRO_TRKRTRUTHTABLES_C
2
#define MACRO_TRKRTRUTHTABLES_C
3
4
#include <
GlobalVariables.C
>
5
6
#include <
g4eval/SvtxTruthRecoTableEval.h
>
7
8
#include <
fun4all/Fun4AllServer.h
>
9
10
R__LOAD_LIBRARY(libg4eval.so)
11
12
void
build_truthreco_tables
()
13
{
14
int
verbosity
= std::max(
Enable::VERBOSITY
,
Enable::TRACKING_VERBOSITY
);
15
Fun4AllServer
* se =
Fun4AllServer::instance
();
16
17
// this module builds high level truth track association table.
18
// If this module is used, this table should be called before any evaluator calls.
19
// Removing this module, evaluation will still work but trace truth association through the layers of G4-hit-cluster
20
SvtxTruthRecoTableEval
*tables =
new
SvtxTruthRecoTableEval
();
21
tables->
Verbosity
(verbosity);
22
se->
registerSubsystem
(tables);
23
24
return
;
25
}
26
27
#endif
macros
blob
master
common
Trkr_TruthTables.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:27
using
1.8.2 with
sPHENIX GitHub integration