ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/interface/MuonSelection.h
(Generate patch)

Comparing UserCode/MitHzz4l/LeptonSelection/interface/MuonSelection.h (file contents):
Revision 1.2 by anlevin, Wed Feb 29 10:09:39 2012 UTC vs.
Revision 1.15 by dkralph, Thu Jun 21 20:50:25 2012 UTC

# Line 1 | Line 1
1   #ifndef MUON_SELECTION
2   #define MUON_SELECTION
3  
4 < #include "TMuon.hh"
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 < SelectionStatus muonPreSelection( ControlFlags &ctrl, const mithep::TMuon * mu );
15 < SelectionStatus passMuonSelectionZZ( ControlFlags &ctrl, const mithep::TMuon * mu );
11 < SelectionStatus passSoftMuonSelection( ControlFlags &ctrl, const mithep::TMuon * mu );
12 < SelectionStatus passMuonSelection( ControlFlags &ctrl, const mithep::TMuon * mu ); // kevin's WW selection
13 < SelectionStatus passMuonSelectionBackDoor( ControlFlags &ctrl, const mithep::TMuon * mu ); // Z4l backdoor selection
14 < SelectionStatus noPreSelection( ControlFlags &ctrl, const mithep::TMuon * mu ); // Z4l backdoor preselection
15 < bool isMuFO( const mithep::TMuon * mu ); // hacked in from MuonDenominator.h
14 > #include "MuonTools.h"
15 > #include "MuonQuality.h"
16  
17 + #include "PileupEnergyDensity.h"
18 +
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(const mithep::Muon *mu, const mithep::Vertex * vtx, const mithep::Array<mithep::PFCandidate> * pfCandidates, const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity);
28 +
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 + SelectionStatus muonDenominatorSelection( ControlFlags &ctrl,  
59 +                                          const mithep::Muon * mu,
60 +                                          const mithep::Vertex * vtx,
61 +                                          const mithep::Array<mithep::PFCandidate> * pfCandidates ) ;
62   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines