ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/MuonSelection.h
Revision: 1.16
Committed: Thu Jul 5 13:43:13 2012 UTC (12 years, 10 months ago) by dkralph
Content type: text/plain
Branch: MAIN
Changes since 1.15: +3 -7 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #ifndef MUON_SELECTION
2 #define MUON_SELECTION
3
4 #include "Muon.h"
5 #include "Vertex.h"
6 #include "PFCandidate.h"
7 #include "PFCandidateCol.h"
8 #include "MuonCol.h"
9
10 #include "SelectionStatus.h"
11 #include "ParseArgs.h"
12 #include "Track.h"
13
14 #include "MuonTools.h"
15 #include "MuonQuality.h"
16
17 #include "PileupEnergyDensity.h"
18 #include "Various.h"
19
20 #define MUON_IDMVA_CUT_BIN0 -0.825
21 #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
27 bool muon2012CutBasedIDTight(ControlFlags &ctrl, const mithep::Muon *mu, const mithep::Vertex * vtx, const mithep::Array<mithep::PFCandidate> * pfCandidates,
28 const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity, mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion);
29
30 SelectionStatus muonDummyVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
31 SelectionStatus muonCutBasedVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
32
33 SelectionStatus muonPreSelection( ControlFlags &ctrl,
34 const mithep::Muon * mu,
35 const mithep::Vertex * vtx,
36 const mithep::Array<mithep::PFCandidate> * pfCandidates );
37 SelectionStatus muonReferencePreSelection( ControlFlags &ctrl,
38 const mithep::Muon * mu,
39 const mithep::Vertex * vtx,
40 const mithep::Array<mithep::PFCandidate> * pfCandidates );
41 SelectionStatus muonPreSelectionNoD0DzIP( ControlFlags &ctrl,
42 const mithep::Muon * mu,
43 const mithep::Vertex * vtx,
44 const mithep::Array<mithep::PFCandidate> * pfCandidates );
45
46 SelectionStatus muonIDMVASelection(ControlFlags &ctrl,
47 const mithep::Muon *mu,
48 const mithep::Vertex * vtx );
49 void initMuonIDMVA(void);
50
51 SelectionStatus muonIDPFSelection(ControlFlags &, const mithep::Muon *, const mithep::Vertex *,
52 const mithep::Array<mithep::PFCandidate> * );
53
54 bool trackToPFMuonSelection( const mithep::Track *track, const mithep::MuonCol * muoncol );
55 SelectionStatus PassWwMuonSel(const mithep::Muon *mu, const mithep::Vertex *vtx,
56 const mithep::Array<mithep::PFCandidate> *pfArr
57 );
58 #endif