CMS 3D CMS Logo

CaloRecoTauDiscriminationByIsolation.h

Go to the documentation of this file.
00001 #ifndef RecoTauTag_RecoTau_CaloRecoTauDiscriminationByIsolation_H_
00002 #define RecoTauTag_RecoTau_CaloRecoTauDiscriminationByIsolation_H_
00003 
00004 /* class CaloRecoTauDiscriminationByIsolation
00005  * created : Jul 23 2007,
00006  * revised : Sep 5 2007,
00007  * contributors : Ludovic Houchu (Ludovic.Houchu@cern.ch ; IPHC, Strasbourg), Christian Veelken (veelken@fnal.gov ; UC Davis)
00008  */
00009 
00010 #include "FWCore/Framework/interface/EDProducer.h"
00011 #include "FWCore/Framework/interface/Event.h"
00012 #include "FWCore/Framework/interface/EventSetup.h"
00013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00014 
00015 #include "DataFormats/TauReco/interface/CaloTau.h"
00016 #include "DataFormats/TauReco/interface/CaloTauDiscriminator.h"
00017 
00018 #include "RecoTauTag/TauTagTools/interface/CaloTauElementsOperators.h"
00019 
00020 using namespace std; 
00021 using namespace edm;
00022 using namespace edm::eventsetup; 
00023 using namespace reco;
00024 
00025 class CaloRecoTauDiscriminationByIsolation : public EDProducer {
00026  public:
00027   explicit CaloRecoTauDiscriminationByIsolation(const ParameterSet& iConfig){   
00028     CaloTauProducer_                       = iConfig.getParameter<string>("CaloTauProducer");
00029     ApplyDiscriminationByTrackerIsolation_ = iConfig.getParameter<bool>("ApplyDiscriminationByTrackerIsolation");
00030     TrackerIsolAnnulus_Tracksmaxn_         = iConfig.getParameter<int>("TrackerIsolAnnulus_Tracksmaxn");   
00031     
00032     produces<CaloTauDiscriminator>();
00033   }
00034   ~CaloRecoTauDiscriminationByIsolation(){} 
00035   virtual void produce(Event&, const EventSetup&);
00036  private:  
00037   string CaloTauProducer_;
00038   bool ApplyDiscriminationByTrackerIsolation_;
00039   int TrackerIsolAnnulus_Tracksmaxn_;   
00040 };
00041 #endif

Generated on Tue Jun 9 17:45:01 2009 for CMSSW by  doxygen 1.5.4