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
run.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file run.C
1
#include <
fun4all/SubsysReco.h
>
2
#include <
fun4all/Fun4AllServer.h
>
3
#include <
fun4all/Fun4AllInputManager.h
>
4
#include <
fun4all/Fun4AllDstInputManager.h
>
5
6
#include </gpfs/mnt/gpfs02/sphenix/user/lebedev/mdc/analysis/EventMix/ana_calo/install/include/sphanalysis_calo/sPHAnalysis_calo.h>
7
8
R__LOAD_LIBRARY(libfun4all.so)
9
R__LOAD_LIBRARY(libsphanalysis_calo.so)
10
11
void
run
()
12
{
13
Fun4AllServer
*se =
Fun4AllServer::instance
();
14
sPHAnalysis_calo
*ana =
new
sPHAnalysis_calo
(
"sPHAnalysis_calo"
,
"test.root"
);
15
se->
registerSubsystem
(ana);
16
17
Fun4AllInputManager
*
in
=
new
Fun4AllDstInputManager
(
"in"
);
18
se->
registerInputManager
(in);
19
//in->AddListFile("upsilons1.txt");
20
in->
AddListFile
(
"singleupsilons1.txt"
);
21
//in->AddFile("/sphenix/sim/sim01/sphnxpro/MDC1/embed/embedupsilonsDST_sHijing_0_20fm_50kHz_bkg_0_20fm-0000000006-00690.root");
22
23
se->
run
();
24
se->
End
();
25
}
26
analysis
blob
master
EventMix
ana_calo
work
run.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:49
using
1.8.2 with
sPHENIX GitHub integration