Go to the documentation of this file.
77 : minTrackPt_(iConfig.getParameter<double>(
"MinTrackPt")),
78 caloTopologyToken_(esConsumes())
86 produces<DetIdCollection>();
106 for (reco::TrackCollection::const_iterator tkItr =
tracks->begin(); tkItr !=
tracks->end(); ++tkItr) {
118 if (centerId.
rawId() == 0)
124 for (std::vector<DetId>::const_iterator idItr = ids.begin(); idItr != ids.end(); ++idItr) {
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
InterestingTrackEcalDetIdProducer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
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.
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
#define DEFINE_FWK_MODULE(type)
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)
static FreeTrajectoryState getFreeTrajectoryState(const MagneticField *, const reco::Track &)
get FreeTrajectoryState from different track representations
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
edm::ParameterSet trackAssociatorPS_
TrackDetectorAssociator trackAssociator_
bool getData(T &iHolder) const
constexpr uint32_t rawId() const
get the raw id
void produce(edm::Event &, const edm::EventSetup &) override
TrackAssociatorParameters trackAssociatorParameters_
T getParameter(std::string const &) const
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bFieldToken
TrackDetMatchInfo associate(const edm::Event &, const edm::EventSetup &, const FreeTrajectoryState &, const AssociatorParameters &)
interestingDetIdCollection