CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/RecoEcal/EgammaClusterProducers/interface/HybridClusterProducer.h

Go to the documentation of this file.
00001 #ifndef RecoEcal_EgammaClusterProducers_HybridClusterProducer_h_
00002 #define RecoEcal_EgammaClusterProducers_HybridClusterProducer_h_
00003 
00004 #include <memory>
00005 
00006 #include "FWCore/Framework/interface/Frameworkfwd.h"
00007 #include "FWCore/Framework/interface/EDProducer.h"
00008 #include "FWCore/Framework/interface/Event.h"
00009 #include "FWCore/Framework/interface/EventSetup.h"
00010 
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 
00013 #include "RecoEcal/EgammaClusterAlgos/interface/HybridClusterAlgo.h"
00014 #include "RecoEcal/EgammaCoreTools/interface/PositionCalc.h"
00015 
00016 //
00017 
00018 
00019 class HybridClusterProducer : public edm::EDProducer 
00020 {
00021   
00022   public:
00023 
00024       HybridClusterProducer(const edm::ParameterSet& ps);
00025 
00026       ~HybridClusterProducer();
00027 
00028       virtual void produce(edm::Event&, const edm::EventSetup&);
00029 
00030    private:
00031       int nEvt_;         // internal counter of events
00032  
00033       std::string basicclusterCollection_;
00034       std::string superclusterCollection_;
00035       std::string hitproducer_;
00036       std::string hitcollection_;
00037 
00038 
00039       HybridClusterAlgo * hybrid_p; // clustering algorithm
00040       PositionCalc posCalculator_; // position calculation algorithm
00041 
00042 
00043 };
00044 
00045 
00046 #endif
00047 
00048