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 30 of file PFHcalRecHitCreator.h.
References PFRecHitCreatorBase::beginEvent(), hcalRecHitTable_cff::depth, align::Detector, ALCARECOPPSCalTrackBasedSel_cff::detid, HBHEDarkening_cff::energy, PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::geomToken_, edm::EventSetup::getHandle(), HcalTopology::getMergePositionFlag(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalEndcap, HcalOther, HcalTopology::idFront(), iEvent, runTheMatrix::keep, eostools::move(), MillePedeFileConverter_cfg::out, edm::ESHandle< T >::product(), PFRecHitCreatorBase::qualityTests_, PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::recHitToken_, reco::PFRecHit::setTime(), hcalRecHitTable_cff::time, and PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::topoToken_.
47 for (
const auto& erh : *recHitHandle) {
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)) {
bool getMergePositionFlag() const
std::vector< std::unique_ptr< PFRecHitQTestBase > > qualityTests_
Log< level::Error, false > LogError
SeedingLayerSetsHits::SeedingLayer Layer
T const * product() const
Class Geometry Contains vector for fit parameters (mean, sigma, etc.) obtained from multiple IOVs See...
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
HcalDetId idFront(const HcalDetId &id) const
edm::EDGetTokenT< edm::SortedCollection< Digi > > recHitToken_
void beginEvent(const edm::Event &event, const edm::EventSetup &setup)
void setTime(double time)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly