ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/VBTFElectronSelection.h
Revision: 1.1
Committed: Mon Feb 13 09:35:31 2012 UTC (13 years, 3 months ago) by khahn
Content type: text/plain
Branch: MAIN
CVS Tags: synched
Log Message:
*** empty log message ***

File Contents

# Content
1 #ifndef ELECTRON_SELECTION_VBTF
2 #define ELECTRON_SELECTION_VBTF
3
4 #include <vector>
5 #include <cassert>
6
7 #include "TElectron.hh"
8 #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 unsigned failsVBTFSelection( ControlFlags &ctrl, const mithep::TElectron * ele, VBTFStruct &cuts, unsigned vbtfeff,
39 string kinematics);
40 void initVBTFSelection();
41 VBTFStruct getVBTFCuts();
42 #endif