CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoLocalCalo/HcalRecProducers/src/HBHEIsolatedNoiseReflagger.h

Go to the documentation of this file.
00001 #ifndef __HBHE_ISOLATED_NOISE_REFLAGGER_H__
00002 #define __HBHE_ISOLATED_NOISE_REFLAGGER_H__
00003 
00004 /*
00005 Description: "Reflags" HB/HE hits based on their ECAL, HCAL, and tracking isolation.
00006 
00007 Original Author: John Paul Chou (Brown University)
00008                  Thursday, September 2, 2010
00009 */
00010 
00011 #include "FWCore/Framework/interface/Frameworkfwd.h"
00012 #include "FWCore/Framework/interface/EDProducer.h"
00013 #include "FWCore/Framework/interface/MakerMacros.h"
00014 
00015 #include "RecoLocalCalo/HcalRecAlgos/interface/HBHEIsolatedNoiseAlgos.h"
00016 
00017 
00018 class HBHEIsolatedNoiseReflagger : public edm::EDProducer {
00019  public:
00020   explicit HBHEIsolatedNoiseReflagger(const edm::ParameterSet&);
00021   ~HBHEIsolatedNoiseReflagger();
00022   
00023   
00024  private:
00025   virtual void produce(edm::Event&, const edm::EventSetup&);
00026 
00027   void DumpHBHEHitMap(std::vector<HBHEHitMap>& i) const;
00028 
00029   // parameters
00030   edm::InputTag hbheLabel_;
00031   edm::InputTag ebLabel_, eeLabel_;
00032   edm::InputTag trackExtrapolationLabel_;
00033 
00034   double LooseHcalIsol_;
00035   double LooseEcalIsol_;
00036   double LooseTrackIsol_;
00037   double TightHcalIsol_;
00038   double TightEcalIsol_;
00039   double TightTrackIsol_;
00040   
00041   double LooseRBXEne1_, LooseRBXEne2_;
00042   int LooseRBXHits1_, LooseRBXHits2_;
00043   double TightRBXEne1_, TightRBXEne2_;
00044   int TightRBXHits1_, TightRBXHits2_;
00045   double LooseHPDEne1_, LooseHPDEne2_;
00046   int LooseHPDHits1_, LooseHPDHits2_;
00047   double TightHPDEne1_, TightHPDEne2_;
00048   int TightHPDHits1_, TightHPDHits2_;
00049   double LooseDiHitEne_;
00050   double TightDiHitEne_;
00051   double LooseMonoHitEne_;
00052   double TightMonoHitEne_;
00053   
00054   bool debug_;
00055 
00056   // object validator
00057   ObjectValidator objvalidator_;
00058 
00059 };
00060 
00061 #endif