CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/RecoLocalCalo/CaloRecCandCreator/src/CaloRecHitCandidateProducer.h

Go to the documentation of this file.
00001 #ifndef RecoCandAlgos_CaloRecHitCandidateProducer_h
00002 #define RecoCandAlgos_CaloRecHitCandidateProducer_h
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "DataFormats/Common/interface/Handle.h"
00007 #include "DataFormats/Candidate/interface/CandidateFwd.h"
00008 
00009 class CaloGeometry;
00010 class CaloRecHit;
00011 class HcalTopology;
00012 
00013 class CaloRecHitCandidateProducer : public edm::EDProducer {
00014 public:
00015   CaloRecHitCandidateProducer( const edm::ParameterSet&); 
00016   ~CaloRecHitCandidateProducer() { }
00017   void produce( edm::Event&, const edm::EventSetup& );
00018   double cellTresholdAndWeight (const CaloRecHit&, const HcalTopology&) const;
00019   
00020 private:
00022   edm::InputTag mHBHELabel, mHOLabel, mHFLabel;
00023   std::vector<edm::InputTag> mEcalLabels;
00024   bool mAllowMissingInputs;
00025   bool mUseHO;
00026   double mEBthreshold, mEEthreshold;
00027   double mHBthreshold, mHESthreshold,  mHEDthreshold; 
00028   double mHOthreshold, mHF1threshold, mHF2threshold;
00029   double mEBweight, mEEweight; 
00030   double mHBweight, mHESweight, mHEDweight, mHOweight, mHF1weight, mHF2weight;
00031 
00032 };
00033 
00034 #endif