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_PSTOF.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4_PSTOF.C
1
// $Id$
2
11
void
PSTOFInit
()
12
{}
13
14
double
PSTOF
(
PHG4Reco
* g4Reco,
double
radius,
const
int
absorberactive = 0)
15
{
16
gSystem->Load(
"libg4detectors.so"
);
17
gSystem->Load(
"libg4testbench.so"
);
18
19
20
PHG4PSTOFSubsystem
*pstof =
new
PHG4PSTOFSubsystem
(
"PSTOF"
);
21
pstof->
SuperDetector
(
"PSTOF"
);
22
// pstof->SetActive(-1,1); // set all modules active
23
g4Reco->
registerSubsystem
( pstof );
24
25
// returns the outer radius to check for overlaps with next detector
26
return
90.;
27
}
analysis
blob
master
EICAnalysis
macros
leptoquarks_fun4all
G4_PSTOF.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:49
using
1.8.2 with
sPHENIX GitHub integration