CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LeptonJetIsolationAngle.h
Go to the documentation of this file.
1 //
2 // $Id: LeptonJetIsolationAngle.h,v 1.3 2008/03/05 14:51:02 fronga Exp $
3 //
4 
5 #ifndef PhysicsTools_PatUtils_LeptonJetIsolationAngle_h
6 #define PhysicsTools_PatUtils_LeptonJetIsolationAngle_h
7 
23 #include "CLHEP/Vector/LorentzVector.h"
24 
29 
30 
31 namespace pat {
32 
33 
35 
36  public:
37 
40 
41  float calculate(const Electron & anElectron, const edm::Handle<edm::View<reco::Track> > & trackHandle, const edm::Event & iEvent);
42  float calculate(const Muon & aMuon, const edm::Handle<edm::View<reco::Track> > & trackHandle, const edm::Event & iEvent);
43 
44  private:
45 
46  float calculate(const CLHEP::HepLorentzVector & aLepton, const edm::Handle<edm::View<reco::Track> > & trackHandle, const edm::Event & iEvent);
47  float spaceAngle(const CLHEP::HepLorentzVector & aLepton, const reco::CaloJet & aJet);
48 
49  private:
50 
52 
53  };
54 
55 
56 }
57 
58 #endif
59 
Jets made from CaloTowers.
Definition: CaloJet.h:30
float spaceAngle(const CLHEP::HepLorentzVector &aLepton, const reco::CaloJet &aJet)
int iEvent
Definition: GenABIO.cc:243
float calculate(const Electron &anElectron, const edm::Handle< edm::View< reco::Track > > &trackHandle, const edm::Event &iEvent)
Calculates a lepton&#39;s jet isolation angle.
Analysis-level electron class.
Definition: Electron.h:46
Analysis-level muon class.
Definition: Muon.h:47
Calculates a lepton&#39;s tracker isolation pt.