1 |
khahn |
1.1 |
#ifndef ELECTRON_SELECTION_VBTF
|
2 |
|
|
#define ELECTRON_SELECTION_VBTF
|
3 |
|
|
|
4 |
|
|
#include <vector>
|
5 |
|
|
#include <cassert>
|
6 |
|
|
|
7 |
khahn |
1.2 |
#include "Electron.h"
|
8 |
khahn |
1.1 |
#include "ParseArgs.h"
|
9 |
|
|
|
10 |
|
|
using namespace std;
|
11 |
|
|
|
12 |
|
|
#define NCATEGORIES_VBTF 6
|
13 |
|
|
#define ELECTRON_VBTF_95 0
|
14 |
|
|
#define ELECTRON_VBTF_90 1
|
15 |
|
|
#define ELECTRON_VBTF_85 2
|
16 |
|
|
#define ELECTRON_VBTF_80 3
|
17 |
|
|
#define ELECTRON_VBTF_70 4
|
18 |
|
|
#define ELECTRON_VBTF_60 5
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
struct VBTFStruct {
|
22 |
|
|
std::vector<double> cutmisshits_eb;
|
23 |
|
|
std::vector<double> cutconvdcot_eb;
|
24 |
|
|
std::vector<double> cutconvdist_eb;
|
25 |
|
|
std::vector<double> cutdeta_eb;
|
26 |
|
|
std::vector<double> cutdphi_eb;
|
27 |
|
|
std::vector<double> cutsigieie_eb;
|
28 |
|
|
std::vector<double> cuthoe_eb;
|
29 |
|
|
std::vector<double> cutmisshits_ee;
|
30 |
|
|
std::vector<double> cutconvdcot_ee;
|
31 |
|
|
std::vector<double> cutconvdist_ee;
|
32 |
|
|
std::vector<double> cutdeta_ee;
|
33 |
|
|
std::vector<double> cutdphi_ee;
|
34 |
|
|
std::vector<double> cutsigieie_ee;
|
35 |
|
|
std::vector<double> cuthoe_ee;
|
36 |
|
|
};
|
37 |
|
|
|
38 |
khahn |
1.2 |
unsigned failsVBTFSelection( ControlFlags &ctrl, const mithep::Electron * ele, VBTFStruct &cuts, unsigned vbtfeff,
|
39 |
khahn |
1.1 |
string kinematics);
|
40 |
|
|
void initVBTFSelection();
|
41 |
|
|
VBTFStruct getVBTFCuts();
|
42 |
|
|
#endif
|