1 |
< |
#ifndef ELECTRON_SELECTION_BDT |
2 |
< |
#define ELECTRON_SELECTION_BDT |
1 |
> |
#ifndef ELECTRON_SELECTION |
2 |
> |
#define ELECTRON_SELECTION |
3 |
|
|
4 |
|
#include <vector> |
5 |
|
#include <cassert> |
28 |
|
#define ELE_IDMVA_CUT_BIN4 0.467 |
29 |
|
#define ELE_IDMVA_CUT_BIN5 0.795 |
30 |
|
|
31 |
+ |
#define ELE_REFERENCE_IDMVA_CUT_BIN0 0.470 // eta<0.8, pt<10 |
32 |
+ |
#define ELE_REFERENCE_IDMVA_CUT_BIN1 0.004 // 0.8<eta<1.479, pt<10 |
33 |
+ |
#define ELE_REFERENCE_IDMVA_CUT_BIN2 0.295 // eta>1.478, pt<10 |
34 |
+ |
#define ELE_REFERENCE_IDMVA_CUT_BIN3 0.500 // eta<0.8, pt>10 |
35 |
+ |
#define ELE_REFERENCE_IDMVA_CUT_BIN4 0.120 // 0.8<eta<1.479, pt>10 |
36 |
+ |
#define ELE_REFERENCE_IDMVA_CUT_BIN5 0.600 // eta>1.478, pt>10 |
37 |
+ |
|
38 |
+ |
#define ELE_LOOSE_IDMVA_CUT_BIN0 0.369 |
39 |
+ |
#define ELE_LOOSE_IDMVA_CUT_BIN1 -0.025 |
40 |
+ |
#define ELE_LOOSE_IDMVA_CUT_BIN2 0.531 |
41 |
+ |
#define ELE_LOOSE_IDMVA_CUT_BIN3 0.735 |
42 |
+ |
#define ELE_LOOSE_IDMVA_CUT_BIN4 0.467 |
43 |
+ |
#define ELE_LOOSE_IDMVA_CUT_BIN5 0.795 |
44 |
+ |
|
45 |
+ |
#define ELE_TIGHT_IDMVA_CUT_BIN0 0.093 |
46 |
+ |
#define ELE_TIGHT_IDMVA_CUT_BIN1 0.451 |
47 |
+ |
#define ELE_TIGHT_IDMVA_CUT_BIN2 0.595 |
48 |
+ |
#define ELE_TIGHT_IDMVA_CUT_BIN3 0.881 |
49 |
+ |
#define ELE_TIGHT_IDMVA_CUT_BIN4 0.731 |
50 |
+ |
#define ELE_TIGHT_IDMVA_CUT_BIN5 0.891 |
51 |
+ |
|
52 |
|
using namespace std; |
32 |
– |
|
33 |
– |
SelectionStatus electronPreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex &); |
34 |
– |
SelectionStatus electronBDTSelection( ControlFlags &, const mithep::Electron * ); |
35 |
– |
void initBDTSelection(); |
36 |
– |
Bool_t isEleFO(ControlFlags &, const mithep::Electron *, const mithep::Vertex &vtx); |
37 |
– |
Bool_t isLooseEleFO(const mithep::Electron *, const mithep::Array<mithep::PFCandidate> *, const mithep::Vertex &vtx); |
53 |
|
|
54 |
+ |
SelectionStatus electronDummyVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *); |
55 |
+ |
SelectionStatus electronCutBasedVeto(ControlFlags &, const mithep::Electron*, const mithep::Vertex *); |
56 |
+ |
|
57 |
+ |
SelectionStatus electronPreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *); |
58 |
+ |
SelectionStatus electronReferencePreSelection(ControlFlags &, const mithep::Electron *, const mithep::Vertex *); |
59 |
|
|
60 |
|
SelectionStatus electronIDMVASelection(ControlFlags &ctrl, |
61 |
|
const mithep::Electron *ele, |
62 |
< |
const mithep::Vertex & vtx ); |
62 |
> |
const mithep::Vertex * vtx ); |
63 |
> |
SelectionStatus electronReferenceIDMVASelection(ControlFlags &ctrl, |
64 |
> |
const mithep::Electron *ele, |
65 |
> |
const mithep::Vertex * vtx ); |
66 |
> |
SelectionStatus electronReferenceIDMVASelectionV1(ControlFlags &ctrl, |
67 |
> |
const mithep::Electron *ele, |
68 |
> |
const mithep::Vertex * vtx ); |
69 |
|
void initElectronIDMVA(); |
70 |
|
|
71 |
|
#endif |