ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/MuonSelection.h
Revision: 1.22
Committed: Wed Jul 18 12:35:15 2012 UTC (12 years, 10 months ago) by anlevin
Content type: text/plain
Branch: MAIN
Changes since 1.21: +1 -0 lines
Log Message:
added electron energy stuff and miscellaneous other stuff

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 //#include "Various.h"
17
18 #include "PileupEnergyDensity.h"
19 #include "Various.h"
20
21 #define MUON_IDMVA_CUT_BIN0 -0.825
22 #define MUON_IDMVA_CUT_BIN1 -0.725
23 #define MUON_IDMVA_CUT_BIN2 -0.895
24 #define MUON_IDMVA_CUT_BIN3 -0.595
25 #define MUON_IDMVA_CUT_BIN4 -0.865
26 #define MUON_IDMVA_CUT_BIN5 -0.979
27
28 bool muon2012CutBasedIDTightVersionWithOldIsoThatWorksOn2011(ControlFlags &ctrl, const mithep::Muon *mu, const mithep::Vertex * vtx, const mithep::Array<mithep::PFCandidate> * pfCandidates,
29 const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity, mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion);
30
31 bool muonPOG2012CutBasedIDTight(const mithep::Muon *mu, const mithep::Vertex * vtx, const mithep::Array<mithep::PFCandidate> * pfCandidates, const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity);
32
33 SelectionStatus muonDummyVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
34 SelectionStatus muonCutBasedVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
35
36 SelectionStatus muonPreSelection( ControlFlags &ctrl,
37 const mithep::Muon * mu,
38 const mithep::Vertex * vtx,
39 const mithep::Array<mithep::PFCandidate> * pfCandidates );
40 SelectionStatus muonReferencePreSelection( ControlFlags &ctrl,
41 const mithep::Muon * mu,
42 const mithep::Vertex * vtx,
43 const mithep::Array<mithep::PFCandidate> * pfCandidates );
44 SelectionStatus muonPreSelectionNoD0DzIP( ControlFlags &ctrl,
45 const mithep::Muon * mu,
46 const mithep::Vertex * vtx,
47 const mithep::Array<mithep::PFCandidate> * pfCandidates );
48 SelectionStatus muonPreSelectionNoD0IP( ControlFlags &ctrl,
49 const mithep::Muon * mu,
50 const mithep::Vertex * vtx,
51 const mithep::Array<mithep::PFCandidate> * pfCandidates );
52
53 SelectionStatus muonIDMVASelection(ControlFlags &ctrl,
54 const mithep::Muon *mu,
55 const mithep::Vertex * vtx );
56 void initMuonIDMVA(void);
57
58 SelectionStatus muonIDPFSelection(ControlFlags &, const mithep::Muon *, const mithep::Vertex *,
59 const mithep::Array<mithep::PFCandidate> * );
60
61 bool trackToPFMuonSelection( const mithep::Track *track, const mithep::MuonCol * muoncol );
62 SelectionStatus PassWwMuonSel(const mithep::Muon *mu, const mithep::Vertex *vtx,
63 const mithep::Array<mithep::PFCandidate> *pfArr
64 );
65 #endif