template<typename Digi, typename Geometry, PFLayer::Layer Layer, int Detector>
class PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >
Definition at line 22 of file PFHcalRecHitCreator.h.
template<typename Digi , typename Geometry , PFLayer::Layer Layer, int Detector>
Implements PFRecHitCreatorBase.
Definition at line 28 of file PFHcalRecHitCreator.h.
43 const Geometry* hcalGeo = dynamic_cast<const Geometry*>(gTmp);
47 for (
const auto& erh : *recHitHandle) {
56 detid = theHcalTopology->
idFront(detid);
59 auto energy = erh.energy();
60 auto time = erh.time();
63 auto thisCell = hcalGeo->getGeometry(detid);
68 <<
"warning detid " << detid.
rawId() <<
" not found in geometry" << std::endl;
76 bool rcleaned =
false;
81 if (!qtest->test(rh, erh, rcleaned)) {
References PFRecHitCreatorBase::beginEvent(), LEDCalibrationChannels::depth, HcalDetId::depth(), align::Detector, HCALHighEnergyHPDFilter_cfi::energy, edm::EventSetup::get(), get, HcalTopology::getMergePositionFlag(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalEndcap, HcalOther, HcalTopology::idFront(), iEvent, keep, eostools::move(), MillePedeFileConverter_cfg::out, edm::ESHandle< T >::product(), PFRecHitCreatorBase::qualityTests_, DetId::rawId(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::recHitToken_, reco::PFRecHit::setTime(), DetId::subdetId(), and protons_cff::time.