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

File Contents

# User Rev Content
1 khahn 1.1 #ifndef ELECTRON_SELECTION_CIC
2     #define ELECTRON_SELECTION_CIC
3    
4     #include <vector>
5     #include <cassert>
6    
7     #include "TElectron.hh"
8     #include "ParseArgs.h"
9    
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     unsigned failsCicSelection( ControlFlags &ctrl, const mithep::TElectron * ele, CICStruct &cuts,
41     string kinematics);
42     void initCiCSelection();
43     CICStruct getCiCCuts(TString eleSeleAnality);
44     #endif