ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/HZZLikelihoodElectronSelection.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: compiled, synced_FSR_2, synced_FSR, synched2, synched, HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 khahn 1.1 #ifndef ELECTRON_SELECTION_LIKE
2     #define ELECTRON_SELECTION_LIKE
3    
4     #include <vector>
5     #include <cassert>
6    
7     #include "TElectron.hh"
8     #include "TString.h"
9     #include "ParseArgs.h"
10    
11     using namespace std;
12    
13     #define N_ELE_LIK_CATEGORIES 8
14    
15     #define ELE_LIK_HIPT_EB_NOBREM 0
16     #define ELE_LIK_HIPT_EB_BREM 1
17     #define ELE_LIK_HIPT_EE_NOBREM 2
18     #define ELE_LIK_HIPT_EE_BREM 3
19     #define ELE_LIK_LOPT_EB_NOBREM 4
20     #define ELE_LIK_LOPT_EB_BREM 5
21     #define ELE_LIK_LOPT_EE_NOBREM 6
22     #define ELE_LIK_LOPT_EE_BREM 7
23    
24     struct LikStruct {
25     vector<double> cutlik;
26     };
27    
28     unsigned failsLikelihoodSelection( const mithep::TElectron *ele, LikStruct &likcuts,
29     string kinematics);
30    
31     unsigned likCategory( const mithep::TElectron *ele);
32    
33     void initLikSelection();
34     LikStruct getLikCuts(TString eleSeleScheme);
35     #endif