forked from RemKamal/ElectronID
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVariableLimits.hh
85 lines (66 loc) · 3.23 KB
/
VariableLimits.hh
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
#ifndef VARIABLELIMITS_HH
#define VARIABLELIMITS_HH
#include "TString.h"
namespace VarLims{
const int nVarLimits = 9;
struct VariableLimits {
TString name;
float max;
VariableLimits(TString nameIn, float maxIn):
name(nameIn), max(maxIn){};
};
// For the veto working point, do not restrict anything
VariableLimits * limitsNoRestrictions[nVarLimits] = {
new VariableLimits("full5x5_sigmaIetaIeta" ,1e30),
new VariableLimits("dEtaIn" ,1e30),
new VariableLimits("dPhiIn" ,1e30),
new VariableLimits("hOverE" ,1e30),
new VariableLimits("relIsoWithEA" ,1e30),
new VariableLimits("ooEmooP" ,1e30),
new VariableLimits("d0" ,1e30),
new VariableLimits("dz" ,1e30),
new VariableLimits("expectedMissingInnerHits",1e30)
};
// For Loose, Medium, Tight working points:
// restrict d0 (at a very loose value)
// restrict missing hits, to Run 1-motivated value
// (to make sure ID discriminates well against
// hard photons faking electrons, which may not be
// plentiful in the sample on which we are optimizing).
// restrict H/E, dPhiIn: all are very loose common sense
// restrictions.
VariableLimits * limitsWPAnyV1[nVarLimits] = {
new VariableLimits("full5x5_sigmaIetaIeta" ,1e30),
new VariableLimits("dEtaIn" ,0.03), // Endcap 99.9%
new VariableLimits("dPhiIn" ,0.27), // Endcap 99.9%
new VariableLimits("hOverE" ,0.29), // Endcap 99.9%
new VariableLimits("relIsoWithEA" ,1e30),
new VariableLimits("ooEmooP" ,1e30),
new VariableLimits("d0" ,0.40), // Endcap 99.9%
new VariableLimits("dz" ,1e30),
new VariableLimits("expectedMissingInnerHits",1e30) //NO Endcap 99.9%
};
VariableLimits * limitsWP4barrel[nVarLimits] = {
new VariableLimits("full5x5_sigmaIetaIeta" ,0.011),// Loose trig
new VariableLimits("dEtaIn" ,0.03), // Endcap 99.9%
new VariableLimits("dPhiIn" ,0.27), // Endcap 99.9%
new VariableLimits("hOverE" ,0.06), // Loose trig
new VariableLimits("relIsoWithEA" ,1e30),
new VariableLimits("ooEmooP" ,0.012),// Loose trig
new VariableLimits("d0" ,0.40), // Endcap 99.9%
new VariableLimits("dz" ,1e30),
new VariableLimits("expectedMissingInnerHits",1e30) //NO
};
VariableLimits * limitsWP4endcap [nVarLimits] = {
new VariableLimits("full5x5_sigmaIetaIeta" ,0.032), // Loose trig
new VariableLimits("dEtaIn" ,0.03), // Endcap 99.9%
new VariableLimits("dPhiIn" ,0.27), // Endcap 99.9%
new VariableLimits("hOverE" ,0.31), // Loose trig
new VariableLimits("relIsoWithEA" ,1e30),
new VariableLimits("ooEmooP" ,0.01), // Loose trig
new VariableLimits("d0" ,0.40), // Endcap 99.9%
new VariableLimits("dz" ,1e30),
new VariableLimits("expectedMissingInnerHits",1e30) //NO
};
}
#endif