forked from mflechl/ProductionFromNano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
JecUncEnum.h
94 lines (87 loc) · 2.89 KB
/
JecUncEnum.h
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// Define all needed JEC uncertainty sources here //
////////////////////////////////////////////////////////////////////////////////
enum class JecUncertEnum {
AbsoluteStat = 0,
AbsoluteScale,
AbsoluteFlavMap,
AbsoluteMPFBias,
Fragmentation,
SinglePionECAL,
SinglePionHCAL,
FlavorQCD,
TimePtEta,
RelativeJEREC1,
RelativeJEREC2,
RelativeJERHF,
RelativePtBB,
RelativePtEC1,
RelativePtEC2,
RelativePtHF,
RelativeBal,
// RelativeSample, // does not exist in utils/jec_uncert/Summer16_23Sep2016V4_MC_UncertaintySources_AK4PFchs.txt
RelativeFSR,
RelativeStatFSR,
RelativeStatEC,
RelativeStatHF,
PileUpDataMC,
PileUpPtRef,
PileUpPtBB,
PileUpPtEC1,
PileUpPtEC2,
PileUpPtHF,
Total,
NONE
};
const vector<string> JecUncertNames =
{
"AbsoluteStat",
"AbsoluteScale",
"AbsoluteFlavMap",
"AbsoluteMPFBias",
"Fragmentation",
"SinglePionECAL",
"SinglePionHCAL",
"FlavorQCD",
"TimePtEta",
"RelativeJEREC1",
"RelativeJEREC2",
"RelativeJERHF",
"RelativePtBB",
"RelativePtEC1",
"RelativePtEC2",
"RelativePtHF",
"RelativeBal",
// "RelativeSample",
"RelativeFSR",
"RelativeStatFSR",
"RelativeStatEC",
"RelativeStatHF",
"PileUpDataMC",
"PileUpPtRef",
"PileUpPtBB",
"PileUpPtEC1",
"PileUpPtEC2",
"PileUpPtHF",
"Total",
""
};
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
const map< string, std::vector<JecUncertEnum> > JecAfterSplitting = {
{ "Total", {JecUncertEnum::Total} },
// {"CMS_scale_j_eta0to5_13TeV", {JecUncertEnum::SinglePionECAL, JecUncertEnum::SinglePionHCAL, JecUncertEnum::AbsoluteFlavMap,
// JecUncertEnum::AbsoluteMPFBias, JecUncertEnum::AbsoluteScale, JecUncertEnum::AbsoluteStat,
// JecUncertEnum::Fragmentation, JecUncertEnum::FlavorQCD, JecUncertEnum::TimePtEta,
// JecUncertEnum::PileUpDataMC, JecUncertEnum::RelativeFSR, JecUncertEnum::RelativeStatFSR,
// JecUncertEnum::PileUpPtRef }
// },
// {"CMS_scale_j_eta0to3_13TeV", {JecUncertEnum::PileUpPtEC1, JecUncertEnum::PileUpPtEC2, JecUncertEnum::PileUpPtBB,
// JecUncertEnum::RelativeJEREC1, JecUncertEnum::RelativeJEREC2, JecUncertEnum::RelativePtEC1,
// JecUncertEnum::RelativePtEC2, JecUncertEnum::RelativeStatEC, JecUncertEnum::RelativePtBB}
// },
// {"CMS_scale_j_eta3to5_13TeV",{JecUncertEnum::RelativeStatHF, JecUncertEnum::RelativePtHF, JecUncertEnum::PileUpPtHF, JecUncertEnum::RelativeJERHF} },
// {"CMS_scale_j_RelativeBal_13TeV", {JecUncertEnum::RelativeBal} },
// {"CMS_scale_j_RelativeSample_13TeV", {JecUncertEnum::RelativeSample} },
};