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_Bbc.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4_Bbc.C
1
2
void
BbcInit
() {}
3
4
double
Bbc
(
PHG4Reco
* g4Reco,
5
double
radius,
6
const
int
absorberactive = 0,
7
int
verbosity
= 0) {
8
9
// the BBC is a fast sim only at the moment
10
// this is a place holder for the G4 material setup
11
12
return
radius;
13
}
14
15
void
Bbc_Reco
(
int
verbosity
= 0) {
16
17
//---------------
18
// Load libraries
19
//---------------
20
21
gSystem->Load(
"libfun4all.so"
);
22
gSystem->Load(
"libg4bbc.so"
);
23
24
//---------------
25
// Fun4All server
26
//---------------
27
28
Fun4AllServer
*se =
Fun4AllServer::instance
();
29
30
BbcVertexFastSimReco* bbcvertex =
new
BbcVertexFastSimReco();
31
bbcvertex->set_z_smearing(0.0);
// 6 mm, temporarily perfect for TPC initial vertexing
32
bbcvertex->set_t_smearing(0.002);
// 20 ps
33
se->
registerSubsystem
(bbcvertex);
34
35
return
;
36
}
analysis
blob
master
EICAnalysis
macros
leptoquarks_fun4all
G4_Bbc.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:48
using
1.8.2 with
sPHENIX GitHub integration