ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/MuonSelection.h
Revision: 1.18
Committed: Thu Jul 5 19:34:29 2012 UTC (12 years, 10 months ago) by anlevin
Content type: text/plain
Branch: MAIN
Changes since 1.17: +2 -0 lines
Log Message:
added a separate lepton id function

File Contents

# User Rev Content
1 khahn 1.1 #ifndef MUON_SELECTION
2     #define MUON_SELECTION
3    
4 khahn 1.3 #include "Muon.h"
5     #include "Vertex.h"
6     #include "PFCandidate.h"
7     #include "PFCandidateCol.h"
8 anlevin 1.11 #include "MuonCol.h"
9 khahn 1.1
10     #include "SelectionStatus.h"
11     #include "ParseArgs.h"
12 anlevin 1.10 #include "Track.h"
13 khahn 1.1
14 dkralph 1.14 #include "MuonTools.h"
15     #include "MuonQuality.h"
16 anlevin 1.13
17     #include "PileupEnergyDensity.h"
18 anlevin 1.17
19 anlevin 1.13
20 khahn 1.3 #define MUON_IDMVA_CUT_BIN0 -0.825
21 khahn 1.4 #define MUON_IDMVA_CUT_BIN1 -0.725
22     #define MUON_IDMVA_CUT_BIN2 -0.895
23     #define MUON_IDMVA_CUT_BIN3 -0.595
24     #define MUON_IDMVA_CUT_BIN4 -0.865
25     #define MUON_IDMVA_CUT_BIN5 -0.979
26 khahn 1.3
27 anlevin 1.17 bool muon2012CutBasedIDTight(const mithep::Muon *mu, const mithep::Vertex * vtx, const mithep::Array<mithep::PFCandidate> * pfCandidates, const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity);
28    
29 anlevin 1.18 bool muonPOG2012CutBasedIDTight(const mithep::Muon *mu, const mithep::Vertex * vtx, const mithep::Array<mithep::PFCandidate> * pfCandidates, const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity);
30    
31 anlevin 1.13
32 anlevin 1.9 SelectionStatus muonDummyVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
33     SelectionStatus muonCutBasedVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
34 khahn 1.5
35 khahn 1.12 SelectionStatus muonPreSelection( ControlFlags &ctrl,
36     const mithep::Muon * mu,
37     const mithep::Vertex * vtx,
38     const mithep::Array<mithep::PFCandidate> * pfCandidates );
39     SelectionStatus muonReferencePreSelection( ControlFlags &ctrl,
40     const mithep::Muon * mu,
41     const mithep::Vertex * vtx,
42     const mithep::Array<mithep::PFCandidate> * pfCandidates );
43     SelectionStatus muonPreSelectionNoD0DzIP( ControlFlags &ctrl,
44     const mithep::Muon * mu,
45     const mithep::Vertex * vtx,
46     const mithep::Array<mithep::PFCandidate> * pfCandidates );
47 khahn 1.3
48 khahn 1.12 SelectionStatus muonIDMVASelection(ControlFlags &ctrl,
49     const mithep::Muon *mu,
50     const mithep::Vertex * vtx );
51 khahn 1.3 void initMuonIDMVA(void);
52 khahn 1.1
53 anlevin 1.9 SelectionStatus muonIDPFSelection(ControlFlags &, const mithep::Muon *, const mithep::Vertex *,
54 khahn 1.6 const mithep::Array<mithep::PFCandidate> * );
55    
56 anlevin 1.10 bool trackToPFMuonSelection( const mithep::Track *track, const mithep::MuonCol * muoncol );
57 dkralph 1.14 SelectionStatus PassWwMuonSel(const mithep::Muon *mu, const mithep::Vertex *vtx,
58     const mithep::Array<mithep::PFCandidate> *pfArr
59     );
60 anlevin 1.17 SelectionStatus muonDenominatorSelection( ControlFlags &ctrl,
61     const mithep::Muon * mu,
62     const mithep::Vertex * vtx,
63     const mithep::Array<mithep::PFCandidate> * pfCandidates ) ;
64 khahn 1.1 #endif