Go to the documentation of this file.
87 produces<DetIdCollection>();
118 for (TrackCollection::const_iterator itTrack = tkTracks->begin(); itTrack != tkTracks->end(); ++itTrack) {
119 if (itTrack->pt() >
ptcut_) {
122 if (
info.crossedEcalIds.empty())
125 if (!
info.crossedEcalIds.empty()) {
126 DetId centerId =
info.crossedEcalIds.front();
131 for (std::vector<DetId>::const_iterator
id = ids.begin();
id != ids.end(); ++
id)
void useDefaultPropagator()
use the default propagator
std::vector< DetId > getWindow(const DetId &id, const int &northSouthSize, const int &eastWestSize) const
Get the neighbors of the given cell in a window of given size.
~HighPtTrackEcalDetIdProducer() override
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< reco::TrackCollection > inputCollectionToken_
const CaloTopology * topology(nullptr)
void loadParameters(const edm::ParameterSet &, edm::ConsumesCollector &)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
HighPtTrackEcalDetIdProducer(const edm::ParameterSet &)
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
void beginRun(const edm::Run &, const edm::EventSetup &) override
TrackAssociatorParameters parameters_
edm::EDCollection< DetId > DetIdCollection
void produce(edm::Event &, const edm::EventSetup &) override
T getParameter(std::string const &) const
TrackDetMatchInfo associate(const edm::Event &, const edm::EventSetup &, const FreeTrajectoryState &, const AssociatorParameters &)
const CaloTopology * caloTopology_
interestingDetIdCollection
TrackDetectorAssociator trackAssociator_
std::vector< Track > TrackCollection
collection of Tracks