47 produces<Phase2TrackerRecHit1DCollectionNew>();
62 auto outputRecHits = std::make_unique<Phase2TrackerRecHit1DCollectionNew>();
65 for (
const auto& clusterDetSet : *
clusters) {
66 DetId detId(clusterDetSet.detId());
74 for (
const auto& clusterRef : clusterDetSet) {
89 outputRecHits->shrink_to_fit();
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
edm::ESGetToken< ClusterParameterEstimator< Phase2TrackerCluster1D >, TkPhase2OTCPERecord > const tCPE_
~Phase2TrackerRecHits() override
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
#define DEFINE_FWK_MODULE(type)
virtual LocalValues localParameters(const T &, const GeomDetUnit &) const =0
Phase2TrackerRecHits(const edm::ParameterSet &conf)
edm::EDGetTokenT< Phase2TrackerCluster1DCollectionNew > token_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > const tTrackerGeom_
void produce(edm::StreamID sid, edm::Event &event, const edm::EventSetup &eventSetup) const final