ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/MetLeptonTools.h
Revision: 1.3
Committed: Sat Jan 12 11:49:47 2013 UTC (12 years, 3 months ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_029c, Mit_029b, Mit_029a, HEAD
Changes since 1.2: +2 -0 lines
Log Message:
Updated MVA Met and Jet ID

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/PhotonCol.h"
12 #include "MitAna/DataTree/interface/Met.h"
13 #include "MitAna/DataTree/interface/PFMet.h"
14 #include "MitAna/DataTree/interface/PFMetCol.h"
15 #include "MitAna/DataTree/interface/PFJet.h"
16 #include "MitAna/DataTree/interface/PFJetCol.h"
17 #include "MitAna/DataTree/interface/PFCandidateCol.h"
18 #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
19 #include "MitPhysics/Utils/interface/TauIsoMVA.h"
20 #include "MitCommon/MathTools/interface/MathUtils.h"
21
22 #include <TVector3.h>
23 #include <TLorentzVector.h>
24
25 namespace mithep {
26 class MetLeptonTools {
27 public:
28 MetLeptonTools();
29 virtual ~MetLeptonTools() {}
30 TauIsoMVA *fTauIsoMVA;
31 bool looseTauId(const PFTau *iTau,const PileupEnergyDensityCol* iPUEnergyDensity);
32 static bool looseEleId(const Electron *iElectron,const PileupEnergyDensityCol* iPUEnergyDensity,
33 const PFCandidateCol *iCands,const Vertex *iPV,const VertexCol *iVertices);
34 static bool looseMuId(const Muon *iMu,const PFCandidateCol *iCands,const Vertex *iPV,const VertexCol *iVertices);
35 static bool loosePhotonId(const Photon *iPhoton);
36 static double vis(const PFTau *iTau);
37 static Float_t PFIsolation(const ChargedParticle *iLep,const PFCandidateCol *iCands);
38 static Float_t isoPV(const ChargedParticle *iLep,const PFCandidateCol *iCands,
39 const Vertex *iPV,const VertexCol *iVertices,bool iEle=false);
40 };
41 }
42 #endif