24 : EcalPreshowerRecHitsMaker_(
NULL),EcalBarrelRecHitsMaker_(
NULL), EcalEndcapRecHitsMaker_(
NULL), HcalRecHitsMaker_(
NULL)
39 if (theOutputRecHitCollections.size()&&theOutputRecHitCollections[
input].size())
40 produces<ESRecHitCollection>(theOutputRecHitCollections[input]);
42 produces<ESRecHitCollection>();
45 std::cout <<
" The digitization of the preshower is not implemented " << std::endl;
54 if (theOutputRecHitCollections.size()&&theOutputRecHitCollections[
input].size())
55 produces<EBRecHitCollection>(theOutputRecHitCollections[input]);
57 produces<EBRecHitCollection>();
59 if (doDigis_) produces<EBDigiCollection>();
67 if (theOutputRecHitCollections.size()&&theOutputRecHitCollections[
input].size())
68 produces<EERecHitCollection>(theOutputRecHitCollections[input]);
70 produces<EERecHitCollection>();
71 if (doDigis_) produces<EEDigiCollection>();
79 if (theOutputRecHitCollections.size()&&theOutputRecHitCollections[
input].size())
80 produces<HBHERecHitCollection>(theOutputRecHitCollections[input]);
82 produces<HBHERecHitCollection>();
84 if (doDigis_) produces<HBHEDigiCollection>();
92 if (theOutputRecHitCollections.size()&&theOutputRecHitCollections[
input].size())
93 produces<HORecHitCollection>(theOutputRecHitCollections[input]);
95 produces<HORecHitCollection>();
97 if (doDigis_) produces<HODigiCollection>();
106 if (theOutputRecHitCollections.size()&&theOutputRecHitCollections[
input].size())
107 produces<HFRecHitCollection>(theOutputRecHitCollections[input]);
109 produces<HFRecHitCollection>();
110 if(doDigis_) produces<HFDigiCollection>();
237 iEvent.
put(digihbhe);
void loadHcalRecHits(edm::Event &iEvent, const HcalTopology &, HBHERecHitCollection &hbheHits, HBHEDigiCollection &hbheDigis, RandomEngineAndDistribution const *)
T getParameter(std::string const &) const
EcalEndcapRecHitsMaker * EcalEndcapRecHitsMaker_
#define DEFINE_FWK_MODULE(type)
virtual void beginRun(const edm::Run &run, const edm::EventSetup &es) override
EcalPreshowerRecHitsMaker * EcalPreshowerRecHitsMaker_
void loadEcalPreshowerRecHits(edm::Event &iEvent, ESRecHitCollection &esRecHits, RandomEngineAndDistribution const *)
static std::string const input
HcalRecHitsMaker * HcalRecHitsMaker_
std::vector< std::string > theOutputRecHitCollections
void loadEcalEndcapRecHits(edm::Event &iEvent, EERecHitCollection &ecalHits, EEDigiCollection &ecalDigis, RandomEngineAndDistribution const *)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< unsigned int > theInputRecHitCollectionTypes
virtual ~CaloRecHitsProducer()
void init(const edm::EventSetup &es, bool dodigis, bool domiscalib)
EcalBarrelRecHitsMaker * EcalBarrelRecHitsMaker_
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
void init(const edm::EventSetup &es)
StreamID streamID() const
CaloRecHitsProducer(edm::ParameterSet const &p)
void loadEcalBarrelRecHits(edm::Event &iEvent, EBRecHitCollection &ecalHits, EBDigiCollection &ecaldigis, RandomEngineAndDistribution const *)
void init(const edm::EventSetup &es, bool dodigis, bool domiscalib)
void init(const edm::EventSetup &es, bool dodigis, bool doMiscalib)