ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/MetLeptonTools.h
Revision: 1.2
Committed: Tue Sep 25 15:39:15 2012 UTC (12 years, 7 months ago) by pharris
Content type: text/plain
Branch: MAIN
Changes since 1.1: +4 -2 lines
Log Message:
Updated MVA Met tool

File Contents

# Content
1 #ifndef MITPHYSICS_UTILS_METLEPTONTOOLS_H
2 #define MITPHYSICS_UTILS_METLEPTONTOOLS_H
3
4 #include <TMatrixD.h>
5 #include "MitAna/DataTree/interface/PFJetFwd.h"
6 #include "MitAna/DataTree/interface/VertexFwd.h"
7 #include "MitAna/DataTree/interface/TrackFwd.h"
8 #include "MitAna/DataTree/interface/MuonCol.h"
9 #include "MitAna/DataTree/interface/PFTauCol.h"
10 #include "MitAna/DataTree/interface/ElectronCol.h"
11 #include "MitAna/DataTree/interface/Met.h"
12 #include "MitAna/DataTree/interface/PFMet.h"
13 #include "MitAna/DataTree/interface/PFMetCol.h"
14 #include "MitAna/DataTree/interface/PFJet.h"
15 #include "MitAna/DataTree/interface/PFJetCol.h"
16 #include "MitAna/DataTree/interface/PFCandidateCol.h"
17 #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
18 #include "MitPhysics/Utils/interface/TauIsoMVA.h"
19 #include "MitCommon/MathTools/interface/MathUtils.h"
20
21 #include <TVector3.h>
22 #include <TLorentzVector.h>
23
24 namespace mithep {
25 class MetLeptonTools {
26 public:
27 MetLeptonTools();
28 virtual ~MetLeptonTools() {}
29 TauIsoMVA *fTauIsoMVA;
30 bool looseTauId(const PFTau *iTau,const PileupEnergyDensityCol* iPUEnergyDensity);
31 static bool looseEleId(const Electron *iElectron,const PileupEnergyDensityCol* iPUEnergyDensity,
32 const PFCandidateCol *iCands,const Vertex *iPV,const VertexCol *iVertices);
33 static bool looseMuId(const Muon *iMu,const PFCandidateCol *iCands,const Vertex *iPV,const VertexCol *iVertices);
34 static double vis(const PFTau *iTau);
35 static Float_t PFIsolation(const ChargedParticle *iLep,const PFCandidateCol *iCands);
36 static Float_t isoPV(const ChargedParticle *iLep,const PFCandidateCol *iCands,
37 const Vertex *iPV,const VertexCol *iVertices,bool iEle=false);
38 };
39 }
40 #endif