CMS 3D CMS Logo

PFRecoTauDiscriminationByNeutralHadrons.h

Go to the documentation of this file.
00001 #ifndef RecoTauTag_RecoTau_PFRecoTauDiscriminationByNeutralHadrons_H_
00002 #define RecoTauTag_RecoTau_PFRecoTauDiscriminationByNeutralHadrons_H_
00003 
00004 /* class PFRecoTauDiscriminationByNeutralHadrons
00005  * created : Nov 3 2008
00006  * contributors : Simone Gennai (Simone.Gennai@cern.ch)
00007  */
00008 
00009 #include "FWCore/Framework/interface/EDProducer.h"
00010 #include "FWCore/Framework/interface/Event.h"
00011 #include "FWCore/Framework/interface/EventSetup.h"
00012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00013 
00014 #include "DataFormats/TauReco/interface/PFTau.h"
00015 #include "DataFormats/TauReco/interface/PFTauDiscriminator.h"
00016 
00017 using namespace std; 
00018 using namespace edm;
00019 using namespace edm::eventsetup; 
00020 using namespace reco;
00021 
00022 class PFRecoTauDiscriminationByNeutralHadrons : public EDProducer {
00023  public:
00024   explicit PFRecoTauDiscriminationByNeutralHadrons(const ParameterSet& iConfig){   
00025     PFTauProducer_                      = iConfig.getParameter<InputTag>("PFTauProducer");
00026     neutralHadrons_                     = iConfig.getParameter<unsigned int>("NumberOfAllowedNeutralHadronsInSignalCone");   
00027     
00028     produces<PFTauDiscriminator>();
00029   }
00030   ~PFRecoTauDiscriminationByNeutralHadrons(){
00031     //delete ;
00032   } 
00033   virtual void produce(Event&, const EventSetup&);
00034  private:  
00035   InputTag PFTauProducer_;
00036   unsigned int neutralHadrons_;   
00037 };
00038 #endif
00039 

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