21 eeHitCollection_(ps.getParameter<
std::
string>(
"HGCEEhitCollection")),
22 hefHitCollection_(ps.getParameter<
std::
string>(
"HGCHEFhitCollection")),
23 hebHitCollection_(ps.getParameter<
std::
string>(
"HGCHEBhitCollection")),
24 hfnoseHitCollection_(ps.getParameter<
std::
string>(
"HGCHFNosehitCollection")),
27 produces<HGCeeUncalibratedRecHitCollection>(eeHitCollection_);
28 produces<HGChefUncalibratedRecHitCollection>(hefHitCollection_);
29 produces<HGChebUncalibratedRecHitCollection>(hebHitCollection_);
30 produces<HGChfnoseUncalibratedRecHitCollection>(hfnoseHitCollection_);
39 auto eeUncalibRechits = std::make_unique<HGCeeUncalibratedRecHitCollection>();
40 auto hefUncalibRechits = std::make_unique<HGChefUncalibratedRecHitCollection>();
41 auto hebUncalibRechits = std::make_unique<HGChebUncalibratedRecHitCollection>();
42 auto hfnoseUncalibRechits = std::make_unique<HGChfnoseUncalibratedRecHitCollection>();
46 if (pHGCEEDigis.isValid())
51 if (pHGCHEFDigis.isValid())
56 if (pHGCHEBDigis.isValid())
61 if (pHGCHFNoseDigis.isValid())
68 if (pHGCHFNoseDigis.isValid())
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const edm::EDGetTokenT< HGCalDigiCollection > eeDigiCollection_
const edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > hfnose_geometry_token_
const edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > ee_geometry_token_
const std::string hefHitCollection_
const std::string eeHitCollection_
#define DEFINE_FWK_MODULE(type)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
const edm::EDGetTokenT< HGCalDigiCollection > hebDigiCollection_
const edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > heb_geometry_token_
~HGCalUncalibRecHitProducer() override
const edm::EDGetTokenT< HGCalDigiCollection > hefDigiCollection_
std::unique_ptr< HGCalUncalibRecHitWorkerBaseClass > worker_
HGCalUncalibRecHitProducer(const edm::ParameterSet &ps)
const std::string hebHitCollection_
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
void produce(edm::Event &evt, const edm::EventSetup &es) override
const std::string hfnoseHitCollection_
const edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > hef_geometry_token_
const edm::EDGetTokenT< HGCalDigiCollection > hfnoseDigiCollection_