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
MakeEdepNtuple.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MakeEdepNtuple.C
1
void
MakeEdepNtuple
(
const
char
*
infile
,
const
char
*
outfile
,
const
int
nevnt=0)
2
{
3
gSystem->Load(
"libfun4all.so"
);
4
gSystem->Load(
"libg4dst.so"
);
5
gSystem->Load(
"libantisigma"
);
6
Fun4AllServer
*se =
Fun4AllServer::instance
();
7
EdepNtuple
*tt =
new
EdepNtuple
(
"JADEs Input"
,outfile);
8
se->
registerSubsystem
(tt);
9
Fun4AllInputManager
*
in
=
new
Fun4AllDstInputManager
(
"DSTin"
);
10
in->
fileopen
(infile);
11
se->
registerInputManager
(in);
12
// Fun4AllOutputManager *out = new Fun4AllDstOutputManager("DSTout",outfile);
13
// out->AddNode(outnode);
14
// se->registerOutputManager(out);
15
16
se->
run
(nevnt);
17
se->
End
();
18
delete
se;
19
}
analysis
blob
master
AntiSigma
macros
HistoBaseFiles
MakeEdepNtuple.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:47
using
1.8.2 with
sPHENIX GitHub integration