CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/FastSimulation/CaloRecHitsProducer/interface/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 #include "FWCore/Utilities/interface/InputTag.h"
00011 
00012 #include <string>
00013 
00014 class HcalRecHitsMaker;
00015 class EcalBarrelRecHitsMaker;
00016 class EcalEndcapRecHitsMaker;
00017 class EcalPreshowerRecHitsMaker;
00018 class RandomEngine;
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   EcalPreshowerRecHitsMaker * EcalPreshowerRecHitsMaker_;
00039   EcalBarrelRecHitsMaker * EcalBarrelRecHitsMaker_;
00040   EcalEndcapRecHitsMaker * EcalEndcapRecHitsMaker_;
00041   HcalRecHitsMaker * HcalRecHitsMaker_;
00042 
00043   std::vector<std::string> theOutputRecHitCollections; 
00044   std::vector<unsigned int> theInputRecHitCollectionTypes;
00045 
00046    // The random engine
00047   const RandomEngine* random;
00048   
00049 };
00050 
00051 #endif