CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L2TauModularIsolationProducer.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 // system include files
10 #include <memory>
11 #include <string>
12 // user include files
24 
25 //Calorimeter!!
30 
35 
41 
42 //PF
45 
46 
47 // Math
48 #include "Math/GenVector/VectorUtil.h"
49 #include "Math/GenVector/PxPyPzE4D.h"
50 
51 
52 
54  public:
57 
58  private:
59  virtual void beginJob() ;
60  virtual void produce(edm::Event&, const edm::EventSetup&) override;
61  virtual void endJob();
62 
63  //retrieve towers / crystals / clusters around the jet
67 
68  edm::InputTag l2CaloJets_;//label for the readout Collection
69  edm::InputTag EBRecHits_;//Label for ECAL Barrel Hits
70  edm::InputTag EERecHits_;//Label for ECAL EndCAP Hits
71  edm::InputTag caloTowers_;//Label for ECAL EndCAP Hits
72  edm::InputTag pfClustersECAL_;//Label for ECAL PF Clusters
73  edm::InputTag pfClustersHCAL_;//Label for HCAL PF Clusters
74 
75  //Algorithm Configuration Variables
80 
82 
89 
90  //Thresholding
94 
95 
97  {
99  {
100  return v1.pt() > v2.pt();
101  }
102  };
103 
105 
106 
107 
108 
109 };
110 
Jets made from CaloTowers.
Definition: CaloJet.h:29
virtual void produce(edm::Event &, const edm::EventSetup &) override
math::PtEtaPhiELorentzVectorCollection getPFClusters(const reco::CaloJet &, const edm::Event &, const edm::InputTag &)
math::PtEtaPhiELorentzVectorCollection getECALHits(const reco::CaloJet &, const edm::Event &, const edm::EventSetup &iSetup)
std::vector< PtEtaPhiELorentzVector > PtEtaPhiELorentzVectorCollection
math::PtEtaPhiELorentzVectorCollection getHCALHits(const reco::CaloJet &, const edm::Event &)
PtEtaPhiELorentzVectorD PtEtaPhiELorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:27
L2TauModularIsolationProducer(const edm::ParameterSet &)
bool operator()(const math::PtEtaPhiELorentzVector &v1, const math::PtEtaPhiELorentzVector &v2) const