00001 /* 00002 L2 Tau trigger Isolation Selector 00003 00004 Author: Michail Bachtis 00005 University of Wisconsin-Madison 00006 e-mail: bachtis@hep.wisc.edu 00007 */ 00008 00009 00010 // system include files 00011 #include <memory> 00012 00013 // user include files 00014 #include "FWCore/Framework/interface/Frameworkfwd.h" 00015 #include "FWCore/Framework/interface/EDProducer.h" 00016 #include "FWCore/Framework/interface/Event.h" 00017 #include "FWCore/Framework/interface/MakerMacros.h" 00018 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00019 00020 00021 class L2TauIsolationSelector : public edm::EDProducer { 00022 public: 00023 explicit L2TauIsolationSelector(const edm::ParameterSet&); 00024 ~L2TauIsolationSelector(); 00025 00026 private: 00027 virtual void beginJob() ; 00028 virtual void produce(edm::Event&, const edm::EventSetup&); 00029 virtual void endJob() ; 00030 00031 edm::InputTag associationInput_; 00032 00033 //Create vars for Cuts 00034 double ECALIsolEt_; 00035 double TowerIsolEt_; 00036 double Cluster_etaRMS_; 00037 double Cluster_phiRMS_; 00038 double Cluster_drRMS_; 00039 int Cluster_nClusters_; 00040 double JetEt_; 00041 double SeedTowerEt_; 00042 00043 };