1 #ifndef MACRO_FUN4ALLJETANA_C
2 #define MACRO_FUN4ALLJETANA_C
20 #include <fastjetmedianbkg/JetRhoMedian.h>
21 #include <fastjetmedianbkg/PrintTowers.h>
22 R__LOAD_LIBRARY(libfun4all.so)
23 R__LOAD_LIBRARY(libg4centrality.so)
24 R__LOAD_LIBRARY(libg4jets.so)
25 R__LOAD_LIBRARY(libjetbase.so)
26 R__LOAD_LIBRARY(libjetbackground.so)
27 R__LOAD_LIBRARY(libjetrhomedian.so)
28 R__LOAD_LIBRARY(libjetbackground.so)
33 , const
float jet_R = 0.4
34 , const
string& out_name = "
test.
root"
35 , const
float min_lead_truth_pt = 30
36 , const
string& list_calo_cluster=""
37 , const
string& list_truth_jet=""
38 , const
string& list_bbc=""
39 , const
string& list_global=""
40 , const
string& list_truth_g4hit=""
44 gSystem->Load(
"libjetrhomedian");
45 gSystem->Load(
"libg4dst");
59 cout <<
" Fatal: missing bbc input file. Exiting." << endl;
73 std::string sub1_jet_name = Form(
"AntiKt_Tower_r0%i_Sub1", ((
int)(jet_R*10)));
74 std::string truth_jet_name = Form(
"AntiKt_Truth_r0%i", ((
int)(jet_R*10)));
84 if (list_truth_jet!=
"") {
89 cout <<
" Fatal: missing truth jet list file. Exiting." << endl;
93 if (list_calo_cluster!=
"") {
98 cout <<
" Fatal: missing calo cluster list file. Exiting." << endl;
103 if (list_global!=
"") {
108 cout <<
" Fatal: missing global dst list file. Exiting." << endl;
112 if (list_truth_g4hit!=
"") {
117 cout <<
" Fatal: missing truth g4hit list file. Exiting." << endl;
125 cout <<
" Done in Fun4All_JetRhoMedian.C " << endl;