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
G4_Global.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4_Global.C
1
2
void
Global_Reco
(
int
verbosity
= 0) {
3
4
//---------------
5
// Load libraries
6
//---------------
7
8
gSystem->Load(
"libfun4all.so"
);
9
gSystem->Load(
"libg4vertex.so"
);
10
11
//---------------
12
// Fun4All server
13
//---------------
14
15
Fun4AllServer
*se =
Fun4AllServer::instance
();
16
17
GlobalVertexReco
* gblvertex =
new
GlobalVertexReco
();
18
se->
registerSubsystem
(gblvertex);
19
20
return
;
21
}
22
23
void
Global_FastSim
(
int
verbosity
= 0) {
24
25
//---------------
26
// Load libraries
27
//---------------
28
29
gSystem->Load(
"libfun4all.so"
);
30
gSystem->Load(
"libg4vertex.so"
);
31
32
//---------------
33
// Fun4All server
34
//---------------
35
36
Fun4AllServer
*se =
Fun4AllServer::instance
();
37
38
GlobalVertexFastSimReco
* gblvertex =
new
GlobalVertexFastSimReco
();
39
gblvertex->
set_x_smearing
(0.0100);
// 100 um
40
gblvertex->
set_y_smearing
(0.0100);
// 100 um
41
gblvertex->
set_z_smearing
(0.0150);
// 150 um
42
gblvertex->
set_t_smearing
(0.002);
// 20 ps
43
se->
registerSubsystem
(gblvertex);
44
45
return
;
46
}
analysis
blob
master
EICAnalysis
macros
leptoquarks_fun4all
G4_Global.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:48
using
1.8.2 with
sPHENIX GitHub integration