77 : minTrackPt_(iConfig.getParameter<double>(
"MinTrackPt")),
86 produces<DetIdCollection>();
106 for (reco::TrackCollection::const_iterator tkItr =
tracks->begin(); tkItr !=
tracks->end(); ++tkItr) {
118 if (centerId.
rawId() == 0)
123 const std::vector<DetId>& ids = topology->
getWindow(centerId, 5, 5);
124 for (std::vector<DetId>::const_iterator idItr = ids.begin(); idItr != ids.end(); ++idItr) {
T getParameter(std::string const &) const
edm::ParameterSet trackAssociatorPS_
InterestingTrackEcalDetIdProducer(const edm::ParameterSet &)
TrackDetectorAssociator trackAssociator_
interestingDetIdCollection
void useDefaultPropagator()
use the default propagator
void loadParameters(const edm::ParameterSet &, edm::ConsumesCollector &)
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
TrackAssociatorParameters trackAssociatorParameters_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bFieldToken
void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
bool getData(T &iHolder) const
virtual std::vector< DetId > getWindow(const DetId &id, const int &northSouthSize, const int &eastWestSize) const
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
auto const & tracks
cannot be loose
constexpr uint32_t rawId() const
get the raw id
static FreeTrajectoryState getFreeTrajectoryState(const MagneticField *, const reco::Track &)
get FreeTrajectoryState from different track representations
TrackDetMatchInfo associate(const edm::Event &, const edm::EventSetup &, const FreeTrajectoryState &, const AssociatorParameters &)