CMS 3D CMS Logo

CaloRecHitsProducer.h

Go to the documentation of this file.
00001 #ifndef FastSimulation_CaloRecHitsProducer_H
00002 #define FastSimulation_CaloRecHitsProducer_H
00003 
00004 //  F. Beaudette (LLR). Florian.Beaudette@cern.ch
00005 //  Created 20/07/06 
00006 //  The CaloRecHits producer.
00007 
00008 
00009 #include "FWCore/Framework/interface/EDProducer.h"
00010 
00011 #include <string>
00012 
00013 class HcalRecHitsMaker;
00014 class EcalBarrelRecHitsMaker;
00015 class EcalEndcapRecHitsMaker;
00016 class EcalPreshowerRecHitsMaker;
00017 class RandomEngine;
00018 class CaloGeometryHelper;
00019 class ParameterSet;
00020 class Event;
00021 class EventSetup;
00022 
00023 class CaloRecHitsProducer : public edm::EDProducer
00024 {
00025 
00026  public:
00027 
00028   explicit CaloRecHitsProducer(edm::ParameterSet const & p);
00029   virtual ~CaloRecHitsProducer();
00030   virtual void beginRun(edm::Run & run, const edm::EventSetup & es);
00031   virtual void endJob();
00032   virtual void produce(edm::Event & e, const edm::EventSetup & c);
00033 
00034  private:
00035   bool doDigis_;
00036   bool doMiscalib_;
00037   
00038   HcalRecHitsMaker * HcalRecHitsMaker_;
00039   EcalBarrelRecHitsMaker * EcalBarrelRecHitsMaker_;
00040   EcalEndcapRecHitsMaker * EcalEndcapRecHitsMaker_;
00041   EcalPreshowerRecHitsMaker * EcalPreshowerRecHitsMaker_;
00042   std::string EBrechitCollection_;
00043   std::string EErechitCollection_;
00044   std::string ESrechitCollection_;
00045 
00046    // The random engine
00047   const RandomEngine* random;
00048   
00049   CaloGeometryHelper* myCaloGeometryHelper_ ;
00050 
00051 };
00052 
00053 #endif

Generated on Tue Jun 9 17:35:02 2009 for CMSSW by  doxygen 1.5.4