-
Notifications
You must be signed in to change notification settings - Fork 4
/
eval_lwtnn.C
74 lines (57 loc) · 3.01 KB
/
eval_lwtnn.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#include <eval_lwtnn.h>
#include <mva.h>
std::vector<std::string> v = {"/scratch/lgiannini/HmmPisa/model_for_lwtnn/output_fix_finalepoch.json"} ;
LwtnnWrapper lwtnn = LwtnnWrapper(v);
std::vector<std::string> v18 = {
"/scratch/lgiannini/CMSSW_10_4_0_pre1/src/retrainVBF3/separatebg3/prova_tutto_ok18_QGL_fold3/model_preparation/nn_evt0.json",
"/scratch/lgiannini/CMSSW_10_4_0_pre1/src/retrainVBF3/separatebg3/prova_tutto_ok18_QGL_fold3/model_preparation/nn_evt1.json",
"/scratch/lgiannini/CMSSW_10_4_0_pre1/src/retrainVBF3/separatebg3/prova_tutto_ok18_QGL_fold3/model_preparation/nn_evt2.json",
"/scratch/lgiannini/CMSSW_10_4_0_pre1/src/retrainVBF3/separatebg3/prova_tutto_ok18_QGL_fold3/model_preparation/nn_evt3.json"};
LwtnnWrapper lwtnn18 = LwtnnWrapper(v18);
std::vector<std::string> vall = {
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt0_all.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt1_all.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt2_all.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt3_all.json"
};
// std::vector<std::string> vall = {
// "/scratch/mandorli/Hmumu/allYearsTraining/nn_evt0_focal.json",
// "/scratch/mandorli/Hmumu/allYearsTraining/nn_evt1_focal.json",
// "/scratch/mandorli/Hmumu/allYearsTraining/nn_evt2_focal.json",
// "/scratch/mandorli/Hmumu/allYearsTraining/nn_evt3_focal.json"
// };
LwtnnWrapper lwtnn_all = LwtnnWrapper(vall);
std::vector<std::string> vZ = {
"/scratch/mandorli/Hmumu/allYearsTraining/NNZpeak_evt0.json",
"/scratch/mandorli/Hmumu/allYearsTraining/NNZpeak_evt1.json",
"/scratch/mandorli/Hmumu/allYearsTraining/NNZpeak_evt2.json",
"/scratch/mandorli/Hmumu/allYearsTraining/NNZpeak_evt3.json"
};
LwtnnWrapper lwtnn_Z = LwtnnWrapper(vZ);
std::vector<std::string> vWithZ = {
"/scratch/mandorli/Hmumu/allYearsTraining/nn_withZpeak_evt0.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_withZpeak_evt1.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_withZpeak_evt2.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_withZpeak_evt3.json"
};
LwtnnWrapper lwtnn_withZ = LwtnnWrapper(vWithZ);
std::vector<std::string> vNov = {
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt0_nov.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt1_nov.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt2_nov.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt3_nov.json"
};
LwtnnWrapper lwtnn_nov = LwtnnWrapper(vNov);
std::vector<std::string> vFeb = {
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt0_feb.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt1_feb.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt2_feb.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt3_feb.json"
};
std::vector<std::string> vFeb2 = {
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt0_febNLO20.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt1_febNLO20.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt2_febNLO20.json",
"/scratch/mandorli/Hmumu/allYearsTraining/nn_evt3_febNLO20.json"};
LwtnnWrapper lwtnn_feb2 = LwtnnWrapper(vFeb2);
LwtnnWrapper lwtnn_feb = LwtnnWrapper(vFeb);