1 |
khahn |
1.1 |
#ifndef ELECTRON_SELECTION
|
2 |
|
|
#define ELECTRON_SELECTION
|
3 |
|
|
|
4 |
|
|
#include <vector>
|
5 |
|
|
|
6 |
|
|
#include "TElectron.hh"
|
7 |
|
|
|
8 |
|
|
using namespace std;
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
#define N_CATEGORIES 9
|
12 |
|
|
|
13 |
|
|
#define ELECTRON_BREM_EB 0
|
14 |
|
|
#define ELECTRON_LOWBREM_EB 1
|
15 |
|
|
#define ELECTRON_BADTRACK_EB 2
|
16 |
|
|
#define ELECTRON_BREM_EE 3
|
17 |
|
|
#define ELECTRON_LOWBREM_EE 4
|
18 |
|
|
#define ELECTRON_BADTRACK_EE 5
|
19 |
|
|
#define ELECTRON_CRACK_EB 6
|
20 |
|
|
#define ELECTRON_CRACK_EE 7
|
21 |
|
|
#define ELECTRON_PURETRACKER 8
|
22 |
|
|
|
23 |
|
|
struct CICStruct {
|
24 |
|
|
std::vector<double> cutdcotdist;
|
25 |
|
|
std::vector<double> cutdetain;
|
26 |
|
|
std::vector<double> cutdetainl;
|
27 |
|
|
std::vector<double> cutdphiin;
|
28 |
|
|
std::vector<double> cutdphiinl;
|
29 |
|
|
std::vector<double> cuteseedopcor;
|
30 |
|
|
std::vector<double> cutfmishits;
|
31 |
|
|
std::vector<double> cuthoe;
|
32 |
|
|
std::vector<double> cuthoel;
|
33 |
|
|
std::vector<double> cutsee;
|
34 |
|
|
std::vector<double> cutseel;
|
35 |
|
|
};
|
36 |
|
|
|
37 |
|
|
unsigned cicCategory(const mithep::TElectron *ele);
|
38 |
|
|
unsigned failsCicSelection( const mithep::TElectron * ele, CICStruct &cuts );
|
39 |
|
|
void initCiCSelection();
|
40 |
|
|
CICStruct getTightCuts();
|
41 |
|
|
#endif
|