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_Lepto.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4_Lepto.C
1
int
G4_Lepto
(
string
filename
)
2
{
3
cout <<
"G4 Lepto Loaded!!!"
<< endl;
4
5
cout <<
"**************************************"
<< endl;
6
Fun4AllServer
*se =
Fun4AllServer::instance
();
7
8
Leptoquarks
*truthana =
new
Leptoquarks
(filename+
"_TruthEvent.root"
);
9
// se->registerSubsystem( truthana );
10
11
LeptoquarksReco
*mcana_r05 =
new
LeptoquarksReco
(filename+
"_r05.root"
);
12
LeptoquarksReco
*mcana_r10 =
new
LeptoquarksReco
(filename+
"_r10.root"
);
13
14
LeptoquarksReco
*mcana_r05truth =
new
LeptoquarksReco
(filename+
"_r05truth.root"
);
15
LeptoquarksReco
*mcana_r10truth =
new
LeptoquarksReco
(filename+
"_r10truth.root"
);
16
17
mcana_r05->
set_reco_jet_collection
(
"AntiKt_Tower_r05"
);
18
mcana_r05->
set_save_towers
(
true
);
19
mcana_r05->
set_save_tracks
(
true
);
20
21
mcana_r10->
set_reco_jet_collection
(
"AntiKt_Tower_r10"
);
22
mcana_r10->
set_save_towers
(
true
);
23
mcana_r10->
set_save_tracks
(
true
);
24
25
mcana_r05truth->
set_reco_jet_collection
(
"AntiKt_Truth_r05"
);
26
mcana_r05truth->
set_save_towers
(
true
);
27
mcana_r05truth->
set_save_tracks
(
true
);
28
29
mcana_r10truth->
set_reco_jet_collection
(
"AntiKt_Truth_r10"
);
30
mcana_r10truth->
set_save_towers
(
true
);
31
mcana_r10truth->
set_save_tracks
(
true
);
32
33
se->
registerSubsystem
( mcana_r05 );
34
// se->registerSubsystem( mcana_r10 );
35
// se->registerSubsystem( mcana_r05truth );
36
// se->registerSubsystem( mcana_r10truth );
37
cout <<
"**************************************"
<< endl;
38
39
return
0;
40
}
analysis
blob
master
EICAnalysis
macros
leptoquarks_fun4all
G4_Lepto.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:49
using
1.8.2 with
sPHENIX GitHub integration