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 |
anlevin |
1.13 |
#include "MitPhysics/Utils/interface/MuonTools.h"
|
15 |
|
|
|
16 |
|
|
#include "PileupEnergyDensity.h"
|
17 |
|
|
|
18 |
|
|
|
19 |
khahn |
1.3 |
#define MUON_IDMVA_CUT_BIN0 -0.825
|
20 |
khahn |
1.4 |
#define MUON_IDMVA_CUT_BIN1 -0.725
|
21 |
|
|
#define MUON_IDMVA_CUT_BIN2 -0.895
|
22 |
|
|
#define MUON_IDMVA_CUT_BIN3 -0.595
|
23 |
|
|
#define MUON_IDMVA_CUT_BIN4 -0.865
|
24 |
|
|
#define MUON_IDMVA_CUT_BIN5 -0.979
|
25 |
khahn |
1.3 |
|
26 |
anlevin |
1.13 |
bool muon2012CutBasedIDTight(const mithep::Muon *mu, const mithep::Vertex * vtx, const mithep::Array<mithep::PFCandidate> * pfCandidates, const mithep::Array<mithep::PileupEnergyDensity> * puEnergyDensity);
|
27 |
|
|
|
28 |
|
|
|
29 |
anlevin |
1.9 |
SelectionStatus muonDummyVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
|
30 |
|
|
SelectionStatus muonCutBasedVeto(ControlFlags &, const mithep::Muon *, const mithep::Vertex *);
|
31 |
khahn |
1.5 |
|
32 |
khahn |
1.12 |
SelectionStatus muonPreSelection( ControlFlags &ctrl,
|
33 |
|
|
const mithep::Muon * mu,
|
34 |
|
|
const mithep::Vertex * vtx,
|
35 |
|
|
const mithep::Array<mithep::PFCandidate> * pfCandidates );
|
36 |
|
|
SelectionStatus muonReferencePreSelection( ControlFlags &ctrl,
|
37 |
|
|
const mithep::Muon * mu,
|
38 |
|
|
const mithep::Vertex * vtx,
|
39 |
|
|
const mithep::Array<mithep::PFCandidate> * pfCandidates );
|
40 |
|
|
SelectionStatus muonPreSelectionNoD0DzIP( ControlFlags &ctrl,
|
41 |
|
|
const mithep::Muon * mu,
|
42 |
|
|
const mithep::Vertex * vtx,
|
43 |
|
|
const mithep::Array<mithep::PFCandidate> * pfCandidates );
|
44 |
khahn |
1.3 |
|
45 |
khahn |
1.12 |
SelectionStatus muonIDMVASelection(ControlFlags &ctrl,
|
46 |
|
|
const mithep::Muon *mu,
|
47 |
|
|
const mithep::Vertex * vtx );
|
48 |
khahn |
1.3 |
void initMuonIDMVA(void);
|
49 |
khahn |
1.1 |
|
50 |
anlevin |
1.9 |
SelectionStatus muonIDPFSelection(ControlFlags &, const mithep::Muon *, const mithep::Vertex *,
|
51 |
khahn |
1.6 |
const mithep::Array<mithep::PFCandidate> * );
|
52 |
|
|
|
53 |
anlevin |
1.10 |
bool trackToPFMuonSelection( const mithep::Track *track, const mithep::MuonCol * muoncol );
|
54 |
|
|
|
55 |
khahn |
1.1 |
#endif
|