CMS 3D CMS Logo

LeptonJetIsolationAngle.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatUtils_LeptonJetIsolationAngle_h
5 #define PhysicsTools_PatUtils_LeptonJetIsolationAngle_h
6 
21 #include "CLHEP/Vector/LorentzVector.h"
22 
27 
28 namespace pat {
29 
31  public:
34 
35  float calculate(const Electron& anElectron,
36  const edm::Handle<edm::View<reco::Track> >& trackHandle,
37  const edm::Event& iEvent);
38  float calculate(const Muon& aMuon,
39  const edm::Handle<edm::View<reco::Track> >& trackHandle,
40  const edm::Event& iEvent);
41 
42  private:
43  float calculate(const CLHEP::HepLorentzVector& aLepton,
44  const edm::Handle<edm::View<reco::Track> >& trackHandle,
45  const edm::Event& iEvent);
46  float spaceAngle(const CLHEP::HepLorentzVector& aLepton, const reco::CaloJet& aJet);
47 
48  private:
52  };
53 
54 } // namespace pat
55 
56 #endif
Jets made from CaloTowers.
Definition: CaloJet.h:27
float spaceAngle(const CLHEP::HepLorentzVector &aLepton, const reco::CaloJet &aJet)
Definition: HeavyIon.h:7
int iEvent
Definition: GenABIO.cc:224
Definition: Muon.py:1
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
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.
edm::EDGetTokenT< std::vector< reco::GsfElectron > > electronsToken_
LeptonJetIsolationAngle(edm::ConsumesCollector &&iC)
Calculates a lepton&#39;s tracker isolation pt.