Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 49 of file InterestingTrackEcalDetIdProducer.cc.
Definition at line 116 of file InterestingTrackEcalDetIdProducer.cc.
References TrackDetectorAssociator::associate(), caloTopology_, DetId::Ecal, TrackDetMatchInfo::EcalRecHits, spr::find(), TrackDetMatchInfo::findMaxDeposition(), edm::Event::getByToken(), TrackDetectorAssociator::getFreeTrajectoryState(), CaloTopology::getSubdetectorTopology(), CaloSubdetectorTopology::getWindow(), photons_cff::ids, info(), interestingDetIdCollectionProducer_cfi::interestingDetIdCollection, minTrackPt_, eostools::move(), edm::Event::put(), DetId::rawId(), DetId::subdetId(), ecaldqm::topology(), trackAssociator_, trackAssociatorParameters_, trackCollectionToken_, and l1t::tracks.
127 for(reco::TrackCollection::const_iterator tkItr = tracks->begin(); tkItr != tracks->end(); ++tkItr)
138 if(centerId.
rawId()==0)
143 const std::vector<DetId>&
ids = topology->
getWindow(centerId, 5, 5);
144 for(std::vector<DetId>::const_iterator idItr = ids.begin(); idItr != ids.end(); ++idItr)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
CaloTopology const * topology(0)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static FreeTrajectoryState getFreeTrajectoryState(const edm::EventSetup &, const reco::Track &)
get FreeTrajectoryState from different track representations
TrackDetectorAssociator trackAssociator_
interestingDetIdCollection
constexpr uint32_t rawId() const
get the raw id
DetId findMaxDeposition(EnergyType)
Find detector elements with highest energy deposition.
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
TrackAssociatorParameters trackAssociatorParameters_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
const CaloTopology * caloTopology_
virtual std::vector< DetId > getWindow(const DetId &id, const int &northSouthSize, const int &eastWestSize) const
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
TrackDetMatchInfo associate(const edm::Event &, const edm::EventSetup &, const FreeTrajectoryState &, const AssociatorParameters &)