CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L2TauNarrowConeIsolationProducer.h
Go to the documentation of this file.
1 /*
2 L2 Tau Trigger Isolation Producer
3 
4 Author: Michail Bachtis
5 University of Wisconsin-Madison
6 e-mail: bachtis@hep.wisc.edu
7 */
8 
9 
10 // system include files
11 #include <memory>
12 
13 // user include files
21 
26 
27 //Calorimeter!!
32 
37 
42 
43 // Math
44 #include "Math/GenVector/VectorUtil.h"
45 #include "Math/GenVector/PxPyPzE4D.h"
46 
47 
48 
49 
50 
51 
53  public:
58 
59  private:
60  virtual void beginJob() ;
61  virtual void produce(edm::Event&, const edm::EventSetup&) override;
62  virtual void endJob() ;
63 
64 
65  //retrieve towers and crystals around the jet
68 
69  edm::EDGetTokenT<reco::CaloJetCollection> l2CaloJets_;//label for the readout Collection
70  edm::EDGetTokenT<EBRecHitCollection> EBRecHits_;//Label for ECAL Barrel Hits
71  edm::EDGetTokenT<EERecHitCollection> EERecHits_;//Label for ECAL EndCAP Hits
73 
74  double associationRadius_; //Association Distance for a tower/crystal
75 
76  //Thresholding
80 
81  //Sub Algorithm Configuration Variables
82 
83  //ECALIsolation
85 
88 
89  //TowerIsolation
91 
94 
95  //ECALClustering
98 
100  {
102  {
103  return v1.pt() > v2.pt();
104  }
105  };
106 
108 
109 };
110 
Jets made from CaloTowers.
Definition: CaloJet.h:29
edm::EDGetTokenT< CaloTowerCollection > CaloTowers_
L2TauNarrowConeIsolationProducer(const edm::ParameterSet &)
math::PtEtaPhiELorentzVectorCollection getHCALHits(const CaloJet &, const edm::Event &)
std::vector< PtEtaPhiELorentzVector > PtEtaPhiELorentzVectorCollection
bool operator()(const math::PtEtaPhiELorentzVector &v1, const math::PtEtaPhiELorentzVector &v2) const
edm::EDGetTokenT< EBRecHitCollection > EBRecHits_
PtEtaPhiELorentzVectorD PtEtaPhiELorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:27
math::PtEtaPhiELorentzVectorCollection getECALHits(const CaloJet &, const edm::Event &, const edm::EventSetup &iSetup)
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< EERecHitCollection > EERecHits_
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
edm::EDGetTokenT< reco::CaloJetCollection > l2CaloJets_