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 31 of file PFHcalRecHitCreator.h.
References PFRecHitCreatorBase::beginEvent(), egammaForCoreTracking_cff::depth, HcalDetId::depth(), align::Detector, randomXiThetaGunProducer_cfi::energy, edm::EventSetup::get(), edm::Event::getByToken(), HcalTopology::getMergePositionFlag(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalEndcap, HcalOther, HcalTopology::idFront(), keep, eostools::move(), edm::ESHandle< T >::product(), PFRecHitCreatorBase::qualityTests_, DetId::rawId(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::recHitToken_, reco::PFRecHit::setTime(), DetId::subdetId(), and ntuplemaker::time.
50 for(
const auto& erh : *recHitHandle ) {
59 detid = theHcalTopology->
idFront(detid);
62 auto energy = erh.energy();
63 auto time = erh.time();
67 auto thisCell= hcalGeo->getGeometry(detid);
72 <<
"warning detid "<<detid.
rawId()
73 <<
" not found in geometry"<<std::endl;
84 bool rcleaned =
false;
89 if (!qtest->test(rh,erh,rcleaned)) {
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
std::vector< std::unique_ptr< PFRecHitQTestBase > > qualityTests_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
constexpr uint32_t rawId() const
get the raw id
bool getMergePositionFlag() const
SeedingLayerSetsHits::SeedingLayer Layer
int depth() const
get the tower depth
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...
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
edm::EDGetTokenT< edm::SortedCollection< Digi > > recHitToken_
void beginEvent(const edm::Event &event, const edm::EventSetup &setup)
void setTime(double time)
HcalDetId idFront(const HcalDetId &id) const
T const * product() const