ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/HZZCiCElectronSelection.h
Revision: 1.3
Committed: Wed Oct 12 17:25:13 2011 UTC (13 years, 7 months ago) by dkralph
Content type: text/plain
Branch: MAIN
CVS Tags: AN490
Changes since 1.2: +1 -1 lines
Log Message:
add bdt

File Contents

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