Implements PFRecHitCreatorBase.
Definition at line 32 of file PFPSRecHitCreator.h.
46 for (
const auto& erh : *recHitHandle) {
48 auto energy = erh.energy();
52 switch (detid.plane()) {
61 <<
"incorrect preshower plane !! plane number " << detid.plane() << std::endl;
69 <<
"warning detid " << detid.rawId() <<
" not found in geometry" << std::endl;
73 out->emplace_back(thisCell, detid.rawId(), layer,
energy);
74 auto& rh =
out->back();
75 rh.setDepth(detid.plane());
76 rh.setTime(erh.time());
78 bool rcleaned =
false;
84 if (!qtest->test(rh, erh, rcleaned,
hi)) {
References PFRecHitCreatorBase::beginEvent(), DetId::Ecal, EcalPreshower, HCALHighEnergyHPDFilter_cfi::energy, Exception, edm::EventSetup::get(), get, CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), iEvent, keep, eostools::move(), PFLayer::NONE, MillePedeFileConverter_cfg::out, PFLayer::PS1, PFLayer::PS2, PFRecHitCreatorBase::qualityTests_, and recHitToken_.