00001 00009 // 00010 // Original Author: Vladimir Litvine 00011 00012 00013 // system include files 00014 #include <memory> 00015 00016 // user include files 00017 #include "FWCore/Framework/interface/Frameworkfwd.h" 00018 #include "FWCore/Framework/interface/EDProducer.h" 00019 00020 #include "FWCore/Framework/interface/Event.h" 00021 #include "FWCore/Framework/interface/MakerMacros.h" 00022 00023 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00024 #include "DataFormats/EcalRecHit/interface/EcalRecHit.h" 00025 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" 00026 00027 //#include "TrackingTools/TrackAssociator/interface/TimerStack.h" 00028 #include "Utilities/Timing/interface/TimerStack.h" 00029 00030 // 00031 // class declaration 00032 // 00033 00034 class AlCaPi0BasicClusterRecHitsProducer : public edm::EDProducer { 00035 public: 00036 explicit AlCaPi0BasicClusterRecHitsProducer(const edm::ParameterSet&); 00037 ~AlCaPi0BasicClusterRecHitsProducer(); 00038 00039 00040 virtual void produce(edm::Event &, const edm::EventSetup&); 00041 private: 00042 // ----------member data --------------------------- 00043 00044 std::string ecalHitsProducer_; 00045 std::string barrelHits_; 00046 std::string pi0BarrelHits_; 00047 std::string islandBCProd_; 00048 std::string islandBCColl_; 00049 00050 int gammaCandEtaSize_; 00051 int gammaCandPhiSize_; 00052 00053 double selePtGammaOne_; 00054 double selePtGammaTwo_; 00055 double selePtPi0_; 00056 double seleMinvMaxPi0_; 00057 double seleMinvMinPi0_; 00058 00059 std::map<DetId, EcalRecHit> *recHitsEB_map; 00060 00061 };